from dist_utils import fetch_requirements from dist_utils import apply_vagrant_workaround from dist_utils import get_version_string ST2_COMPONENT = 'st2tests' BASE_DIR = os.path.dirname(os.path.abspath(__file__)) REQUIREMENTS_FILE = os.path.join(BASE_DIR, 'requirements.txt') INIT_FILE = os.path.join(BASE_DIR, 'st2tests/__init__.py') install_reqs, dep_links = fetch_requirements(REQUIREMENTS_FILE) # Note: we can't directly import __version__ from __init__ because of aliased imports in init # which would result in setup.py requiring eventlet and other dependencies to run. apply_vagrant_workaround() setup(name=ST2_COMPONENT, version=get_version_string(INIT_FILE), description='{} StackStorm event-driven automation platform component'. format(ST2_COMPONENT), author='StackStorm', author_email='*****@*****.**', license='Apache License (2.0)', url='https://stackstorm.com/', install_requires=install_reqs, dependency_links=dep_links, test_suite=ST2_COMPONENT, zip_safe=False, include_package_data=True, packages=find_packages(exclude=['setuptools', 'tests']))
def test_get_version_string(self): version = get_version_string(VERSION_FILE_PATH) self.assertEqual(version, '1.2.3')
from setuptools import setup from setuptools import find_packages from dist_utils import fetch_requirements from dist_utils import get_version_string BASE_DIR = os.path.dirname(os.path.abspath(__file__)) REQUIREMENTS_FILE = os.path.join(BASE_DIR, "requirements.txt") TESTS_REQUIREMENTS_FILE = os.path.join(BASE_DIR, "test-requirements.txt") install_reqs, install_dep_links = fetch_requirements(REQUIREMENTS_FILE) test_reqs, test_dep_links = fetch_requirements(TESTS_REQUIREMENTS_FILE) sys.path.insert(0, BASE_DIR) version = get_version_string(os.path.join(BASE_DIR, "dcsm/__init__.py")) setup( name="dcsm", version=version, description= ("Simple Docker Compose secrets management using RSA asymmetric crypto + YAML secrets files" ), long_description=open("README.md").read(), long_description_content_type="text/markdown", author="Tomaz Muraus", author_email="*****@*****.**", license="Apache 2.0", url="https://github.com/Kami/dcsm", include_package_data=True, packages=find_packages(exclude=["setuptools", "tests"]),
from dist_utils import fetch_requirements from dist_utils import apply_vagrant_workaround from dist_utils import get_version_string ST2_COMPONENT = 'st2common' BASE_DIR = os.path.dirname(os.path.abspath(__file__)) REQUIREMENTS_FILE = os.path.join(BASE_DIR, 'requirements.txt') INIT_FILE = os.path.join(BASE_DIR, 'st2common/__init__.py') install_reqs, dep_links = fetch_requirements(REQUIREMENTS_FILE) apply_vagrant_workaround() setup( name=ST2_COMPONENT, version=get_version_string(INIT_FILE), description='{} StackStorm event-driven automation platform component'.format(ST2_COMPONENT), author='StackStorm', author_email='*****@*****.**', license='Apache License (2.0)', url='https://stackstorm.com/', install_requires=install_reqs, dependency_links=dep_links, test_suite=ST2_COMPONENT, zip_safe=False, include_package_data=True, packages=find_packages(exclude=['setuptools', 'tests']), scripts=[ 'bin/st2-bootstrap-rmq', 'bin/st2-cleanup-db', 'bin/st2-register-content',
from distutils.core import Command from setuptools import setup from dist_utils import fetch_requirements from dist_utils import get_version_string BASE_DIR = os.path.dirname(os.path.abspath(__file__)) REQUIREMENTS_FILE = os.path.join(BASE_DIR, "requirements.txt") TESTS_REQUIREMENTS_FILE = os.path.join(BASE_DIR, "test-requirements.txt") install_reqs, install_dep_links = fetch_requirements(REQUIREMENTS_FILE) test_reqs, test_dep_links = fetch_requirements(TESTS_REQUIREMENTS_FILE) sys.path.insert(0, BASE_DIR) version = get_version_string(os.path.join(BASE_DIR, "wx_server/__init__.py")) setup( name="wx-server", version=version, description=( "HTTP server for persisting weather station observations in Ecowitt and Weather " "Underground format to disk." ), long_description=open("README.md").read(), long_description_content_type="text/markdown", author="Tomaz Muraus", author_email="*****@*****.**", license="Apache 2.0", url="https://github.com/Kami/raspberry-pi-ham-radio",
from dist_utils import fetch_requirements from dist_utils import get_version_string from dist_utils import check_pip_version check_pip_version("19.1.0") BASE_DIR = os.path.dirname(os.path.abspath(__file__)) REQUIREMENTS_FILE = os.path.join(BASE_DIR, "requirements.txt") TESTS_REQUIREMENTS_FILE = os.path.join(BASE_DIR, "test-requirements.txt") install_reqs, _ = fetch_requirements(REQUIREMENTS_FILE) test_reqs, _ = fetch_requirements(TESTS_REQUIREMENTS_FILE) sys.path.insert(0, BASE_DIR) version = get_version_string(os.path.join(BASE_DIR, "radio_bridge/__init__.py")) setup( name="radio-bridge", version=version, description= ("Software for Ham Radio Repeater based automation designed to run on Raspberry Pi." ), long_description=open("README.md").read(), long_description_content_type="text/markdown", author="Tomaz Muraus", author_email="*****@*****.**", license="Apache 2.0", url="https://github.com/Kami/raspberry-pi-ham-radio", include_package_data=True, packages=find_packages(exclude=["setuptools", "tests"]),
MODULE_NAME = 'orquestaconvert' BASE_DIR = os.path.dirname(os.path.abspath(__file__)) REQUIREMENTS_FILE = os.path.join(BASE_DIR, 'requirements.txt') INIT_FILE = os.path.join(BASE_DIR, MODULE_NAME + '/__init__.py') install_reqs, dep_links = dist_utils.fetch_requirements(REQUIREMENTS_FILE) with open("README.md", "r") as fh: long_description = fh.read() dist_utils.apply_vagrant_workaround() setuptools.setup( name=MODULE_NAME, version=dist_utils.get_version_string(INIT_FILE), description= 'Tool to convert OpenStack Mistral workflows to StackStorm Orquesta workflows', long_description=long_description, long_description_content_type="text/markdown", author='StackStorm', author_email='*****@*****.**', url='https://stackstorm.com/', install_requires=install_reqs, dependency_links=dep_links, test_suite=MODULE_NAME, zip_safe=False, include_package_data=True, packages=setuptools.find_packages(exclude=['setuptools', 'tests']), scripts=[ 'bin/orquestaconvert.sh',