|
8 | 8 | try: |
9 | 9 | from Cython.Distutils import build_ext |
10 | 10 | except ImportError: |
11 | | - print("Could not import Cython.Distutils. Install `cython` and rerun.") |
| 11 | + print('Could not import Cython.Distutils. Install `cython` and rerun.') |
12 | 12 | sys.exit(1) |
13 | 13 |
|
14 | | -ext_modules = [Extension("bencoder", ["bencoder.pyx"])] |
| 14 | +ext_modules = [Extension('bencoder', ['bencoder.pyx'])] |
15 | 15 |
|
16 | 16 | setup( |
17 | 17 | name='bencoder.pyx', |
18 | 18 | version='1.0.0', |
19 | 19 | description='Yet another bencode implementation in Cython', |
20 | | - long_description=open("README.rst", "r").read(), |
| 20 | + long_description=open('README.rst', 'r').read(), |
21 | 21 | author='whtsky', |
22 | 22 | author_email='whtsky@gmail.com', |
23 | 23 | url='https://github.com/whtsky/bencoder.pyx', |
24 | | - license="BSDv3", |
| 24 | + license='BSDv3', |
25 | 25 | platforms=['POSIX', 'Windows'], |
| 26 | + zip_safe=False, |
26 | 27 | keywords=['bencoding', 'encode', 'decode', 'bittorrent', 'bencode', 'bencoder', 'cython'], |
27 | 28 | classifiers=[ |
28 | | - "Environment :: Other Environment", |
29 | | - "Intended Audience :: Developers", |
30 | | - "Operating System :: OS Independent", |
31 | | - "Programming Language :: Python :: 2", |
32 | | - "Programming Language :: Python :: 3", |
33 | | - "Topic :: Software Development :: Libraries :: Python Modules", |
| 29 | + 'Environment :: Other Environment', |
| 30 | + 'Intended Audience :: Developers', |
| 31 | + 'License :: OSI Approved :: BSD License', |
| 32 | + 'Operating System :: OS Independent', |
| 33 | + 'Programming Language :: Cython', |
| 34 | + 'Programming Language :: Python', |
| 35 | + 'Programming Language :: Python :: 2', |
| 36 | + 'Programming Language :: Python :: 2.6', |
| 37 | + 'Programming Language :: Python :: 2.7', |
| 38 | + 'Programming Language :: Python :: 3', |
| 39 | + 'Programming Language :: Python :: 3.3', |
| 40 | + 'Programming Language :: Python :: 3.4', |
| 41 | + 'Programming Language :: Python :: 3.5', |
| 42 | + 'Programming Language :: Python :: Implementation :: CPython', |
| 43 | + 'Programming Language :: Python :: Implementation :: PyPy', |
| 44 | + 'Topic :: Software Development :: Libraries :: Python Modules', |
34 | 45 | ], |
35 | 46 | cmdclass={'build_ext': build_ext}, |
36 | 47 | ext_modules=ext_modules, |
|
0 commit comments