"""Version of typed-astunparse package.""" from version_query import predict_version_str VERSION = predict_version_str()
"""Version of version_query package.""" from version_query import predict_version_str VERSION = predict_version_str()
from setuptools import setup, find_packages import os from version_query import predict_version_str file_dir = os.path.abspath(os.path.dirname(__file__)) __version__ = predict_version_str().split("+")[0] name = 'pyansiescapes' # Get the long description from the README file with open(os.path.join(file_dir, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup( name = name, version = __version__, author='Till Hainbach', author_email='*****@*****.**', description = 'Python package for quick and readable console manipulation using ANSI Escapes Sequences', long_description = long_description, long_description_content_type="text/markdown", url='https://github.com/tillhainbach/' + name, packages = find_packages(), install_requires=[ 'emojis', ], classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3 ', 'Programming Language :: Python :: 3 :: Only', ],
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Clippy generates command-line interfaces for Python modules. """ import os import sys import setuptools from version_query import predict_version_str # pylint: disable=import-error __version__ = predict_version_str() THIS_VERSION = sys.version_info[:2] REQUIRED_VERSION = (3, 6) if THIS_VERSION < REQUIRED_VERSION: sys.stderr.write("Python version is not high enough to run this library.") sys.exit(1) THIS_FOLDER = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(THIS_FOLDER, "readme.md"), encoding="utf-8") as f: LONG_DESCRIPTION = f.read() setuptools.setup( name="Clippy", version=__version__, author="Steve Richey",
def get_version() -> str: return version_query.predict_version_str()
from setuptools import setup import version_query setup(name="demo_python_package", version=version_query.predict_version_str(), description="Demo library for demo and testing purposes", packages=["complexlib"], py_modules=["simplelib"], python_requires=">=3.7", install_requires=["requests>=2.24,<2.25"], setup_requires=["version-query"])