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

[Windows] Check PYTHON_INSTALL_DIR before making directory. #1120

Merged
merged 1 commit into from
Aug 27, 2020

Conversation

seanyen
Copy link
Contributor

@seanyen seanyen commented Aug 27, 2020

This change is to reduce the stderr outputs from a common code path. For building packages in a merged space, the code path to unconditionally create Lib\site-packages (by PYTHON_INSTALL_DIR) will result in complaints A subdirectory or file src already exists. to stderr for the second and later packages exercising this flow.

To reduce the noise to developers, this pull request is to only make directory when it doesn't exist.

Thanks for review and please consider to back-port to kinetic-devel if it makes sense.

@dirk-thomas
Copy link
Member

Thanks for the patch.

@dirk-thomas dirk-thomas merged commit f972729 into ros:noetic-devel Aug 27, 2020
@dirk-thomas
Copy link
Member

Cherry-picked to kinetic-devel in cc39597.

seanyen added a commit to ms-iot/catkin that referenced this pull request Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants