2015-12-23 20:05:15 +03:00
|
|
|
import os
|
2016-09-23 00:25:09 +03:00
|
|
|
|
2015-12-23 20:05:15 +03:00
|
|
|
from setuptools import find_packages, setup
|
2016-09-23 00:25:09 +03:00
|
|
|
|
2015-12-23 20:05:15 +03:00
|
|
|
from daphne import __version__
|
|
|
|
|
|
|
|
# We use the README as the long_description
|
|
|
|
readme_path = os.path.join(os.path.dirname(__file__), "README.rst")
|
2016-09-23 00:25:09 +03:00
|
|
|
with open(readme_path) as fp:
|
|
|
|
long_description = fp.read()
|
2015-12-23 20:05:15 +03:00
|
|
|
|
|
|
|
setup(
|
|
|
|
name='daphne',
|
|
|
|
version=__version__,
|
2016-09-23 00:25:09 +03:00
|
|
|
url='https://github.com/django/daphne',
|
2015-12-23 20:05:15 +03:00
|
|
|
author='Django Software Foundation',
|
|
|
|
author_email='foundation@djangoproject.com',
|
2016-02-21 16:17:17 +03:00
|
|
|
description='Django ASGI (HTTP/WebSocket) server',
|
2016-09-23 00:25:09 +03:00
|
|
|
long_description=long_description,
|
2015-12-23 20:05:15 +03:00
|
|
|
license='BSD',
|
|
|
|
zip_safe=False,
|
2016-08-11 18:52:27 +03:00
|
|
|
package_dir={'twisted': 'daphne/twisted'},
|
|
|
|
packages=find_packages() + ['twisted.plugins'],
|
2015-12-23 20:05:15 +03:00
|
|
|
include_package_data=True,
|
2016-02-06 04:23:49 +03:00
|
|
|
install_requires=[
|
2016-05-07 23:01:05 +03:00
|
|
|
'asgiref>=0.13',
|
2016-08-28 21:14:13 +03:00
|
|
|
'twisted>=16.0',
|
2016-02-06 04:23:49 +03:00
|
|
|
'autobahn>=0.12',
|
|
|
|
],
|
2015-12-23 20:05:15 +03:00
|
|
|
entry_points={'console_scripts': [
|
|
|
|
'daphne = daphne.cli:CommandLineInterface.entrypoint',
|
|
|
|
]},
|
2016-09-23 00:25:09 +03:00
|
|
|
classifiers=[
|
|
|
|
'Development Status :: 4 - Beta',
|
|
|
|
'Environment :: Web Environment',
|
|
|
|
'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.5',
|
|
|
|
'Topic :: Internet :: WWW/HTTP',
|
|
|
|
],
|
2015-12-23 20:05:15 +03:00
|
|
|
)
|