Skip to content

Commit 0483a64

Browse files
committed
Implement PEP 518 and opt into PEP 517 builds
1 parent 83148c5 commit 0483a64

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
include pyproject.toml
2+
13
# Include the README
24
include *.md
35

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[build-system]
2+
# These are Pip's default requirements:
3+
# https://pip.pypa.io/en/stable/reference/pip/#pep-517-and-518-support
4+
requires = ["setuptools>=40.8.0", "wheel"]
5+
build-backend = "setuptools.build_meta"

tox.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,14 @@
1313
# and also to help confirm pull requests to this project.
1414

1515
[tox]
16+
minversion = 3.7.0
1617
envlist = py{27,35,36,37,38}
1718

19+
# Activate isolated build environment. tox will use a virtual environment
20+
# to build a source distribution from the source tree. For build tools and
21+
# arguments use the pyproject.toml file as specified in PEP-517 and PEP-518.
22+
isolated_build = true
23+
1824
[testenv]
1925
deps =
2026
check-manifest

0 commit comments

Comments
 (0)