-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·46 lines (40 loc) · 1.36 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
#!/usr/bin/env python
import os
from setuptools import setup
#def read(fname):
# return open(os.path.join(os.path.dirname(__file__), fname)).read()
def get_version():
from txthoonk import __version__ as v
return v
def get_long_description():
import txthoonk as t
# remove blank lines
return "\n".join([l for l in t.__doc__.splitlines() if l]) #@UndefinedVariable
sdict = {
'name' : 'txthoonk',
'version' : get_version(),
'packages' : ['txthoonk'],
'description' : 'Python/Twisted client for Thoonk',
'author' : 'Iuri Diniz',
'author_email' : '[email protected]',
'maintainer' : 'Iuri Diniz',
'maintainer_email' : '[email protected]',
'license': 'MIT',
'url': 'https://github.com/Diginet/txthoonk',
'download_url':'http://pypi.python.org/pypi/txthoonk',
'keywords': ['Redis', 'Thoonk', 'Twisted'],
'long_description': get_long_description(),
'install_requires': ['Twisted>=10.1.0',
'txredis>=2.2'],
'test_suite': 'tests',
'classifiers' : [
'Development Status :: 1 - Planning',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Framework :: Twisted',
],
}
setup(**sdict)