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(
436436 os .path .join (output_path , 'pyproject.toml' )
437437 )
438438
439- # Get build backend from pyproject.toml:
439+ # Get build backend and requirements from pyproject.toml:
440440 with open (os .path .join (path , 'pyproject.toml' )) as f :
441441 build_sys = pytoml .load (f )['build-system' ]
442442 backend = build_sys ["build-backend" ]
443+ build_requires .extend (build_sys ["requires" ])
443444
444445 # Get a virtualenv with build requirements and get all metadata:
445446 env = BuildEnvironment ()
Original file line number Diff line number Diff line change 1010# makes it possible to override pytest args, e.g.
1111# tox -- tests/test_graph.py
1212commands = pytest {posargs:tests/}
13+ setenv =
14+ PYTHONPATH ={toxinidir}
1315
1416[testenv:pep8]
1517deps = flake8
You can’t perform that action at this time.
0 commit comments