2013-02-18 21:09:40 +00:00
|
|
|
#!/usr/bin/env python
|
2014-08-27 15:17:06 +00:00
|
|
|
from __future__ import unicode_literals
|
2017-09-27 23:04:58 +00:00
|
|
|
import setuptools
|
2013-02-18 21:09:40 +00:00
|
|
|
from setuptools import setup, find_packages
|
2017-09-27 23:04:58 +00:00
|
|
|
import sys
|
|
|
|
|
2013-02-18 21:09:40 +00:00
|
|
|
|
2013-10-04 00:34:13 +00:00
|
|
|
install_requires = [
|
2018-03-21 16:05:12 +00:00
|
|
|
"Jinja2>=2.7.3",
|
2016-03-18 19:12:24 +00:00
|
|
|
"boto>=2.36.0",
|
2017-05-11 01:58:42 +00:00
|
|
|
"boto3>=1.2.1",
|
2017-10-18 01:13:27 +00:00
|
|
|
"botocore>=1.7.12",
|
2017-02-16 03:47:33 +00:00
|
|
|
"cookies",
|
2017-09-21 23:20:26 +00:00
|
|
|
"cryptography>=2.0.0",
|
2017-08-17 14:34:03 +00:00
|
|
|
"requests>=2.5",
|
2014-09-10 15:23:12 +00:00
|
|
|
"xmltodict",
|
2017-09-07 18:30:46 +00:00
|
|
|
"six>1.9",
|
2014-09-10 15:23:12 +00:00
|
|
|
"werkzeug",
|
2017-05-11 13:50:33 +00:00
|
|
|
"pyaml",
|
2016-10-18 23:47:02 +00:00
|
|
|
"pytz",
|
2018-03-21 15:50:14 +00:00
|
|
|
"python-dateutil<2.7.0,>=2.1",
|
2017-05-16 21:52:54 +00:00
|
|
|
"mock",
|
2017-10-17 00:06:22 +00:00
|
|
|
"docker>=2.5.1",
|
2017-11-10 09:44:02 +00:00
|
|
|
"jsondiff==1.1.1",
|
2018-03-06 22:48:23 +00:00
|
|
|
"aws-xray-sdk<0.96,>=0.93",
|
2013-10-04 00:34:13 +00:00
|
|
|
]
|
|
|
|
|
2015-08-12 01:35:20 +00:00
|
|
|
extras_require = {
|
2016-09-26 12:44:05 +00:00
|
|
|
'server': ['flask'],
|
2015-08-12 01:35:20 +00:00
|
|
|
}
|
2013-10-04 00:34:13 +00:00
|
|
|
|
2017-09-27 23:04:58 +00:00
|
|
|
# https://hynek.me/articles/conditional-python-dependencies/
|
|
|
|
if int(setuptools.__version__.split(".", 1)[0]) < 18:
|
|
|
|
if sys.version_info[0:2] < (3, 3):
|
|
|
|
install_requires.append("backports.tempfile")
|
|
|
|
else:
|
|
|
|
extras_require[":python_version<'3.3'"] = ["backports.tempfile"]
|
|
|
|
|
|
|
|
|
2013-02-18 21:09:40 +00:00
|
|
|
setup(
|
|
|
|
name='moto',
|
2018-03-22 18:28:32 +00:00
|
|
|
version='1.3.1',
|
2013-03-19 15:45:19 +00:00
|
|
|
description='A library that allows your python tests to easily'
|
2013-03-05 13:21:47 +00:00
|
|
|
' mock out the boto library',
|
2013-02-18 21:09:40 +00:00
|
|
|
author='Steve Pulec',
|
2015-07-27 15:44:41 +00:00
|
|
|
author_email='spulec@gmail.com',
|
2013-02-18 21:09:40 +00:00
|
|
|
url='https://github.com/spulec/moto',
|
2013-03-05 13:14:43 +00:00
|
|
|
entry_points={
|
|
|
|
'console_scripts': [
|
|
|
|
'moto_server = moto.server:main',
|
|
|
|
],
|
|
|
|
},
|
2013-12-19 21:16:00 +00:00
|
|
|
packages=find_packages(exclude=("tests", "tests.*")),
|
2013-10-04 00:34:13 +00:00
|
|
|
install_requires=install_requires,
|
2015-08-12 01:35:20 +00:00
|
|
|
extras_require=extras_require,
|
2017-09-27 21:33:52 +00:00
|
|
|
include_package_data=True,
|
2014-08-30 03:46:55 +00:00
|
|
|
license="Apache",
|
|
|
|
test_suite="tests",
|
|
|
|
classifiers=[
|
|
|
|
"Programming Language :: Python :: 2",
|
|
|
|
"Programming Language :: Python :: 2.7",
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"Programming Language :: Python :: 3.3",
|
2017-09-27 23:04:58 +00:00
|
|
|
"Programming Language :: Python :: 3.4",
|
|
|
|
"Programming Language :: Python :: 3.5",
|
|
|
|
"Programming Language :: Python :: 3.6",
|
2014-08-30 03:46:55 +00:00
|
|
|
"License :: OSI Approved :: Apache Software License",
|
|
|
|
"Topic :: Software Development :: Testing",
|
|
|
|
],
|
2013-02-26 05:12:34 +00:00
|
|
|
)
|