Skip to content

Commit

Permalink
remove setup.py reference from subpackages test
Browse files Browse the repository at this point in the history
  • Loading branch information
sjvrijn committed Oct 18, 2023
1 parent 593c476 commit 7656b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def test_subpackage(baked_with_development_dependencies, project_env_bin_dir):

# sdist and bdist_wheel both call build command to create build/ dir
# So instead of looking in distribution archives we can look in build/ dir
result = run([f'{bin_dir}python', 'setup.py', 'build'], project_dir)
result = run([f'{bin_dir}python', '-m', 'build', '--sdist', '--wheel'], project_dir)
assert result.returncode == 0
assert (project_dir / 'build' / 'lib' / 'my_python_package' / 'mysub' / '__init__.py').exists()
assert (project_dir / 'build' / 'lib' / 'my_python_package' / 'mysub' / 'mysub2' / '__init__.py').exists()
Expand Down

0 comments on commit 7656b95

Please sign in to comment.