|
| 1 | +import os |
1 | 2 | import sys
|
2 | 3 | from setuptools import find_packages
|
3 | 4 | from setuptools import setup
|
4 | 5 |
|
| 6 | +version_file = os.path.join('atlassian', 'VERSION') |
5 | 7 |
|
6 | 8 | assert sys.version_info >= (3, 2), 'Python 3.2+ required.'
|
7 | 9 |
|
|
10 | 12 | description='Python Atlassian REST API Wrapper',
|
11 | 13 | long_description='Python Atlassian REST API Wrapper',
|
12 | 14 | license='Apache License 2.0',
|
13 |
| - version='0.14.0', |
| 15 | + version=open(version_file, 'r').read().strip(), |
14 | 16 | download_url='https://github.com/MattAgile/atlassian-python-api',
|
15 | 17 |
|
16 | 18 | author='Matt Harasymczuk',
|
17 | 19 | author_email='code@mattagile.com',
|
18 | 20 | url='http://mattagile.com/',
|
19 | 21 |
|
20 | 22 | packages=find_packages(),
|
21 |
| - package_data={'': ['LICENSE', 'README.rst'], 'atlassian': ['*.py']}, |
22 | 23 | package_dir={'atlassian': 'atlassian'},
|
23 | 24 | include_package_data=True,
|
24 | 25 |
|
25 | 26 | zip_safe=False,
|
26 |
| - install_requires=['requests==2.7.0'], |
| 27 | + install_requires=['requests>=2.7.0'], |
27 | 28 | platforms='Platform Independent',
|
28 | 29 |
|
29 | 30 | classifiers=[
|
|
38 | 39 | 'Operating System :: MacOS :: MacOS X',
|
39 | 40 | 'Operating System :: Microsoft :: Windows',
|
40 | 41 | 'Programming Language :: Python',
|
41 |
| - 'Programming Language :: Python :: 3', |
42 |
| - 'Programming Language :: Python :: 3.0', |
43 |
| - 'Programming Language :: Python :: 3.1', |
44 | 42 | 'Programming Language :: Python :: 3.2',
|
45 | 43 | 'Programming Language :: Python :: 3.3',
|
46 | 44 | 'Programming Language :: Python :: 3.4',
|
| 45 | + 'Programming Language :: Python :: 3.5', |
| 46 | + 'Programming Language :: Python :: 3.6', |
47 | 47 | 'Topic :: Internet',
|
48 | 48 | 'Topic :: Internet :: WWW/HTTP',
|
49 | 49 | 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
|
|
0 commit comments