Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (33 sloc) 1.27 KB
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 = "kuba.stasiak@gmail.com",
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",
]
)