Skip to content
Myr

setup.py

This file

Path

setup.py

49 lines · 1.5 KiB · Python

Last changed by

Fix test for delayed progress bar displayJan Christoph Bischkobefore adoption82f9c62

History of this file

Take it

The walk stopped after 200 commits: lines older than 1646647 point at it.

Fix test for delayed progress bar displayJan Christoph Bischkobefore adoption82f9c62

lines 1–3why, one step back
1#!/usr/bin/env python
2# -*- coding: utf-8 -*-3import io

Disallow empty options to help users find options that should be arguments.Armin Ronacherbefore adoption1646647

lines 4–10why, one step back
4import re
5from setuptools import setup678_version_re = re.compile(r'__version__\s+=\s+(.*)')910

Fix test for delayed progress bar displayJan Christoph Bischkobefore adoption82f9c62

lines 11–12why, one step back
11with io.open('README.rst', 'rt', encoding='utf8') as f:
12 readme = f.read()

Disallow empty options to help users find options that should be arguments.Armin Ronacherbefore adoption1646647

line 13why, one step back
13

Fix test for delayed progress bar displayJan Christoph Bischkobefore adoption82f9c62

lines 14–15why, one step back
14with io.open('click/__init__.py', 'rt', encoding='utf8') as f:
15 version = re.search(r'__version__ = \'(.*?)\'', f.read()).group(1)

Disallow empty options to help users find options that should be arguments.Armin Ronacherbefore adoption1646647

lines 16–18why, one step back
16
17setup(18 name='click',

Fix test for delayed progress bar displayJan Christoph Bischkobefore adoption82f9c62

lines 19–20why, one step back
19 version=version,
20 url='https://www.palletsprojects.com/p/click/',

Disallow empty options to help users find options that should be arguments.Armin Ronacherbefore adoption1646647

lines 21–22why, one step back
21 author='Armin Ronacher',
22 author_email='armin.ronacher@active-4.com',

Fix test for delayed progress bar displayJan Christoph Bischkobefore adoption82f9c62

lines 23–25why, one step back
23 maintainer='Pallets team',
24 maintainer_email='contact@palletsprojects.com',25 long_description=readme,

Disallow empty options to help users find options that should be arguments.Armin Ronacherbefore adoption1646647

line 26why, one step back
26 packages=['click'],

Fix test for delayed progress bar displayJan Christoph Bischkobefore adoption82f9c62

lines 27–31why, one step back
27 extras_require={
28 'docs': [29 'sphinx',30 ],31 },

Disallow empty options to help users find options that should be arguments.Armin Ronacherbefore adoption1646647

lines 32–33why, one step back
32 description='A simple wrapper around optparse for '
33 'powerful command line utilities.',

Fix test for delayed progress bar displayJan Christoph Bischkobefore adoption82f9c62

line 34why, one step back
34 license='BSD',

Disallow empty options to help users find options that should be arguments.Armin Ronacherbefore adoption1646647

line 35why, one step back
35 classifiers=[

Fix test for delayed progress bar displayJan Christoph Bischkobefore adoption82f9c62

lines 36–37why, one step back
36 'Development Status :: 5 - Production/Stable',
37 'Intended Audience :: Developers',

Disallow empty options to help users find options that should be arguments.Armin Ronacherbefore adoption1646647

line 38why, one step back
38 'License :: OSI Approved :: BSD License',

Fix test for delayed progress bar displayJan Christoph Bischkobefore adoption82f9c62

line 39why, one step back
39 'Operating System :: OS Independent'

Disallow empty options to help users find options that should be arguments.Armin Ronacherbefore adoption1646647

line 40why, one step back
40 'Programming Language :: Python',

Fix test for delayed progress bar displayJan Christoph Bischkobefore adoption82f9c62

lines 41–42why, one step back
41 'Programming Language :: Python :: 2',
42 'Programming Language :: Python :: 2.7',

Disallow empty options to help users find options that should be arguments.Armin Ronacherbefore adoption1646647

line 43why, one step back
43 'Programming Language :: Python :: 3',

Fix test for delayed progress bar displayJan Christoph Bischkobefore adoption82f9c62

lines 44–46why, one step back
44 'Programming Language :: Python :: 3.4',
45 'Programming Language :: Python :: 3.5',46 'Programming Language :: Python :: 3.6',

Disallow empty options to help users find options that should be arguments.Armin Ronacherbefore adoption1646647

line 47why, one step back
47 ],

Fix test for delayed progress bar displayJan Christoph Bischkobefore adoption82f9c62

line 48why, one step back
48 python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",

Disallow empty options to help users find options that should be arguments.Armin Ronacherbefore adoption1646647

line 49why, one step back
49)