Repository URL to install this package:
|
Version:
1.0.9 ▾
|
gns-pipeline-cleaner
/
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()
# version number must be set as an environment variable
version_number = os.environ.get('VERSION_NUMBER', '')
# This call to setup() does all the work
setup(
name="gns-pipeline-cleaner",
version=version_number,
description="Removing files from a list in a YAML configuration file",
long_description=README_TXT,
long_description_content_type="text/markdown",
url="https://gitlab.com/genesort/pipeline2/gns-pipeline-utils.git",
data_files=["Pipfile", "Pipfile.lock", "requirements.txt"],
author="Idan Budin",
author_email="idanb@genesort.com",
packages=find_packages(exclude="test_files"),
install_requires=REQUIREMENTS_LST,
scripts=["bin/pipeline-cleanup"]
)