Skip to content

Add context manager for adding DLL directories to the search path#2

Merged
jacobperron merged 3 commits intomasterfrom
jacob/add_dll_directory
May 18, 2020
Merged

Add context manager for adding DLL directories to the search path#2
jacobperron merged 3 commits intomasterfrom
jacob/add_dll_directory

Conversation

@jacobperron
Copy link
Member

The list of DLL directories is read from the specified environment variable and added
to the Windows search path for DLLs. This only applies to Python 3.8+.
Any values in the environment variable that are not directories are ignored.

I've updated ros2/rclpy#558 to demonstrate how this is used. After a review, I'll update other Python packages that need a similar patch.

The list of DLL directories is read from the specified environment variable and added
to the Windows search path for DLLs. This only applies to Python 3.8+.
Any values in the environment variable that are not directories are ignored.

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

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

@jacobperron jacobperron merged commit cbcf95f into master May 18, 2020
@delete-merged-branch delete-merged-branch bot deleted the jacob/add_dll_directory branch May 18, 2020 22:57
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