forked from mrjoes/sockjs-tornado
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
55 lines (47 loc) · 1.37 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/usr/bin/env python
import os
import distutils.core
import sys
try:
import setuptools
except ImportError:
pass
try:
license = open('LICENSE').read()
except:
license = None
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def desc():
info = read('README.rst')
try:
return info + '\n\n' + read('doc/changelog.rst')
except IOError:
return info
distutils.core.setup(
name='sockjs-tornado',
version='1.0.3',
author='Serge S. Koval',
author_email='serge.koval@gmail.com',
packages=['sockjs', 'sockjs.tornado', 'sockjs.tornado.transports'],
namespace_packages=['sockjs'],
scripts=[],
url='http://github.com/mrjoes/sockjs-tornado/',
license=license,
description='SockJS python server implementation on top of Tornado framework',
long_description=desc(),
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: Implementation :: CPython',
],
requires=['tornado'],
install_requires=[
'tornado >= 2.1.1'
]
)