debian-zeep/setup.py

97 lines
2.3 KiB
Python
Raw Permalink Normal View History

2016-12-06 17:32:03 +01:00
import re
2017-06-12 18:33:14 +02:00
import sys
2017-01-31 16:59:58 +01:00
2016-12-06 17:32:03 +01:00
from setuptools import find_packages, setup
install_requires = [
'appdirs>=1.4.0',
2017-06-12 18:33:14 +02:00
'cached-property>=1.3.0',
2016-12-06 17:32:03 +01:00
'defusedxml>=0.4.1',
'isodate>=0.5.4',
'lxml>=3.0.0',
'requests>=2.7.0',
2017-06-12 18:33:14 +02:00
'requests-toolbelt>=0.7.1',
2016-12-06 17:32:03 +01:00
'six>=1.9.0',
'pytz',
]
docs_require = [
'sphinx>=1.4.0',
]
2017-09-04 16:23:14 +02:00
tornado_require = [
'tornado>=4.0.2'
]
2017-06-12 18:33:14 +02:00
async_require = [] # see below
2017-01-31 16:59:58 +01:00
xmlsec_require = [
'xmlsec>=0.6.1',
]
2016-12-06 17:32:03 +01:00
tests_require = [
2017-01-31 16:59:58 +01:00
'freezegun==0.3.8',
2016-12-06 17:32:03 +01:00
'mock==2.0.0',
'pretend==1.0.8',
2017-09-04 16:23:14 +02:00
'pytest-cov==2.5.1',
'pytest==3.1.3',
2016-12-06 17:32:03 +01:00
'requests_mock>=0.7.0',
2017-09-04 16:23:14 +02:00
'pytest-tornado==0.4.5',
2016-12-06 17:32:03 +01:00
# Linting
2018-03-30 18:26:53 +02:00
'isort==4.2.15',
2017-09-04 16:23:14 +02:00
'flake8==3.3.0',
2016-12-06 17:32:03 +01:00
'flake8-blind-except==0.1.1',
'flake8-debugger==1.4.0',
2017-09-04 16:23:14 +02:00
'flake8-imports==0.1.1',
2016-12-06 17:32:03 +01:00
]
2017-06-12 18:33:14 +02:00
if sys.version_info > (3, 4, 2):
async_require.append('aiohttp>=1.0')
tests_require.append('aioresponses>=0.1.3')
2016-12-06 17:32:03 +01:00
with open('README.rst') as fh:
long_description = re.sub(
'^.. start-no-pypi.*^.. end-no-pypi', '', fh.read(), flags=re.M | re.S)
setup(
name='zeep',
2018-03-30 18:26:53 +02:00
version='2.5.0',
2016-12-06 17:32:03 +01:00
description='A modern/fast Python SOAP client based on lxml / requests',
long_description=long_description,
author="Michael van Tellingen",
author_email="michaelvantellingen@gmail.com",
url='http://docs.python-zeep.org',
install_requires=install_requires,
tests_require=tests_require,
extras_require={
'docs': docs_require,
'test': tests_require,
2017-01-31 16:59:58 +01:00
'async': async_require,
2017-09-04 16:23:14 +02:00
'tornado': tornado_require,
2017-01-31 16:59:58 +01:00
'xmlsec': xmlsec_require,
2016-12-06 17:32:03 +01:00
},
entry_points={},
package_dir={'': 'src'},
2017-09-04 16:23:14 +02:00
packages=['zeep'],
2016-12-06 17:32:03 +01:00
include_package_data=True,
license='MIT',
classifiers=[
2017-06-12 18:33:14 +02:00
'Development Status :: 5 - Production/Stable',
2016-12-06 17:32:03 +01:00
'License :: OSI Approved :: MIT License',
'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',
2017-01-31 16:59:58 +01:00
'Programming Language :: Python :: 3.6',
2016-12-06 17:32:03 +01:00
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
zip_safe=False,
)