Skip to content
Myr

setup.py

This file

Path

setup.py

44 lines · 1.5 KiB · Python

Last changed by

standardize licenseDavid Lordbefore adoptiond64edda

History of this file

Take it

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

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

line 1why, one step back
1import io

Set console to binary on windows as fallbackArmin Ronacherbefore adoption6e33882

lines 2–4why, one step back
2import re
3from setuptools import setup4

Merge pull request #1120 from pallets/metaDavid Lordbefore adoptionb4d25f8

line 5why, one step back
5with io.open("README.rst", "rt", encoding="utf8") as f:

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

line 6why, one step back
6 readme = f.read()

Set console to binary on windows as fallbackArmin Ronacherbefore adoption6e33882

line 7why, one step back
7

Merge pull request #1120 from pallets/metaDavid Lordbefore adoptionb4d25f8

line 8why, one step back
8with io.open("click/__init__.py", "rt", encoding="utf8") as f:

standardize licenseDavid Lordbefore adoptiond64edda

line 9why, one step back
9 version = re.search(r"__version__ = '(.*?)'", f.read()).group(1)

Set console to binary on windows as fallbackArmin Ronacherbefore adoption6e33882

lines 10–11why, one step back
10
11setup(

revert to lowercase name "click"David Lordbefore adoption0d95fb0

line 12why, one step back
12 name="click",

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

line 13why, one step back
13 version=version,

Merge pull request #1120 from pallets/metaDavid Lordbefore adoptionb4d25f8

lines 14–18why, one step back
14 url="https://palletsprojects.com/p/click/",
15 project_urls={16 "Documentation": "https://click.palletsprojects.com/",17 "Code": "https://github.com/pallets/click",18 "Issue tracker": "https://github.com/pallets/click/issues",

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

line 19why, one step back
19 },

standardize licenseDavid Lordbefore adoptiond64edda

line 20why, one step back
20 license="BSD-3-Clause",

Merge pull request #1120 from pallets/metaDavid Lordbefore adoptionb4d25f8

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

standardize licenseDavid Lordbefore adoptiond64edda

line 23why, one step back
23 maintainer="Pallets",

Merge pull request #1120 from pallets/metaDavid Lordbefore adoptionb4d25f8

lines 24–29why, one step back
24 maintainer_email="contact@palletsprojects.com",
25 description="Composable command line interface toolkit",26 long_description=readme,27 packages=["click"],28 include_package_data=True,29 python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",

Set console to binary on windows as fallbackArmin Ronacherbefore adoption6e33882

line 30why, one step back
30 classifiers=[

Merge pull request #1120 from pallets/metaDavid Lordbefore adoptionb4d25f8

lines 31–42why, one step back
31 "Development Status :: 5 - Production/Stable",
32 "Intended Audience :: Developers",33 "License :: OSI Approved :: BSD License",34 "Operating System :: OS Independent",35 "Programming Language :: Python",36 "Programming Language :: Python :: 2",37 "Programming Language :: Python :: 2.7",38 "Programming Language :: Python :: 3",39 "Programming Language :: Python :: 3.4",40 "Programming Language :: Python :: 3.5",41 "Programming Language :: Python :: 3.6",42 "Programming Language :: Python :: 3.7",

Set console to binary on windows as fallbackArmin Ronacherbefore adoption6e33882

lines 43–44why, one step back
43 ],
44)