2015-12-23 20:05:15 +03:00
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
from setuptools import find_packages, setup
|
|
|
|
from daphne import __version__
|
|
|
|
|
|
|
|
|
|
|
|
# We use the README as the long_description
|
|
|
|
readme_path = os.path.join(os.path.dirname(__file__), "README.rst")
|
|
|
|
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name='daphne',
|
|
|
|
version=__version__,
|
|
|
|
url='http://www.djangoproject.com/',
|
|
|
|
author='Django Software Foundation',
|
|
|
|
author_email='foundation@djangoproject.com',
|
2016-02-21 16:17:17 +03:00
|
|
|
description='Django ASGI (HTTP/WebSocket) server',
|
2015-12-23 20:05:15 +03:00
|
|
|
long_description=open(readme_path).read(),
|
|
|
|
license='BSD',
|
|
|
|
zip_safe=False,
|
|
|
|
packages=find_packages(),
|
|
|
|
include_package_data=True,
|
2016-02-06 04:23:49 +03:00
|
|
|
install_requires=[
|
2016-03-22 02:45:24 +03:00
|
|
|
'asgiref>=0.10',
|
2016-02-06 04:23:49 +03:00
|
|
|
'twisted>=15.5',
|
|
|
|
'autobahn>=0.12',
|
|
|
|
],
|
2015-12-23 20:05:15 +03:00
|
|
|
entry_points={'console_scripts': [
|
|
|
|
'daphne = daphne.cli:CommandLineInterface.entrypoint',
|
|
|
|
]},
|
|
|
|
)
|