-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathsetup.py
34 lines (30 loc) · 1.26 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
# -*- coding: utf-8 -*-
import re
from distutils.core import setup
def get_version():
return re.search(r"""__version__\s+=\s+(?P<quote>['"])(?P<version>.+?)(?P=quote)""", open('tornaduv/__init__.py').read()).group('version')
setup(
name = 'tornaduv',
version = get_version(),
url = 'https://github.com/saghul/tornaduv',
author = 'Saúl Ibarra Corretgé',
author_email = '[email protected]',
license = 'MIT License',
description = 'Tornado IOLoop implementation with pyuv',
long_description = open('README.rst', 'r').read(),
packages = ['tornaduv'],
install_requires = [i.strip() for i in open("requirements.txt").readlines() if i.strip()],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4'
]
)