Skip to content
Myr

setup.py

This file

Path

setup.py

37 lines · 1.2 KiB · Python

Last changed by

update project metadataDavid Lordbefore adoption3592995

History of this file

Take it

1import io2import re3from setuptools import setup45with io.open("README.rst", "rt", encoding="utf8") as f:6    readme = f.read()78with io.open("click/__init__.py", "rt", encoding="utf8") as f:9    version = re.search(r"__version__ = '(.*?)'", f.read()).group(1)1011setup(12    name="click",13    version=version,14    url="https://palletsprojects.com/p/click/",15    project_urls={16        "Documentation": "https://click.palletsprojects.com/",17        "Code": "https://github.com/pallets/click",18        "Issue tracker": "https://github.com/pallets/click/issues",19    },20    license="BSD-3-Clause",21    maintainer="Pallets",22    maintainer_email="contact@palletsprojects.com",23    description="Composable command line interface toolkit",24    long_description=readme,25    packages=["click"],26    include_package_data=True,27    python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",28    classifiers=[29        "Development Status :: 5 - Production/Stable",30        "Intended Audience :: Developers",31        "License :: OSI Approved :: BSD License",32        "Operating System :: OS Independent",33        "Programming Language :: Python",34        "Programming Language :: Python :: 2",35        "Programming Language :: Python :: 3",36    ],37)