-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·47 lines (38 loc) · 1.16 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
"""
Tool to manage remote backend storage for Terraform
"""
import os
from setuptools import find_packages, setup
from src.conf import VERSION
ROOT_PATH = os.path.abspath(os.path.dirname(__file__))
def get_requirements() -> list:
"""
Install dependencies
"""
with open("requirements.txt") as fp:
return [x.strip() for x in fp.read().split("\n") if not x.startswith("#")]
install_requires = get_requirements()
with open("README.md") as f:
long_description = f.read()
setup(
name="tfremote",
version=VERSION,
license="Apache Software License",
description="Terraform wrapper to manage state across multiple cloud providers",
long_description=long_description,
long_description_content_type="text/markdown",
author="Varun Tomar",
author_email="[email protected]",
python_requires=">=3.6",
packages=find_packages(),
install_requires=install_requires,
url="https://github.com/tomarv2/tfremote",
classifiers=[
"Programming Language :: Python :: 3.6",
"Operating System :: OS Independent",
],
entry_points="""
[console_scripts]
tf = src.cli:entrypoint
""",
)