|
3 | 3 |
|
4 | 4 | tests_require = [
|
5 | 5 | "Django>=1.11",
|
6 |
| - "WebTest==2.0.24", |
7 |
| - "django-webtest==1.8.0", |
8 | 6 | "mock==1.0.1",
|
9 | 7 | "six",
|
10 | 8 | ]
|
11 | 9 |
|
12 |
| -setup( |
13 |
| - name="django-simple-history", |
14 |
| - version=simple_history.__version__, |
15 |
| - description="Store model history and view/revert changes from admin site.", |
16 |
| - long_description="\n".join((open("README.rst").read(), open("CHANGES.rst").read())), |
17 |
| - author="Corey Bertram", |
18 |
| - |
19 |
| - maintainer="Trey Hunner", |
20 |
| - url="https://github.com/treyhunner/django-simple-history", |
21 |
| - packages=[ |
22 |
| - "simple_history", |
23 |
| - "simple_history.management", |
24 |
| - "simple_history.management.commands", |
25 |
| - "simple_history.templatetags", |
26 |
| - ], |
27 |
| - classifiers=[ |
28 |
| - "Development Status :: 5 - Production/Stable", |
29 |
| - "Framework :: Django", |
30 |
| - "Environment :: Web Environment", |
31 |
| - "Intended Audience :: Developers", |
32 |
| - "Framework :: Django", |
33 |
| - "Framework :: Django :: 1.11", |
34 |
| - "Framework :: Django :: 2.0", |
35 |
| - "Framework :: Django :: 2.1", |
36 |
| - "Framework :: Django :: 2.2", |
37 |
| - "Programming Language :: Python", |
38 |
| - "Programming Language :: Python :: 2.7", |
39 |
| - "Programming Language :: Python :: 3", |
40 |
| - "Programming Language :: Python :: 3.4", |
41 |
| - "Programming Language :: Python :: 3.5", |
42 |
| - "Programming Language :: Python :: 3.6", |
43 |
| - "Programming Language :: Python :: 3.7", |
44 |
| - "License :: OSI Approved :: BSD License", |
45 |
| - ], |
46 |
| - python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", |
47 |
| - tests_require=tests_require, |
48 |
| - install_requires=["six"], |
49 |
| - include_package_data=True, |
50 |
| - test_suite="runtests.main", |
51 |
| -) |
| 10 | +with open("README.rst") as readme, open("CHANGES.rst") as changes: |
| 11 | + setup( |
| 12 | + name="django-simple-history", |
| 13 | + version=simple_history.__version__, |
| 14 | + description="Store model history and view/revert changes from admin site.", |
| 15 | + long_description="\n".join((readme.read(), changes.read())), |
| 16 | + author="Corey Bertram", |
| 17 | + |
| 18 | + maintainer="Trey Hunner", |
| 19 | + url="https://github.com/treyhunner/django-simple-history", |
| 20 | + packages=[ |
| 21 | + "simple_history", |
| 22 | + "simple_history.management", |
| 23 | + "simple_history.management.commands", |
| 24 | + "simple_history.templatetags", |
| 25 | + ], |
| 26 | + classifiers=[ |
| 27 | + "Development Status :: 5 - Production/Stable", |
| 28 | + "Framework :: Django", |
| 29 | + "Environment :: Web Environment", |
| 30 | + "Intended Audience :: Developers", |
| 31 | + "Framework :: Django", |
| 32 | + "Framework :: Django :: 1.11", |
| 33 | + "Framework :: Django :: 2.0", |
| 34 | + "Framework :: Django :: 2.1", |
| 35 | + "Framework :: Django :: 2.2", |
| 36 | + "Framework :: Django :: 3.0", |
| 37 | + "Programming Language :: Python", |
| 38 | + "Programming Language :: Python :: 2.7", |
| 39 | + "Programming Language :: Python :: 3", |
| 40 | + "Programming Language :: Python :: 3.4", |
| 41 | + "Programming Language :: Python :: 3.5", |
| 42 | + "Programming Language :: Python :: 3.6", |
| 43 | + "Programming Language :: Python :: 3.7", |
| 44 | + "Programming Language :: Python :: 3.8", |
| 45 | + "License :: OSI Approved :: BSD License", |
| 46 | + ], |
| 47 | + python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", |
| 48 | + tests_require=tests_require, |
| 49 | + install_requires=["six"], |
| 50 | + include_package_data=True, |
| 51 | + test_suite="runtests.main", |
| 52 | + ) |
0 commit comments