-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
48 lines (40 loc) · 1.42 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
import inspect
import os
from setuptools import setup, find_packages
__location__ = os.path.join(
os.getcwd(), os.path.dirname(inspect.getfile(inspect.currentframe()))
)
def get_install_requirements(path):
with open(os.path.join(__location__, path), "r") as f:
content = f.read()
requires = [req for req in content.split("\\n") if req != ""]
return requires
NAME = "github-repo-secrets-manager"
PROJECT_URLS = {
"Bug Tracker": "https://github.com/rewindio/github-repo-secrets-manager/issues",
"Source Code": "https://github.com/rewindio/github-repo-secrets-manager",
}
CLASSIFIERS = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Topic :: System :: Systems Administration",
]
INSTALL_REQUIRES = get_install_requirements("requirements.txt")
SCRIPTS = ["github-repo-secrets-manager"]
setup(
name=NAME,
version="1.3.0",
description="Manage github repo secrets using a common configuration file",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/rewindio/github-repo-secrets-manager",
project_urls=PROJECT_URLS,
author="DaveN",
author_email="dave.north@rewind.io",
packages=find_packages(),
classifiers=CLASSIFIERS,
install_requires=INSTALL_REQUIRES,
include_package_data=True,
scripts=SCRIPTS,
)