Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove setup.py link after successful _undo_develop #578

Merged
merged 1 commit into from
Sep 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions colcon_core/task/python/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@
]
completed = await run(
self.context, cmd, cwd=args.build_base, env=env)
if not completed.returncode:
os.remove(setup_py_build_space)

Check warning on line 202 in colcon_core/task/python/build.py

View check run for this annotation

Codecov / codecov/patch

colcon_core/task/python/build.py#L202

Added line #L202 was not covered by tests
return completed.returncode

def _undo_install(self, pkg, args, setup_py_data, python_lib):
Expand Down