-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
49 lines (43 loc) · 1.21 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
from setuptools import setup
from subprocess import call
import os
import sys
if sys.version_info.major != 3:
raise Exception("Sorry this package only works with python3.")
setup(name='pyparts',
version='0.5',
description="Python electronic parts tool",
long_description_markdown_filename='README.md',
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Development Status :: 4 - Beta',
'License :: OSI Approved',
'Operating System :: Unix',
],
keywords='download tv show',
author='Bernard `Guyzmo` Pratz',
author_email='[email protected]',
url='https://github.com/guyzmo/pyparts',
license='GPLv3',
packages=['pyparts'],
zip_safe=False,
setup_requires=['setuptools-markdown'],
install_requires=[
'pyparts',
'pyoctopart',
'docopt',
'setuptools',
],
entry_points="""
# -*- Entry points: -*-
[console_scripts]
pyparts = pyparts.parts:main
""",
)
if "install" in sys.argv:
print("""
Python parts commandline utility installed!
To start using it, call:
pyparts help
""")