setup.py
This file
Path
setup.py
55 lines · 1.6 KiB · Python
Last changed by
Merge branch 'master' into upstreamJosiahDubbefore adoptiona4b6bbd
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://www.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 ]40 },41 classifiers=[42 'Development Status :: 5 - Production/Stable',43 'Intended Audience :: Developers',44 'License :: OSI Approved :: BSD License',45 'Operating System :: OS Independent'46 'Programming Language :: Python',47 'Programming Language :: Python :: 2',48 'Programming Language :: Python :: 2.7',49 'Programming Language :: Python :: 3',50 'Programming Language :: Python :: 3.4',51 'Programming Language :: Python :: 3.5',52 'Programming Language :: Python :: 3.6',53 ],54 python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",55)