Skip to content
Myr

setup.py

This file

Path

setup.py

40 lines · 1.3 KiB · Python

Last changed by

apply blackDavid Lordbefore adoption93ba3ba

History of this file

Take it

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

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

line 1why, one step back
1import io

Merge branch '6.x-maintenance'Armin Ronacherbefore adoption92532b5

line 2why, one step back
2import re

move to src directoryDavid Lordbefore adoption079f91a

lines 3–4why, one step back
3
4from setuptools import find_packages

Merge branch '6.x-maintenance'Armin Ronacherbefore adoption92532b5

lines 5–6why, one step back
5from setuptools import setup
6

Merge pull request #1120 from pallets/metaDavid Lordbefore adoptionb4d25f8

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

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

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

Merge branch '6.x-maintenance'Armin Ronacherbefore adoption92532b5

line 9why, one step back
9

move to src directoryDavid Lordbefore adoption079f91a

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

apply blackDavid Lordbefore adoption93ba3ba

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

Merge branch '6.x-maintenance'Armin Ronacherbefore adoption92532b5

lines 12–13why, one step back
12
13setup(

Update setup.pyDavid Lordbefore adoption9ae1614

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

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

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

Merge pull request #1120 from pallets/metaDavid Lordbefore adoptionb4d25f8

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

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

line 21why, one step back
21 },

update project metadataDavid Lordbefore adoption3592995

lines 22–23why, one step back
22 license="BSD-3-Clause",
23 maintainer="Pallets",

Merge pull request #1120 from pallets/metaDavid Lordbefore adoptionb4d25f8

lines 24–26why, one step back
24 maintainer_email="contact@palletsprojects.com",
25 description="Composable command line interface toolkit",26 long_description=readme,

move to src directoryDavid Lordbefore adoption079f91a

lines 27–28why, one step back
27 packages=find_packages("src"),
28 package_dir={"": "src"},

Merge pull request #1120 from pallets/metaDavid Lordbefore adoptionb4d25f8

line 29why, one step back
29 include_package_data=True,

update project metadataDavid Lordbefore adoption3592995

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

Merge branch '6.x-maintenance'Armin Ronacherbefore adoption92532b5

line 31why, one step back
31 classifiers=[

Merge pull request #1120 from pallets/metaDavid Lordbefore adoptionb4d25f8

lines 32–38why, one step back
32 "Development Status :: 5 - Production/Stable",
33 "Intended Audience :: Developers",34 "License :: OSI Approved :: BSD License",35 "Operating System :: OS Independent",36 "Programming Language :: Python",37 "Programming Language :: Python :: 2",38 "Programming Language :: Python :: 3",

Merge branch '6.x-maintenance'Armin Ronacherbefore adoption92532b5

lines 39–40why, one step back
39 ],
40)