Use cwd to run test projects, not package_dir
This commit is contained in:
@@ -64,8 +64,9 @@ def cibuildwheel_run(project_path, env=None, add_env=None, output_dir=None):
|
|||||||
|
|
||||||
with TemporaryDirectoryIfNone(output_dir) as _output_dir:
|
with TemporaryDirectoryIfNone(output_dir) as _output_dir:
|
||||||
subprocess.check_call(
|
subprocess.check_call(
|
||||||
[sys.executable, '-m', 'cibuildwheel', '--output-dir', str(_output_dir), project_path],
|
[sys.executable, '-m', 'cibuildwheel', '--output-dir', str(_output_dir)],
|
||||||
env=env,
|
env=env,
|
||||||
|
cwd=project_path,
|
||||||
)
|
)
|
||||||
wheels = os.listdir(_output_dir)
|
wheels = os.listdir(_output_dir)
|
||||||
return wheels
|
return wheels
|
||||||
|
|||||||
Reference in New Issue
Block a user