ensure that package_dir is provided as package

This commit is contained in:
Grzegorz Bokota
2020-06-06 20:05:09 +02:00
parent 31c9247921
commit 0b82ab6674
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ def test(capfd, tmp_path):
project_dir = tmp_path / 'project'
subdir_package_project.generate(project_dir)
package_dir = os.path.join(project_dir, 'src', 'spam')
package_dir = os.path.join('src', 'spam')
# build the wheels
actual_wheels = utils.cibuildwheel_run(project_dir, package_dir=package_dir, add_env={
'CIBW_BEFORE_BUILD': 'python {project}/bin/before_build.py',