mirror of
https://github.com/django/daphne.git
synced 2025-02-16 16:30:33 +03:00
commit
1bdf2a7518
23
setup.py
23
setup.py
|
@ -1,21 +1,23 @@
|
||||||
import os
|
import os
|
||||||
import sys
|
|
||||||
from setuptools import find_packages, setup
|
from setuptools import find_packages, setup
|
||||||
|
|
||||||
from daphne import __version__
|
from daphne import __version__
|
||||||
|
|
||||||
|
|
||||||
# We use the README as the long_description
|
# We use the README as the long_description
|
||||||
readme_path = os.path.join(os.path.dirname(__file__), "README.rst")
|
readme_path = os.path.join(os.path.dirname(__file__), "README.rst")
|
||||||
|
with open(readme_path) as fp:
|
||||||
|
long_description = fp.read()
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='daphne',
|
name='daphne',
|
||||||
version=__version__,
|
version=__version__,
|
||||||
url='http://github.com/django/daphne',
|
url='https://github.com/django/daphne',
|
||||||
author='Django Software Foundation',
|
author='Django Software Foundation',
|
||||||
author_email='foundation@djangoproject.com',
|
author_email='foundation@djangoproject.com',
|
||||||
description='Django ASGI (HTTP/WebSocket) server',
|
description='Django ASGI (HTTP/WebSocket) server',
|
||||||
long_description=open(readme_path).read(),
|
long_description=long_description,
|
||||||
license='BSD',
|
license='BSD',
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
|
@ -28,4 +30,17 @@ setup(
|
||||||
entry_points={'console_scripts': [
|
entry_points={'console_scripts': [
|
||||||
'daphne = daphne.cli:CommandLineInterface.entrypoint',
|
'daphne = daphne.cli:CommandLineInterface.entrypoint',
|
||||||
]},
|
]},
|
||||||
|
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',
|
||||||
|
],
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user