Repository URL to install this package:
|
Version:
1.1.33 ▾
|
gns-configurator
/
setup.py
|
|---|
import os
from setuptools import find_packages, setup
# The directory containing this file
HERE = os.path.dirname(os.path.realpath(__file__))
# The path of the README file
README_PATH = os.path.join(HERE, "README.md")
# The text of the README file
with open(README_PATH) as readme:
README_TXT = readme.read()
#The path of the reuirements.txt file
REQUIREMENTS_PATH = os.path.join(HERE, "requirements.txt")
#The requiremnets list
with open(REQUIREMENTS_PATH) as requirements:
REQUIREMENTS_LST = requirements.read().splitlines()
# The text of the README file
with open(README_PATH) as readme:
README_TXT = readme.read()
# The new version number is based on the tag of the commit
version_number = os.environ.get('VERSION_NUMBER', '')
# This call to setup() does all the work
setup(
name="gns-configurator",
version=version_number,
description="Manage namespaced configurations for a project",
long_description=README_TXT,
long_description_content_type="text/markdown",
url="https://gitlab.com/genesort/pipeline2/gns-configurator-lib.git",
author="Idan Budin",
author_email="idanb@genesort.com",
packages=find_packages(),
install_requires=REQUIREMENTS_LST
)