-
Notifications
You must be signed in to change notification settings - Fork 23
/
setup.py
46 lines (43 loc) · 1.45 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
from setuptools import setup
import sys
import warnings
from goless import version, __author__, __email__, __url__, __license__
# If stackless isn't found, then assume gevent needs to be installed.
requires = []
try:
# noinspection PyUnresolvedReferences
import stackless
except ImportError:
if sys.version_info[0] == 2 and sys.version_info[1] <= 6:
requires.append('gevent==1.1')
else:
requires.append('gevent')
setup(
name='goless',
version=version,
author=__author__,
author_email=__email__,
description="Provides a Go-like concurrent programming style in Python.",
long_description=open('README.rst').read(),
license=__license__,
keywords='tasklet stackless go concurrent '
'threading async gevent go golang',
url=__url__,
packages=['goless'],
install_requires=requires,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
test_suite='tests',
)