forked from mrjoes/sockjs-tornado
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
44 lines (37 loc) · 1.03 KB
/
Copy pathsetup.py
File metadata and controls
44 lines (37 loc) · 1.03 KB
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
#!/usr/bin/env python
import os
try:
from setuptools import setup, find_packages
except ImportError:
from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
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
setup(
name='sockjs-tornado',
version='0.0.5',
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(),
requires=['tornado'],
install_requires=[
'tornado >= 2.1.1'
]
)