wolframalpha/setup.py

57 lines
1.5 KiB
Python
Raw Normal View History

2012-10-03 22:11:02 +00:00
#!/usr/bin/env python
2015-12-20 03:29:56 +00:00
# Generated by jaraco.develop 2.27.1
2015-11-25 01:10:37 +00:00
# https://pypi.python.org/pypi/jaraco.develop
import io
import sys
2012-10-03 22:11:02 +00:00
import setuptools
2015-12-20 03:29:56 +00:00
with io.open('README.rst', encoding='utf-8') as readme:
2015-11-25 01:10:37 +00:00
long_description = readme.read()
needs_pytest = {'pytest', 'test'}.intersection(sys.argv)
pytest_runner = ['pytest_runner'] if needs_pytest else []
needs_sphinx = {'release', 'build_sphinx', 'upload_docs'}.intersection(sys.argv)
sphinx = ['sphinx'] if needs_sphinx else []
needs_wheel = {'release', 'bdist_wheel'}.intersection(sys.argv)
wheel = ['wheel'] if needs_wheel else []
2012-10-04 00:36:35 +00:00
2012-10-03 22:11:02 +00:00
setup_params = dict(
name='wolframalpha',
2015-11-25 01:10:37 +00:00
use_scm_version=True,
2012-10-03 22:11:02 +00:00
author="Jason R. Coombs",
author_email="jaraco@jaraco.com",
2015-11-25 01:12:16 +00:00
description="Wolfram|Alpha 2.0 API client",
2015-11-25 01:10:37 +00:00
long_description=long_description,
2015-11-25 01:16:21 +00:00
url="https://github.com/jaraco/wolframalpha",
2012-10-03 22:11:02 +00:00
packages=setuptools.find_packages(),
2015-11-25 01:10:37 +00:00
include_package_data=True,
install_requires=[
'six',
],
2015-11-25 01:10:37 +00:00
extras_require={
},
2012-10-03 22:11:02 +00:00
setup_requires=[
2015-11-25 01:10:37 +00:00
'setuptools_scm>=1.9',
] + pytest_runner + sphinx + wheel,
2014-06-08 09:30:27 +00:00
tests_require=[
2015-11-25 01:10:37 +00:00
'pytest>=2.8',
'pmxbot',
2015-11-25 01:10:37 +00:00
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
2012-10-03 22:11:02 +00:00
],
2015-11-25 01:10:37 +00:00
entry_points={
2015-12-10 23:34:25 +00:00
'pmxbot_handlers': [
'Wolfram|Alpha = wolframalpha.pmxbot',
],
2015-11-25 01:10:37 +00:00
},
2012-10-03 22:11:02 +00:00
)
if __name__ == '__main__':
setuptools.setup(**setup_params)