Skip to content

Commit

Permalink
Merge #136
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
3 people authored Jun 16, 2020
2 parents 2440508 + 9061ba1 commit cc25ac1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
1 change: 1 addition & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ FreeBSD_task:
- PY=`echo $PYTHON | tr -d '.'`
- pkg install -y python${PY} py${PY}-setuptools
- python${PYTHON} -m ensurepip
- python${PYTHON} -m pip install -U 'pip>=19' # Hard requirement for no setup.py.
- python${PYTHON} -m pip install .[build]
- python${PYTHON} -m pip install .[release] .[testing]
script:
Expand Down
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[build-system]
# Specify the required build system.
requires = ["setuptools", "wheel"]
# Setuptools 40.9.0+ requirement is necessary to get rid of setup.py; see
# https://github.com/pypa/setuptools/pull/1675
requires = ["setuptools >= 40.9.0", "wheel"]
build-backend = "setuptools.build_meta"

[tool.bork.zipapp]
Expand Down
6 changes: 0 additions & 6 deletions setup.py

This file was deleted.

0 comments on commit cc25ac1

Please sign in to comment.