1 | #!/usr/bin/env python |
||
2 | |||
3 | """Setup script for GitMan.""" |
||
4 | |||
5 | import setuptools |
||
6 | |||
7 | from gitman import __project__, __version__, CLI, PLUGIN, DESCRIPTION |
||
8 | |||
9 | try: |
||
10 | README = open("README.rst").read() |
||
11 | CHANGELOG = open("CHANGELOG.rst").read() |
||
12 | except IOError: |
||
0 ignored issues
–
show
Comprehensibility
Best Practice
introduced
by
![]() |
|||
13 | LONG_DESCRIPTION = "<placeholder>" |
||
14 | else: |
||
15 | LONG_DESCRIPTION = README + '\n' + CHANGELOG |
||
16 | |||
17 | setuptools.setup( |
||
18 | name=__project__, |
||
0 ignored issues
–
show
Comprehensibility
Best Practice
introduced
by
|
|||
19 | version=__version__, |
||
0 ignored issues
–
show
Comprehensibility
Best Practice
introduced
by
|
|||
20 | |||
21 | description=DESCRIPTION, |
||
0 ignored issues
–
show
Comprehensibility
Best Practice
introduced
by
|
|||
22 | url='http://git-dependency-manager.info', |
||
23 | author='Jace Browning', |
||
24 | author_email='[email protected]', |
||
25 | |||
26 | packages=setuptools.find_packages(), |
||
27 | |||
28 | entry_points={'console_scripts': [ |
||
29 | CLI + ' = gitman.cli:main', |
||
0 ignored issues
–
show
Comprehensibility
Best Practice
introduced
by
|
|||
30 | 'git-' + PLUGIN + ' = gitman.plugin:main', |
||
0 ignored issues
–
show
Comprehensibility
Best Practice
introduced
by
|
|||
31 | # Legacy entry points: |
||
32 | 'gdm = gitman.cli:main', |
||
33 | ]}, |
||
34 | |||
35 | long_description=LONG_DESCRIPTION, |
||
36 | license='MIT', |
||
37 | classifiers=[ |
||
38 | 'Development Status :: 4 - Beta', |
||
39 | 'Environment :: Console', |
||
40 | 'Intended Audience :: Developers', |
||
41 | 'License :: OSI Approved :: MIT License', |
||
42 | 'Natural Language :: English', |
||
43 | 'Operating System :: MacOS', |
||
44 | 'Operating System :: POSIX', |
||
45 | 'Programming Language :: Python', |
||
46 | 'Programming Language :: Python :: 3', |
||
47 | 'Programming Language :: Python :: 3.4', |
||
48 | 'Programming Language :: Python :: 3.5', |
||
49 | 'Topic :: Software Development', |
||
50 | 'Topic :: Software Development :: Build Tools', |
||
51 | 'Topic :: Software Development :: Version Control', |
||
52 | 'Topic :: System :: Software Distribution', |
||
53 | ], |
||
54 | |||
55 | install_requires=open('requirements.txt').readlines(), |
||
56 | ) |
||
57 |