We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53a6999 commit 3d9889cCopy full SHA for 3d9889c
1 file changed
tests/test_project.py
@@ -93,7 +93,7 @@ def test_subpackage(baked_with_development_dependencies, project_env_bin_dir):
93
94
# sdist and bdist_wheel both call build command to create build/ dir
95
# So instead of looking in distribution archives we can look in build/ dir
96
- result = run([f'{bin_dir}python', 'setup.py', 'build'], project_dir)
+ result = run([f'{bin_dir}python', '-m', 'build', '--sdist', '--wheel'], project_dir)
97
assert result.returncode == 0
98
assert (project_dir / 'build' / 'lib' / 'my_python_package' / 'mysub' / '__init__.py').exists()
99
assert (project_dir / 'build' / 'lib' / 'my_python_package' / 'mysub' / 'mysub2' / '__init__.py').exists()
0 commit comments