setup.py
This file
Path
setup.py
44 lines · 1.5 KiB · Python
Last changed by
Update setup.pyDavid Lordbefore adoption9ae1614
History of this fileTake 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",21 author="Armin Ronacher",22 author_email="armin.ronacher@active-4.com",23 maintainer="Pallets Team",24 maintainer_email="contact@palletsprojects.com",25 description="Composable command line interface toolkit",26 long_description=readme,27 packages=["click"],28 include_package_data=True,29 python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",30 classifiers=[31 "Development Status :: 5 - Production/Stable",32 "Intended Audience :: Developers",33 "License :: OSI Approved :: BSD License",34 "Operating System :: OS Independent",35 "Programming Language :: Python",36 "Programming Language :: Python :: 2",37 "Programming Language :: Python :: 2.7",38 "Programming Language :: Python :: 3",39 "Programming Language :: Python :: 3.4",40 "Programming Language :: Python :: 3.5",41 "Programming Language :: Python :: 3.6",42 "Programming Language :: Python :: 3.7",43 ],44)