This repository has been archived by the owner on Jul 17, 2024. It is now read-only.
forked from syrusakbary/promise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
64 lines (56 loc) · 1.85 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
56
57
58
59
60
61
62
63
64
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 :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: PyPy",
"License :: OSI Approved :: MIT License",
],
keywords="concurrent future deferred promise",
packages=find_packages(exclude=["tests"]),
# PEP-561: https://www.python.org/dev/peps/pep-0561/
package_data={"promise": ["py.typed"]},
extras_require={"test": tests_require},
install_requires=[
"typing>=3.6.4; python_version < '3.5'",
"six"
],
tests_require=tests_require,
)