|
2 | 2 | import platform |
3 | 3 | from setuptools import setup |
4 | 4 |
|
5 | | -__version__ = "unknown" |
| 5 | +__version__ = 'unknown' |
6 | 6 |
|
7 | 7 | # "import" __version__ |
8 | | -for line in open("sounddevice.py"): |
9 | | - if line.startswith("__version__"): |
| 8 | +for line in open('sounddevice.py'): |
| 9 | + if line.startswith('__version__'): |
10 | 10 | exec(line) |
11 | 11 | break |
12 | 12 |
|
@@ -65,30 +65,30 @@ def get_tag(self): |
65 | 65 | cmdclass = {'bdist_wheel': bdist_wheel_half_pure} |
66 | 66 |
|
67 | 67 | setup( |
68 | | - name="sounddevice", |
| 68 | + name='sounddevice', |
69 | 69 | version=__version__, |
70 | | - py_modules=["sounddevice"], |
| 70 | + py_modules=['sounddevice'], |
71 | 71 | packages=packages, |
72 | 72 | package_data=package_data, |
73 | 73 | zip_safe=zip_safe, |
74 | | - install_requires=["CFFI"], |
75 | | - extras_require={"NumPy": ["NumPy"]}, |
76 | | - author="Matthias Geier", |
77 | | - author_email="Matthias.Geier@gmail.com", |
78 | | - description="Play and Record Sound with Python", |
79 | | - long_description=open("README.rst").read(), |
80 | | - license="MIT", |
81 | | - keywords="sound audio PortAudio play record playrec".split(), |
82 | | - url="http://python-sounddevice.rtfd.org/", |
83 | | - platforms="any", |
| 74 | + install_requires=['CFFI'], |
| 75 | + extras_require={'NumPy': ['NumPy']}, |
| 76 | + author='Matthias Geier', |
| 77 | + author_email='Matthias.Geier@gmail.com', |
| 78 | + description='Play and Record Sound with Python', |
| 79 | + long_description=open('README.rst').read(), |
| 80 | + license='MIT', |
| 81 | + keywords='sound audio PortAudio play record playrec'.split(), |
| 82 | + url='http://python-sounddevice.rtfd.org/', |
| 83 | + platforms='any', |
84 | 84 | classifiers=[ |
85 | | - "Development Status :: 3 - Alpha", |
86 | | - "License :: OSI Approved :: MIT License", |
87 | | - "Operating System :: OS Independent", |
88 | | - "Programming Language :: Python", |
89 | | - "Programming Language :: Python :: 2", |
90 | | - "Programming Language :: Python :: 3", |
91 | | - "Topic :: Multimedia :: Sound/Audio", |
| 85 | + 'Development Status :: 3 - Alpha', |
| 86 | + 'License :: OSI Approved :: MIT License', |
| 87 | + 'Operating System :: OS Independent', |
| 88 | + 'Programming Language :: Python', |
| 89 | + 'Programming Language :: Python :: 2', |
| 90 | + 'Programming Language :: Python :: 3', |
| 91 | + 'Topic :: Multimedia :: Sound/Audio', |
92 | 92 | ], |
93 | 93 | cmdclass=cmdclass, |
94 | 94 | ) |
0 commit comments