Skip to content
Myr

setup.py

This file

Path

setup.py

55 lines · 1.6 KiB · Python

Last changed by

Merge pull request #1078 from dbieber/patch-1Dan Sullybefore adoptiondbc785f

History of this file

Take it

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

Merge pull request #990 from dougharris/click-readmeDavid Lordbefore adoptiondf1a8f5

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

Merge branch '5.x-maintenance'Markus Unterwaditzerbefore adoption41cb9c9

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

Merge pull request #990 from dougharris/click-readmeDavid Lordbefore adoptiondf1a8f5

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

Merge branch '5.x-maintenance'Markus Unterwaditzerbefore adoption41cb9c9

line 13why, one step back
13

Merge pull request #990 from dougharris/click-readmeDavid Lordbefore adoptiondf1a8f5

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)

Merge branch '5.x-maintenance'Markus Unterwaditzerbefore adoption41cb9c9

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

Merge pull request #976 from lepture/patch-versionsDavid Lordbefore adoption6149432

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

Merge branch '5.x-maintenance'Markus Unterwaditzerbefore adoption41cb9c9

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

Merge pull request #976 from lepture/patch-versionsDavid Lordbefore adoption6149432

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

Merge pull request #990 from dougharris/click-readmeDavid Lordbefore adoptiondf1a8f5

line 25why, one step back
25 long_description=readme,

Merge branch '5.x-maintenance'Markus Unterwaditzerbefore adoption41cb9c9

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

Merge pull request #996 from dougharris/lambda-844-547Dan Sullybefore adoptionbc53a96

lines 27–29why, one step back
27 description='A simple wrapper around optparse for '
28 'powerful command line utilities.',29 license='BSD',

Merge pull request #991 from dawran6/docs-#975Dan Sullybefore adoption43cb986

line 30why, one step back
30 extras_require={

Merge pull request #996 from dougharris/lambda-844-547Dan Sullybefore adoptionbc53a96

lines 31–34why, one step back
31 'dev': [
32 'pytest>=3',33 'coverage',34 'tox',

Merge pull request #991 from dawran6/docs-#975Dan Sullybefore adoption43cb986

lines 35–36why, one step back
35 'sphinx',
36 ],

Merge pull request #996 from dougharris/lambda-844-547Dan Sullybefore adoptionbc53a96

lines 37–39why, one step back
37 'docs': [
38 'sphinx',39 ]

Merge pull request #991 from dawran6/docs-#975Dan Sullybefore adoption43cb986

line 40why, one step back
40 },

Merge branch '5.x-maintenance'Markus Unterwaditzerbefore adoption41cb9c9

line 41why, one step back
41 classifiers=[

Merge pull request #976 from lepture/patch-versionsDavid Lordbefore adoption6149432

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

Merge branch '5.x-maintenance'Markus Unterwaditzerbefore adoption41cb9c9

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

Merge pull request #1078 from dbieber/patch-1Dan Sullybefore adoptiondbc785f

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

Merge branch '5.x-maintenance'Markus Unterwaditzerbefore adoption41cb9c9

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

Merge pull request #976 from lepture/patch-versionsDavid Lordbefore adoption6149432

lines 47–48why, one step back
47 'Programming Language :: Python :: 2',
48 'Programming Language :: Python :: 2.7',

Merge branch '5.x-maintenance'Markus Unterwaditzerbefore adoption41cb9c9

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

Merge pull request #976 from lepture/patch-versionsDavid Lordbefore adoption6149432

lines 50–52why, one step back
50 'Programming Language :: Python :: 3.4',
51 'Programming Language :: Python :: 3.5',52 'Programming Language :: Python :: 3.6',

Merge branch '5.x-maintenance'Markus Unterwaditzerbefore adoption41cb9c9

line 53why, one step back
53 ],

Merge pull request #967 from jdufresne/pyreqZachery Birbefore adoptionba465d9

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

Merge branch '5.x-maintenance'Markus Unterwaditzerbefore adoption41cb9c9

line 55why, one step back
55)