-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
35 lines (30 loc) · 1.33 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
#*****************************************************************#
# (C) Copyright IBM Corporation 2020. #
# #
# The source code for this program is not published or otherwise #
# divested of its trade secrets, irrespective of what has been #
# deposited with the U.S. Copyright Office. #
#*****************************************************************#
import os
from setuptools import setup, find_packages
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), "README.md")) as f:
long_description = f.read()
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), "requirements.txt")) as f:
requirements = f.readlines()
# Read version from the env
version = os.environ.get("RELEASE_VERSION")
assert version is not None, "Must set RELEASE_VERSION"
setup(
name="alchemy-config",
version=version,
description="Configuration framework in Python for general configuration use.",
long_description_content_type="text/markdown",
long_description=long_description,
url="https://github.com/IBM/alchemy-config",
author="Gabe Goodhart",
author_email="[email protected]",
license="MIT",
keywords="config",
packages=["aconfig"],
install_requires=requirements,
)