-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
67 lines (61 loc) · 2.15 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
import os
import re
from setuptools import setup
def find_version(path):
version_file = read(path)
version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]",
version_file, re.M)
if version_match:
return version_match.group(1)
raise RuntimeError("Unable to find version string.")
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="terrabutler",
version=find_version("terrabutler/__init__.py"),
author="MontBlu",
description=("A tool to manage Terraform projects easier."),
long_description=read("README.md"),
license="GPL-3.0",
keywords="terraform manager",
url="https://github.com/montblu/terrabutler",
scripts=["bin/terrabutler"],
packages=["terrabutler"],
install_requires=[
"boto3>=1.20.0",
"botocore>=1.20.0",
"click>=8.0.0",
"jmespath>=0.10.0",
"mccabe>=0.6.0",
"pycodestyle>=2.8.0",
"pyflakes>=2.4.0",
"python-dateutil>=2.8.0",
"s3transfer>=0.5.0",
"six>=1.16.0",
"urllib3>=1.26.0"
],
python_requires=">= 3.6",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Utilities"
],
project_urls={
"Source": "https://github.com/montblu/terrabutler",
"Changelog": "https://github.com/montblu/terrabutler/releases",
},
)