mirror of
https://github.com/django/daphne.git
synced 2025-04-22 09:42:07 +03:00
* Move project tests to its own directory. * Install mock test dependency for Python2 only. * Do not install tox inside tox environment. * Exclude tests from sdist. * Use recent pip on Travis-CI.
43 lines
1.3 KiB
Python
43 lines
1.3 KiB
Python
from setuptools import find_packages, setup
|
|
from channels import __version__
|
|
|
|
setup(
|
|
name='channels',
|
|
version=__version__,
|
|
url='http://github.com/django/channels',
|
|
author='Django Software Foundation',
|
|
author_email='foundation@djangoproject.com',
|
|
description="Brings event-driven capabilities to Django with a channel system. Django 1.8 and up only.",
|
|
license='BSD',
|
|
packages=find_packages(exclude=['tests']),
|
|
include_package_data=True,
|
|
install_requires=[
|
|
'Django>=1.8',
|
|
'asgiref>=1.0.0',
|
|
'daphne>=1.0.0',
|
|
],
|
|
extras_require={
|
|
'tests': [
|
|
'coverage',
|
|
'mock ; python_version < "3.0"',
|
|
'flake8>=2.0,<3.0',
|
|
'isort',
|
|
]
|
|
},
|
|
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 :: 2',
|
|
'Programming Language :: Python :: 2.7',
|
|
'Programming Language :: Python :: 3',
|
|
'Programming Language :: Python :: 3.4',
|
|
'Programming Language :: Python :: 3.5',
|
|
'Topic :: Internet :: WWW/HTTP',
|
|
],
|
|
)
|