Passed
Pull Request — master (#69)
by
unknown
01:09
created

setup.py (1 issue)

1
"""
2
Setup script
3
4
Usage :
5
    python setup.py build
6
    python setup.py install
7
8
For repository admin:
9
    python setup.py publish
10
11
For testing:
12
    test.sh
13
"""
14
import sys
15
from setuptools import setup, find_packages
16
17
# 'setup.py publish' shortcut.
18
if sys.argv[-1] == 'publish':
19
    # see https://twine.readthedocs.io/en/latest/
20
    os.system('%s %s sdist bdist_wheel' % (sys.executable, sys.argv[0]))
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable os does not seem to be defined.
Loading history...
21
    os.system('twine upload dist/*')
22
    sys.exit()
23
24
setup(
25
    # see setup.cfg
26
    # some variables are defined here for retro compat with setuptools >= 33
27
    package_dir = {'': 'src'},
28
    packages=find_packages(where=r'./src'),
29
    long_description_content_type = 'text/markdown'
30
)
31