python-click/setup.py

58 lines
1.7 KiB
Python
Raw Normal View History

2018-09-06 20:55:10 +02:00
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import io
2014-10-16 20:40:34 +02:00
import re
from setuptools import setup
_version_re = re.compile(r'__version__\s+=\s+(.*)')
2018-09-06 20:55:10 +02:00
with io.open('README.rst', 'rt', encoding='utf8') as f:
readme = f.read()
2014-10-16 20:40:34 +02:00
2018-09-06 20:55:10 +02:00
with io.open('click/__init__.py', 'rt', encoding='utf8') as f:
version = re.search(r'__version__ = \'(.*?)\'', f.read()).group(1)
2014-10-16 20:40:34 +02:00
setup(
name='click',
2018-09-06 20:55:10 +02:00
version=version,
url='https://palletsprojects.com/p/click/',
2014-10-16 20:40:34 +02:00
author='Armin Ronacher',
author_email='armin.ronacher@active-4.com',
2018-09-06 20:55:10 +02:00
maintainer='Pallets team',
maintainer_email='contact@palletsprojects.com',
long_description=readme,
2014-10-16 20:40:34 +02:00
packages=['click'],
description='A simple wrapper around optparse for '
'powerful command line utilities.',
2018-09-06 20:55:10 +02:00
license='BSD',
extras_require={
'dev': [
'pytest>=3',
'coverage',
'tox',
'sphinx',
],
'docs': [
'sphinx',
'Pallets-Sphinx-Themes',
]
},
2014-10-16 20:40:34 +02:00
classifiers=[
2018-09-06 20:55:10 +02:00
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
2014-10-16 20:40:34 +02:00
'License :: OSI Approved :: BSD License',
2018-09-06 20:55:10 +02:00
'Operating System :: OS Independent',
2014-10-16 20:40:34 +02:00
'Programming Language :: Python',
2018-09-06 20:55:10 +02:00
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
2014-10-16 20:40:34 +02:00
'Programming Language :: Python :: 3',
2018-09-06 20:55:10 +02:00
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
2014-10-16 20:40:34 +02:00
],
2018-09-06 20:55:10 +02:00
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
2014-10-16 20:40:34 +02:00
)