forked from syrusakbary/promise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
55 lines (47 loc) · 1.57 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
import sys
from setuptools import setup, find_packages
if sys.version_info[0] < 3:
import __builtin__ as builtins
else:
import builtins
builtins.__SETUP__ = True
version = __import__('promise').get_version()
IS_PY3 = sys.hexversion >= 0x03000000
tests_require = [
'pytest>=2.7.3', 'pytest-cov', 'coveralls', 'futures', 'pytest-benchmark',
'mock',
]
if IS_PY3:
tests_require += ['pytest-asyncio']
setup(
name='promise',
version=version,
description='Promises/A+ implementation for Python',
long_description=open('README.rst').read(),
url='https://github.com/syrusakbary/promise',
download_url='https://github.com/syrusakbary/promise/releases',
author='Syrus Akbary',
author_email='[email protected]',
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: PyPy',
'License :: OSI Approved :: MIT License',
],
keywords='concurrent future deferred promise',
packages=find_packages(exclude=['tests']),
extras_require={
'test': tests_require,
},
install_requires=[
'typing', 'six'
],
tests_require=tests_require, )