Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.

[kinetic] [Windows] Rename catkin scripts for parallel package parsing support#1066

Merged
dirk-thomas merged 3 commits intoros:kinetic-develfrom
seanyen:fix_multiprocessing
Feb 25, 2020
Merged

[kinetic] [Windows] Rename catkin scripts for parallel package parsing support#1066
dirk-thomas merged 3 commits intoros:kinetic-develfrom
seanyen:fix_multiprocessing

Conversation

@seanyen
Copy link
Copy Markdown
Contributor

@seanyen seanyen commented Feb 12, 2020

This is another attempt to solve the parallel packages parsing support: (Here are related attempts.)

Based on current investigation, on Windows\Python2, we have to make the scripts to be ended with .py; Otherwise, any usage of multiprocessing will result in ImportError: No module named <catkin_script_name>.

This attempt is to only do the renaming on Windows when setup.py runs, so the <catkin_script>.py will be installed in this case.

This fixes ms-iot/ROSOnWindows#148.

@seanyen seanyen marked this pull request as ready for review February 12, 2020 10:10
@seanyen
Copy link
Copy Markdown
Contributor Author

seanyen commented Feb 12, 2020

@dirk-thomas This is ready for review and merge. Thanks!

@dirk-thomas
Copy link
Copy Markdown
Member

Since Noetic doesn't support Python 2 maybe this change should target the kinetic-devel branch instead?

@seanyen seanyen changed the base branch from noetic-devel to kinetic-devel February 24, 2020 18:41
@seanyen seanyen force-pushed the fix_multiprocessing branch from 0576436 to 935fb74 Compare February 24, 2020 18:44
@seanyen
Copy link
Copy Markdown
Contributor Author

seanyen commented Feb 24, 2020

@dirk-thomas Thanks. I rebased and targeted this pull request to kinetic-devel branch.

@dirk-thomas dirk-thomas changed the title [Windows] Rename catkin scripts for parallel package parsing support [kinetic[ [Windows] Rename catkin scripts for parallel package parsing support Feb 25, 2020
@dirk-thomas dirk-thomas changed the title [kinetic[ [Windows] Rename catkin scripts for parallel package parsing support [kinetic] [Windows] Rename catkin scripts for parallel package parsing support Feb 25, 2020
@dirk-thomas
Copy link
Copy Markdown
Member

Thanks for the patch / update.

@dirk-thomas dirk-thomas merged commit 25d169a into ros:kinetic-devel Feb 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot build a workspace containing more than 100 packages

2 participants