def get_version(lib_path=__library_name__): """figure out __version__.py information Notes: https://github.com/ccpgames/setuphelpers#git_version Args: lib_path (str): path to library with __version__.py Returns: str: semantic version of package """ ver_file = path.join(HERE, lib_path, '__version__.py') if path.isfile(ver_file): return find_version(ver_file) version = git_version() with io.open(ver_file, 'w', encoding='utf-8') as dunder_version: dunder_version.write('__version__ = \'{}\''.format(version)) return version
"""EVE Glue.""" import os from setuptools import setup, find_packages from setuphelpers import long_description, git_version, test_command setup( name="eve-glue", version="{}{}".format(git_version(), os.getenv( "PACKAGE_VERSION_SUFFIX", "")), description="eve-glue", long_description=long_description(), cmdclass=test_command(cover="eve_glue"), packages=find_packages(), author="Team Tech Co", author_email="*****@*****.**", url="https://github.com/ccpgames/eve-glue", setup_requires=["setuphelpers"], classifiers=[ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Flask", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3.5", "License :: OSI Approved :: MIT License", ], )
"""ESI slack bot.""" import os from setuptools import setup from setuptools import find_packages from setuphelpers import git_version from setuphelpers import test_command from setuphelpers import long_description setup( name="esi-bot", version=git_version(), description="ESI slack bot", long_description=long_description(), packages=find_packages(), cmdclass=test_command(cover="esi_bot"), author="Adam Talsma", author_email="*****@*****.**", url="https://github.com/esi/esi-bot/", download_url="https://github.com/esi/esi-bot/", install_requires=[ "requests >= 2.18.4", "slackclient == 1.3.2", "gevent >= 1.2.2", ], setup_requires=["setuphelpers >= 0.1.2"], entry_points={"console_scripts": ["esi-bot = esi_bot.bot:main"]}, classifiers=[ "Development Status :: 4 - Beta", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3.7",
"""esub python client library""" from setuptools import setup import setuphelpers setup( name="esub", version=setuphelpers.git_version(), description="esub python client library", author="Adam Talsma", author_email="se-adam@[email protected]", url="https://github.com/ccpgames/esub-client/", download_url="https://github.com/ccpgames/esub-client/", classifiers=[ "Development Status :: 2 - Pre-Alpha", "Operating System :: POSIX :: Linux", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", ], py_modules=["esub"], entry_points={"console_scripts": ["esub = esub:cli"]}, long_description=setuphelpers.long_description(), cmdclass=setuphelpers.test_command(cover="esub", pdb=True), tests_require=["pytest", "pytest-cov", "mock"], install_requires=["requests", "websockets", "docopt"], )