Skip to content

Commit 6879db5

Browse files
authored
Merge pull request #372 from pypa/feature/pep517-build-wheel
Prefer pep517 for building the project
2 parents 6d09c37 + 45d920d commit 6879db5

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ include testing/*.py
77
include tox.ini
88
include *.rst
99
include LICENSE
10+
include *.toml

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ init:
1717

1818
- ECHO "Updating Environment"
1919
- python -m pip install -U pip
20-
- python -m pip install -U wheel
20+
- python -m pip install -U pep517
2121
- python -m pip install -U --upgrade-strategy=eager tox
2222

2323

@@ -35,7 +35,7 @@ test_script:
3535

3636
after_test:
3737
# If tests are successful, create a whl package for the project.
38-
- "%CMD_IN_ENV% python setup.py bdist_wheel"
38+
- python -m pep517.build --binary .
3939
- ps: "ls dist"
4040

4141
artifacts:

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["setuptools>=34.4", "wheel"]
3+
build-backend = "setuptools.build_meta"

0 commit comments

Comments
 (0)