Skip to content
Myr

setup.py

This file

Path

setup.py

44 lines · 1.4 KiB · Python

Last changed by

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

History of this file

Take it

The walk stopped after 200 commits: lines older than 85d1121 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 pull request #286 from anonfunc/patch-1Markus Unterwaditzerbefore adoption85d1121

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 pull request #286 from anonfunc/patch-1Markus Unterwaditzerbefore adoption85d1121

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 pull request #286 from anonfunc/patch-1Markus Unterwaditzerbefore adoption85d1121

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 pull request #286 from anonfunc/patch-1Markus Unterwaditzerbefore adoption85d1121

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 pull request #286 from anonfunc/patch-1Markus Unterwaditzerbefore adoption85d1121

lines 26–28why, one step back
26 packages=['click'],
27 description='A simple wrapper around optparse for '28 'powerful command line utilities.',

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

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

Merge pull request #286 from anonfunc/patch-1Markus Unterwaditzerbefore adoption85d1121

line 30why, one step back
30 classifiers=[

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

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

Merge pull request #286 from anonfunc/patch-1Markus Unterwaditzerbefore adoption85d1121

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

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

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

Merge pull request #286 from anonfunc/patch-1Markus Unterwaditzerbefore adoption85d1121

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

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

lines 36–37why, one step back
36 'Programming Language :: Python :: 2',
37 'Programming Language :: Python :: 2.7',

Merge pull request #286 from anonfunc/patch-1Markus Unterwaditzerbefore adoption85d1121

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

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

lines 39–41why, one step back
39 'Programming Language :: Python :: 3.4',
40 'Programming Language :: Python :: 3.5',41 'Programming Language :: Python :: 3.6',

Merge pull request #286 from anonfunc/patch-1Markus Unterwaditzerbefore adoption85d1121

line 42why, one step back
42 ],

Merge pull request #967 from jdufresne/pyreqZachery Birbefore adoptionba465d9

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

Merge pull request #286 from anonfunc/patch-1Markus Unterwaditzerbefore adoption85d1121

line 44why, one step back
44)