setup.py
This file
Path
setup.py
57 lines · 1.7 KiB · Python
Last changed by
Merge pull request #1100 from pallets/sphinxDavid Lordbefore adoptionb1b8c48
History of this fileTake it
1#!/usr/bin/env python2# -*- coding: utf-8 -*-3import io4import re5from setuptools import setup678_version_re = re.compile(r'__version__\s+=\s+(.*)')91011with io.open('README.rst', 'rt', encoding='utf8') as f:12 readme = f.read()1314with io.open('click/__init__.py', 'rt', encoding='utf8') as f:15 version = re.search(r'__version__ = \'(.*?)\'', f.read()).group(1)1617setup(18 name='click',19 version=version,20 url='https://palletsprojects.com/p/click/',21 author='Armin Ronacher',22 author_email='armin.ronacher@active-4.com',23 maintainer='Pallets team',24 maintainer_email='contact@palletsprojects.com',25 long_description=readme,26 packages=['click'],27 description='A simple wrapper around optparse for '28 'powerful command line utilities.',29 license='BSD',30 extras_require={31 'dev': [32 'pytest>=3',33 'coverage',34 'tox',35 'sphinx',36 ],37 'docs': [38 'sphinx',39 'Pallets-Sphinx-Themes',40 ]41 },42 classifiers=[43 'Development Status :: 5 - Production/Stable',44 'Intended Audience :: Developers',45 'License :: OSI Approved :: BSD License',46 'Operating System :: OS Independent',47 'Programming Language :: Python',48 'Programming Language :: Python :: 2',49 'Programming Language :: Python :: 2.7',50 'Programming Language :: Python :: 3',51 'Programming Language :: Python :: 3.4',52 'Programming Language :: Python :: 3.5',53 'Programming Language :: Python :: 3.6',54 'Programming Language :: Python :: 3.7',55 ],56 python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",57)