-
Notifications
You must be signed in to change notification settings - Fork 167
/
setup.py
57 lines (46 loc) · 1.67 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
import os
from setuptools import setup, find_packages
VERSION = "1.7.2"
src_dir = os.path.dirname(__file__)
def get_install_requirements(path):
content = open(os.path.join(os.path.dirname(__file__), path)).read()
return [req for req in content.split("\n") if req != "" and not req.startswith("#")]
install_requires = get_install_requirements("requirements.in")
setup_requires = ['pytest-runner']
tests_require = get_install_requirements("test-requirements.in")
scripts = [
"scripts/compare_env",
"scripts/docker-stacker",
"scripts/stacker.cmd",
"scripts/stacker",
]
def read(filename):
full_path = os.path.join(src_dir, filename)
with open(full_path) as fd:
return fd.read()
if __name__ == "__main__":
setup(
name="stacker",
version=VERSION,
author="Michael Barrett",
author_email="[email protected]",
license="New BSD license",
url="https://github.com/cloudtools/stacker",
description="AWS CloudFormation Stack manager",
long_description=read("README.rst"),
packages=find_packages(),
scripts=scripts,
install_requires=install_requires,
tests_require=tests_require,
setup_requires=setup_requires,
extras_require=dict(testing=tests_require),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
)