Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
gns-logger / setup.py
Size: Mime:
import os
from setuptools import 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 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 an environment variable
version_number = os.environ.get('VERSION_NUMBER', '')

# This call to setup() does all the work
setup(
    name="gns-logger",
    version=version_number,
    description="Smart logger that is compatible for multi-threading environments",
    package_data={'': ['defaultConfig.yaml']},
    long_description=README_TXT,
    long_description_content_type="text/markdown",
    url="https://gitlab.com/genesort/pipeline2/gns-logger.git",
    author="Dana Blanc",
    author_email="danab@genesort.com",
    packages=["gnsLogger"], 
    install_requires=REQUIREMENTS_LST
)