setup.py
This file
Path
setup.py
40 lines · 1.3 KiB · Python
Last changed by
apply blackDavid Lordbefore adoption93ba3ba
History of this fileTake it
1import io2import re34from setuptools import find_packages5from setuptools import setup67with io.open("README.rst", "rt", encoding="utf8") as f:8 readme = f.read()910with io.open("src/click/__init__.py", "rt", encoding="utf8") as f:11 version = re.search(r'__version__ = "(.*?)"', f.read()).group(1)1213setup(14 name="click",15 version=version,16 url="https://palletsprojects.com/p/click/",17 project_urls={18 "Documentation": "https://click.palletsprojects.com/",19 "Code": "https://github.com/pallets/click",20 "Issue tracker": "https://github.com/pallets/click/issues",21 },22 license="BSD-3-Clause",23 maintainer="Pallets",24 maintainer_email="contact@palletsprojects.com",25 description="Composable command line interface toolkit",26 long_description=readme,27 packages=find_packages("src"),28 package_dir={"": "src"},29 include_package_data=True,30 python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",31 classifiers=[32 "Development Status :: 5 - Production/Stable",33 "Intended Audience :: Developers",34 "License :: OSI Approved :: BSD License",35 "Operating System :: OS Independent",36 "Programming Language :: Python",37 "Programming Language :: Python :: 2",38 "Programming Language :: Python :: 3",39 ],40)