-
-
Notifications
You must be signed in to change notification settings - Fork 800
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change packaging to use setuptools declarative config in setup.cfg
- Loading branch information
Showing
2 changed files
with
49 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,50 @@ | ||
[metadata] | ||
name = channels | ||
version = attr: channels.__version__ | ||
url = https://github.com/django/channels | ||
author = Django Software Foundation | ||
author_email = [email protected] | ||
description = Brings async, event-driven capabilities to Django. Django 2.2 and up only. | ||
long_description = file: README.rst | ||
license = BSD | ||
classifiers = | ||
Development Status :: 5 - Production/Stable | ||
Environment :: Web Environment | ||
Framework :: Django | ||
Intended Audience :: Developers | ||
License :: OSI Approved :: BSD License | ||
Operating System :: OS Independent | ||
Programming Language :: Python | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3 :: Only | ||
Programming Language :: Python :: 3.5 | ||
Programming Language :: Python :: 3.6 | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Topic :: Internet :: WWW/HTTP | ||
|
||
[options] | ||
python_requires = >=3.5 | ||
packages = find: | ||
include_package_data = true | ||
install_requires = | ||
Django >= 2.2 | ||
asgiref ~= 3.2 | ||
daphne ~= 2.3 | ||
|
||
[options.packages.find] | ||
exclude = | ||
tests | ||
|
||
[options.extras_require] | ||
tests = | ||
pytest ~= 4.4 | ||
pytest-django ~= 3.4 | ||
pytest-asyncio ~= 0.10 | ||
async_generator ~= 1.10 | ||
async-timeout ~= 3.0 | ||
coverage ~= 4.5 | ||
|
||
[flake8] | ||
exclude = venv/*,tox/*,docs/*,testproject/*,build/* | ||
ignore = E123,E128,E266,E402,W503,E731,W601 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,3 @@ | ||
from setuptools import find_packages, setup | ||
from channels import __version__ | ||
from setuptools import setup | ||
|
||
setup( | ||
name='channels', | ||
version=__version__, | ||
url='http://github.com/django/channels', | ||
author='Django Software Foundation', | ||
author_email='[email protected]', | ||
description="Brings async, event-driven capabilities to Django. Django 2.2 and up only.", | ||
license='BSD', | ||
packages=find_packages(exclude=['tests']), | ||
include_package_data=True, | ||
python_requires='>=3.5', | ||
install_requires=[ | ||
'Django>=2.2', | ||
'asgiref~=3.2', | ||
'daphne~=2.3', | ||
], | ||
extras_require={ | ||
'tests': [ | ||
'pytest~=4.4', | ||
"pytest-django~=3.4", | ||
"pytest-asyncio~=0.10", | ||
"async_generator~=1.10", | ||
"async-timeout~=3.0", | ||
'coverage~=4.5', | ||
], | ||
}, | ||
classifiers=[ | ||
'Development Status :: 5 - Production/Stable', | ||
'Environment :: Web Environment', | ||
'Framework :: Django', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: BSD License', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.5', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
'Topic :: Internet :: WWW/HTTP', | ||
], | ||
) | ||
setup() |