forked from jstasiak/django-realtime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
36 lines (33 loc) · 1.27 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import re
from os.path import dirname, join
from setuptools import setup, find_packages
version_match = re.search(r'''__version__\s+=\s+['"]([^'"]+)['"]''',
open(join(dirname(__file__), 'realtime', '__init__.py')).read())
version = version_match.group(1)
setup(
name = "django-realtime",
version = version,
author = "Jakub Stasiak",
author_email = "[email protected]",
description = ("Django application that simplifies usage of socket.io in Django projects"),
long_description = open('README.rst').read(),
url = "http://github.com/jstasiak/django-realtime",
py_modules=["realtime",],
install_requires=["gevent-socketio", "gevent-websocket"],
zip_safe = False,
include_package_data = True,
package_data = { 'realtime': ['static/js/external/*'] },
packages = find_packages(),
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: POSIX",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Internet :: WWW/HTTP :: WSGI",
]
)