Skip to content

Commit 3d9889c

Browse files
committed
remove setup.py reference from subpackages test
1 parent 53a6999 commit 3d9889c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def test_subpackage(baked_with_development_dependencies, project_env_bin_dir):
9393

9494
# sdist and bdist_wheel both call build command to create build/ dir
9595
# 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)
96+
result = run([f'{bin_dir}python', '-m', 'build', '--sdist', '--wheel'], project_dir)
9797
assert result.returncode == 0
9898
assert (project_dir / 'build' / 'lib' / 'my_python_package' / 'mysub' / '__init__.py').exists()
9999
assert (project_dir / 'build' / 'lib' / 'my_python_package' / 'mysub' / 'mysub2' / '__init__.py').exists()

0 commit comments

Comments
 (0)