setup.py
This file
Path
setup.py
49 lines · 1.5 KiB · Python
Last changed by
Merge pull request #991 from dawran6/docs-#975Dan Sullybefore adoption43cb986
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 extras_require={28 'docs': [29 'sphinx',30 ],31 },32 description='A simple wrapper around optparse for '33 'powerful command line utilities.',34 license='BSD',35 classifiers=[36 'Development Status :: 5 - Production/Stable',37 'Intended Audience :: Developers',38 'License :: OSI Approved :: BSD License',39 'Operating System :: OS Independent'40 'Programming Language :: Python',41 'Programming Language :: Python :: 2',42 'Programming Language :: Python :: 2.7',43 'Programming Language :: Python :: 3',44 'Programming Language :: Python :: 3.4',45 'Programming Language :: Python :: 3.5',46 'Programming Language :: Python :: 3.6',47 ],48 python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",49)