-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
44 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,49 +8,54 @@ | |
|
||
builtins.__SETUP__ = True | ||
|
||
version = __import__('promise').get_version() | ||
version = __import__("promise").get_version() | ||
|
||
|
||
IS_PY3 = sys.hexversion >= 0x03000000 | ||
|
||
tests_require = [ | ||
'pytest>=2.7.3', 'pytest-cov', 'coveralls', 'futures', 'pytest-benchmark', | ||
'mock', | ||
"pytest>=2.7.3", | ||
"pytest-cov", | ||
"coveralls", | ||
"futures", | ||
"pytest-benchmark", | ||
"mock", | ||
] | ||
if IS_PY3: | ||
tests_require += ['pytest-asyncio'] | ||
tests_require += ["pytest-asyncio"] | ||
|
||
|
||
setup( | ||
name='promise', | ||
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', | ||
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', | ||
"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, | ||
}, | ||
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' | ||
"six" | ||
], | ||
tests_require=tests_require, ) | ||
tests_require=tests_require, | ||
) |