-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (28 loc) · 1001 Bytes
/
setup.py
File metadata and controls
34 lines (28 loc) · 1001 Bytes
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
import os
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
def get_requirements(env=""):
path = os.path.dirname(os.path.abspath(__file__))
fn = "requirements{}{}.txt".format(("-" if env else ""), env)
with open(os.path.join(path, fn)) as fp:
return [x.strip() for x in fp.read().split("\n") if not x.startswith("#")]
install_requires = get_requirements()
setuptools.setup(
name="py-tf-utils",
version="0.2.1",
author="Phillip Ferentinos",
author_email="phillip.jf@gmail.com",
description="Various Terraform Utilities",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/phillipjf/tf-utils",
packages=setuptools.find_packages(),
classifiers=["Programming Language :: Python :: 3"],
python_requires=">=3.6",
install_requires=install_requires,
entry_points="""
[console_scripts]
tf-utils=tf_utils.main:main
""",
)