Skip to content

Commit cc25ac1

Browse files
bors[bot]nicoonoclasteduckinator
authored
Merge #136
136: Remove setup.py. r=duckinator a=duckinator Replaces and closes #58. Original description for #58: > Followup on #55. > > - [x] Get rid of `setup.py`, which was made optional by pypa/setuptools#1675. > - [x] Set a version requirement for `setuptools`. Co-authored-by: Nicolas Braud-Santoni <[email protected]> Co-authored-by: Ellen Marie Dash <[email protected]>
2 parents 2440508 + 9061ba1 commit cc25ac1

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

.cirrus.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ FreeBSD_task:
6767
- PY=`echo $PYTHON | tr -d '.'`
6868
- pkg install -y python${PY} py${PY}-setuptools
6969
- python${PYTHON} -m ensurepip
70+
- python${PYTHON} -m pip install -U 'pip>=19' # Hard requirement for no setup.py.
7071
- python${PYTHON} -m pip install .[build]
7172
- python${PYTHON} -m pip install .[release] .[testing]
7273
script:

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
[build-system]
22
# Specify the required build system.
3-
requires = ["setuptools", "wheel"]
3+
# Setuptools 40.9.0+ requirement is necessary to get rid of setup.py; see
4+
# https://github.com/pypa/setuptools/pull/1675
5+
requires = ["setuptools >= 40.9.0", "wheel"]
46
build-backend = "setuptools.build_meta"
57

68
[tool.bork.zipapp]

setup.py

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)