Skip to content

Commit 8822f91

Browse files
committed
Prefer pep517 for building the project
1 parent e9cbdb2 commit 8822f91

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

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)