Skip to content

Explicitly add DLL directories for Windows before importing#266

Merged
jacobperron merged 2 commits intoros2from
jacob/add_dll_directory
May 18, 2020
Merged

Explicitly add DLL directories for Windows before importing#266
jacobperron merged 2 commits intoros2from
jacob/add_dll_directory

Conversation

@jacobperron
Copy link
Member

Since Python 3.8, we should explicitly add DLL directories we recursively
depend on.

Use a helper context manager from rpyutils for adding directories from the PATH
environment variable.

Depends on ros2/rpyutils#2
Connects to ros2/ci#432

Since Python 3.8, we should explicitly add DLL directories we recursively
depend on.

Use a helper context manager from rpyutils for adding directories from the PATH
environment variable.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
@jacobperron
Copy link
Member Author

jacobperron commented May 18, 2020

I had to make a similar change for the c-extension being imported in the test 6f7c56a.

@jacobperron
Copy link
Member Author

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@jacobperron jacobperron merged commit 5a96049 into ros2 May 18, 2020
@delete-merged-branch delete-merged-branch bot deleted the jacob/add_dll_directory branch May 18, 2020 22:58
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.

3 participants