File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -436,10 +436,11 @@ def _extract_metainfo_files_from_package_unsafe(
436
436
os .path .join (output_path , 'pyproject.toml' )
437
437
)
438
438
439
- # Get build backend from pyproject.toml:
439
+ # Get build backend and requirements from pyproject.toml:
440
440
with open (os .path .join (path , 'pyproject.toml' )) as f :
441
441
build_sys = pytoml .load (f )['build-system' ]
442
442
backend = build_sys ["build-backend" ]
443
+ build_requires .extend (build_sys ["requires" ])
443
444
444
445
# Get a virtualenv with build requirements and get all metadata:
445
446
env = BuildEnvironment ()
Original file line number Diff line number Diff line change 10
10
# makes it possible to override pytest args, e.g.
11
11
# tox -- tests/test_graph.py
12
12
commands = pytest {posargs:tests/}
13
+ setenv =
14
+ PYTHONPATH ={toxinidir}
13
15
14
16
[testenv:pep8]
15
17
deps = flake8
You can’t perform that action at this time.
0 commit comments