summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2018-09-24 08:21:11 -0700
committerDavid Lord <davidism@gmail.com>2018-09-24 08:21:11 -0700
commit5585856f5a7075656f94ffa2af8757cbd1b4fcca (patch)
treed4e393b3263de84a7ce5cce81913d7993aeee862 /setup.py
parenta589835a5b656eec4bace076ac7e947662c1cc68 (diff)
downloadclick-meta.tar.gz
update metadatameta
test on 3.7 fix collections deprecation warning
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py75
1 files changed, 31 insertions, 44 deletions
diff --git a/setup.py b/setup.py
index 194d1d4..1c18dc7 100644
--- a/setup.py
+++ b/setup.py
@@ -1,57 +1,44 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
import io
import re
from setuptools import setup
-
-_version_re = re.compile(r'__version__\s+=\s+(.*)')
-
-
-with io.open('README.rst', 'rt', encoding='utf8') as f:
+with io.open("README.rst", "rt", encoding="utf8") as f:
readme = f.read()
-with io.open('click/__init__.py', 'rt', encoding='utf8') as f:
- version = re.search(r'__version__ = \'(.*?)\'', f.read()).group(1)
+with io.open("click/__init__.py", "rt", encoding="utf8") as f:
+ version = re.search(r"__version__ = \'(.*?)\'", f.read()).group(1)
setup(
- name='click',
+ name="Click",
version=version,
- url='https://palletsprojects.com/p/click/',
- author='Armin Ronacher',
- author_email='armin.ronacher@active-4.com',
- maintainer='Pallets team',
- maintainer_email='contact@palletsprojects.com',
- long_description=readme,
- packages=['click'],
- description='A simple wrapper around optparse for '
- 'powerful command line utilities.',
- license='BSD',
- extras_require={
- 'dev': [
- 'pytest>=3',
- 'coverage',
- 'tox',
- 'sphinx',
- ],
- 'docs': [
- 'sphinx',
- 'Pallets-Sphinx-Themes',
- ]
+ url="https://palletsprojects.com/p/click/",
+ project_urls={
+ "Documentation": "https://click.palletsprojects.com/",
+ "Code": "https://github.com/pallets/click",
+ "Issue tracker": "https://github.com/pallets/click/issues",
},
+ license="BSD",
+ author="Armin Ronacher",
+ author_email="armin.ronacher@active-4.com",
+ maintainer="Pallets Team",
+ maintainer_email="contact@palletsprojects.com",
+ description="Composable command line interface toolkit",
+ long_description=readme,
+ packages=["click"],
+ include_package_data=True,
+ python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
classifiers=[
- 'Development Status :: 5 - Production/Stable',
- 'Intended Audience :: Developers',
- 'License :: OSI Approved :: BSD License',
- 'Operating System :: OS Independent',
- 'Programming Language :: Python',
- 'Programming Language :: Python :: 2',
- 'Programming Language :: Python :: 2.7',
- 'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3.4',
- 'Programming Language :: Python :: 3.5',
- 'Programming Language :: Python :: 3.6',
- 'Programming Language :: Python :: 3.7',
+ "Development Status :: 5 - Production/Stable",
+ "Intended Audience :: Developers",
+ "License :: OSI Approved :: BSD License",
+ "Operating System :: OS Independent",
+ "Programming Language :: Python",
+ "Programming Language :: Python :: 2",
+ "Programming Language :: Python :: 2.7",
+ "Programming Language :: Python :: 3",
+ "Programming Language :: Python :: 3.4",
+ "Programming Language :: Python :: 3.5",
+ "Programming Language :: Python :: 3.6",
+ "Programming Language :: Python :: 3.7",
],
- python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
)