Skip to content

Commit 42c45ee

Browse files
committed
Add test for pyproject.toml-style project using setuptools
1 parent 7a65ab1 commit 42c45ee

File tree

3 files changed

+12
-0
lines changed

3 files changed

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

test/fixtures/pyproject-toml/setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from setuptools import setup
2+
3+
4+
setup(name="foobar", version="1.0.0")

test/run-features

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ testPipenvFullVersion() {
7070
assertCapturedSuccess
7171
}
7272

73+
testPyProjectToml() {
74+
compile "pyproject-toml"
75+
assertCapturedSuccess
76+
}
77+
7378
testPoetry() {
7479
compile "poetry"
7580
assertCapturedSuccess

0 commit comments

Comments
 (0)