|
3 | 3 | from setuptools import setup |
4 | 4 |
|
5 | 5 |
|
6 | | -with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: |
| 6 | +with open(os.path.join(os.path.dirname(__file__), "README.md")) as readme: |
7 | 7 | README = readme.read() |
8 | 8 |
|
9 | 9 | if sys.version_info < (3, 0, 0): |
10 | | - django = 'django>=1.11.29,<2.0' |
| 10 | + django = "django>=1.11.29,<2.0" |
11 | 11 | else: |
12 | | - django = 'django>=2.0,<3.2' # checked https://docs.djangoproject.com/en/dev/releases/3.1/#backwards-incompatible-3-1 |
| 12 | + django = "django>=2.0,<3.2" # checked https://docs.djangoproject.com/en/dev/releases/3.1/#backwards-incompatible-3-1 |
13 | 13 |
|
14 | | -requirements = [ |
15 | | - django, |
16 | | - 'stream-python>=3.0.1', |
17 | | - 'pytz' |
18 | | -] |
| 14 | +requirements = [django, "stream-python>=3.0.1", "pytz"] |
19 | 15 |
|
20 | 16 | extras_require = { |
21 | | - 'test': ['httpretty==0.9.5', 'coverage'], |
| 17 | + "test": ["httpretty==0.9.5"], |
22 | 18 | } |
23 | 19 |
|
24 | 20 | setup( |
25 | | - name='stream-django', |
26 | | - version='1.6.2', |
27 | | - packages=['stream_django'], |
| 21 | + name="stream-django", |
| 22 | + version="1.6.2", |
| 23 | + packages=["stream_django"], |
28 | 24 | include_package_data=True, |
29 | 25 | install_requires=requirements, |
30 | 26 | extras_require=extras_require, |
31 | | - tests_require=['stream_django[test]'], |
32 | | - test_suite='runtests.runtests', |
33 | | - license='BSD License', |
34 | | - description='A Django app to build activity, news and notification feeds.', |
| 27 | + tests_require=["stream_django[test]"], |
| 28 | + test_suite="runtests.runtests", |
| 29 | + license="BSD License", |
| 30 | + description="A Django app to build activity, news and notification feeds.", |
35 | 31 | long_description_content_type="text/markdown", |
36 | 32 | long_description=README, |
37 | | - url='https://getstream.io/', |
38 | | - author='Tommaso Barbugli', |
39 | | - |
| 33 | + url="https://getstream.io/", |
| 34 | + author="Tommaso Barbugli", |
| 35 | + |
40 | 36 | classifiers=[ |
41 | | - 'Environment :: Web Environment', |
42 | | - 'Framework :: Django', |
43 | | - 'Intended Audience :: Developers', |
44 | | - 'License :: OSI Approved :: BSD License', |
45 | | - 'Operating System :: OS Independent', |
46 | | - 'Programming Language :: Python', |
47 | | - 'Programming Language :: Python :: 2.7', |
48 | | - 'Programming Language :: Python :: 3', |
49 | | - 'Topic :: Internet :: WWW/HTTP', |
50 | | - 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', |
| 37 | + "Environment :: Web Environment", |
| 38 | + "Framework :: Django", |
| 39 | + "Intended Audience :: Developers", |
| 40 | + "License :: OSI Approved :: BSD License", |
| 41 | + "Operating System :: OS Independent", |
| 42 | + "Programming Language :: Python", |
| 43 | + "Programming Language :: Python :: 2.7", |
| 44 | + "Programming Language :: Python :: 3", |
| 45 | + "Topic :: Internet :: WWW/HTTP", |
| 46 | + "Topic :: Internet :: WWW/HTTP :: Dynamic Content", |
51 | 47 | ], |
52 | 48 | ) |
0 commit comments