|
5 | 5 |
|
6 | 6 | src_dir = os.path.dirname(__file__)
|
7 | 7 |
|
8 |
| -install_requires = [ |
9 |
| - "future", |
10 |
| - "troposphere>=1.9.0", |
11 |
| - 'botocore>=1.12.111', # matching boto3 requirement |
12 |
| - "boto3>=1.9.111,<2.0", |
13 |
| - "PyYAML>=3.13b1", |
14 |
| - "awacs>=0.6.0", |
15 |
| - "gitpython>=2.0,<3.0", |
16 |
| - "jinja2>=2.7,<3.0a", |
17 |
| - "schematics>=2.0.1,<2.1.0", |
18 |
| - "formic2", |
19 |
| - "python-dateutil>=2.0,<3.0", |
20 |
| - "MarkupSafe<2.0", # 2.0 dropped python 2.7, 3.5 support - temporary |
21 |
| - "more-itertools<6.0.0", # 6.0.0 dropped python 2.7 support - temporary |
22 |
| - "rsa==4.5", # 4.6 dropped python 2.7 support - temporary |
23 |
| - "python-jose<3.2.0", # 3.2.0 dropped python 2.7 support - temporary |
24 |
| -] |
| 8 | +def get_install_requirements(path): |
| 9 | + content = open(os.path.join(os.path.dirname(__file__), path)).read() |
| 10 | + return [req for req in content.split("\n") if req != "" and not req.startswith("#")] |
| 11 | + |
| 12 | +install_requires = get_install_requirements("requirements.in") |
25 | 13 |
|
26 | 14 | setup_requires = ['pytest-runner']
|
27 | 15 |
|
28 |
| -tests_require = [ |
29 |
| - "pytest~=4.3", |
30 |
| - "pytest-cov~=2.6", |
31 |
| - "mock~=2.0", |
32 |
| - "moto[awslambda]~=1.3.16", |
33 |
| - "testfixtures~=4.10.0", |
34 |
| - "flake8-future-import", |
35 |
| -] |
| 16 | +tests_require = get_install_requirements("test-requirements.in") |
36 | 17 |
|
37 | 18 | scripts = [
|
38 | 19 | "scripts/compare_env",
|
@@ -68,8 +49,9 @@ def read(filename):
|
68 | 49 | "Development Status :: 5 - Production/Stable",
|
69 | 50 | "Environment :: Console",
|
70 | 51 | "License :: OSI Approved :: BSD License",
|
71 |
| - "Programming Language :: Python :: 2.7", |
72 |
| - "Programming Language :: Python :: 3.5", |
73 |
| - "Programming Language :: Python :: 3.6", |
| 52 | + "Programming Language :: Python :: 3.7", |
| 53 | + "Programming Language :: Python :: 3.8", |
| 54 | + "Programming Language :: Python :: 3.9", |
| 55 | + "Programming Language :: Python :: 3.10", |
74 | 56 | ],
|
75 | 57 | )
|
0 commit comments