This repository has been archived by the owner on Sep 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
76 lines (71 loc) · 2.52 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
65
66
67
68
69
70
71
72
73
74
75
76
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
from setuptools import setup, find_packages
with open("README.md") as readme_file:
readme = readme_file.read()
# https://github.com/mpdavis/python-jose/blob/master/CHANGELOG.md#330----2021-06-04
# https://github.com/sybrenstuvel/python-rsa/blob/main/CHANGELOG.md#version-43--45---released-2020-06-12
requirements = [
"appdirs",
"Click>=6.0",
"flask>=1.0.2",
"Werkzeug<2.1.0",
"future",
"requests>=2.20.1",
"python-jose<3.3.0 ; python_version < '3.0'",
"python-jose ; python_version >= '3.0'",
"rsa==4.5 ; python_version < '3.0'",
"rsa ; python_version >= '3.0'",
"whichcraft==0.6.1"
]
# https://github.com/pytest-dev/pytest-runner/blob/main/CHANGES.rst#v530
setup_requirements = [
"pytest-runner<5.3 ; python_version <'3.0'",
"pytest-runner ; python_version >= '3.0'",
]
test_requirements = [
"pytest",
"pytest-cov",
"python-jose",
"requests-mock",
'mock;python_version<"3.3"']
extras = {
"test": test_requirements,
}
setup(
name="mozilla_aws_cli",
description="Command line tool to enable accessing AWS using federated single sign on",
author="Mozilla Enterprise Information Security",
author_email="[email protected]",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Natural Language :: English",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 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 :: 3.9",
],
entry_points={"console_scripts": ["maws=mozilla_aws_cli.cli:main"]},
include_package_data=True,
install_requires=requirements,
long_description=readme,
long_description_content_type='text/markdown',
keywords="maws Mozilla AWS CLI",
packages=find_packages(include=["mozilla_aws_cli"]),
package_data={'mozilla_aws_cli': ['static/*', 'static/*/*']},
setup_requires=setup_requirements,
test_suite="tests",
tests_require=test_requirements,
extras_require=extras,
url="https://github.com/mozilla-iam/mozilla-aws-cli",
version="1.2.5",
zip_safe=False,
)