|
2 | 2 | from setuptools import setup
|
3 | 3 |
|
4 | 4 | if sys.version_info < (2, 7):
|
5 |
| - sys.stdout.write("At least Python 2.7 is required.\n") |
6 |
| - sys.exit(1) |
| 5 | + sys.stdout.write("At least Python 2.7 is required.\n") |
| 6 | + sys.exit(1) |
7 | 7 |
|
8 | 8 | with open('README.rst') as f:
|
9 |
| - long_description = f.read() |
| 9 | + long_description = f.read() |
10 | 10 |
|
11 | 11 | setup(
|
12 |
| - name='xopen', |
13 |
| - version='0.3.5', # update also the version in xopen.py! |
14 |
| - author='Marcel Martin', |
15 |
| - |
16 |
| - url='https://github.com/marcelm/xopen/', |
17 |
| - description='Open compressed files transparently', |
18 |
| - long_description=long_description, |
19 |
| - license='MIT', |
20 |
| - py_modules=['xopen'], |
21 |
| - install_requires=[ |
22 |
| - 'bz2file; python_version=="2.7"', |
23 |
| - ], |
24 |
| - extras_require={ |
25 |
| - 'dev': ['pytest'], |
26 |
| - }, |
27 |
| - python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4', |
28 |
| - classifiers=[ |
29 |
| - "Development Status :: 4 - Beta", |
30 |
| - "License :: OSI Approved :: MIT License", |
31 |
| - "Programming Language :: Python :: 2.7", |
32 |
| - "Programming Language :: Python :: 3", |
33 |
| - "Programming Language :: Python :: 3.4", |
34 |
| - "Programming Language :: Python :: 3.5", |
35 |
| - "Programming Language :: Python :: 3.6", |
36 |
| - "Programming Language :: Python :: 3.7", |
37 |
| - ] |
| 12 | + name='xopen', |
| 13 | + version='0.3.5', # update also the version in xopen.py! |
| 14 | + author='Marcel Martin', |
| 15 | + |
| 16 | + url='https://github.com/marcelm/xopen/', |
| 17 | + description='Open compressed files transparently', |
| 18 | + long_description=long_description, |
| 19 | + license='MIT', |
| 20 | + py_modules=['xopen'], |
| 21 | + install_requires=[ |
| 22 | + 'bz2file; python_version=="2.7"', |
| 23 | + ], |
| 24 | + extras_require={ |
| 25 | + 'dev': ['pytest'], |
| 26 | + }, |
| 27 | + python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4', |
| 28 | + classifiers=[ |
| 29 | + "Development Status :: 4 - Beta", |
| 30 | + "License :: OSI Approved :: MIT License", |
| 31 | + "Programming Language :: Python :: 2.7", |
| 32 | + "Programming Language :: Python :: 3", |
| 33 | + "Programming Language :: Python :: 3.4", |
| 34 | + "Programming Language :: Python :: 3.5", |
| 35 | + "Programming Language :: Python :: 3.6", |
| 36 | + "Programming Language :: Python :: 3.7", |
| 37 | + ] |
38 | 38 | )
|
0 commit comments