GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||
GeezerVison is showing github.com — Remove pkg_resources by kafitzgerald · Pull Request #281 · NCAR/wrf-python Conversation
|
| req = pkg_resources.Requirement.parse("wrf-python") | ||
| extra_dll_dir = pkg_resources.resource_filename(req, | ||
| "wrf-python/.libs") |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I think the updated version of this is importlib.resources.path("wrf", ".libs"), which seems to have been added in 3.7. mesonbuild/meson-python#700 includes discussion on a similar topic. This comment and the followup have suggestions, and also say that I should run into any problems in my default development environment, which simplifies checks.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
A guess based on the directory name (and Python doing its own search for imported extension modules) is that this is for the Fortran and OpenMP runtimes, which would be stored there by Windows wheel-packaging machinery, which was your guess. Since I build and install on the same system, I don't need to package those libraries, nor ensure they are on the path.
If you decide conda is the recommended binary distribution system on Windows, that should be irrelevant.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Remove deprecated use of pkg_resources
There was an error while loading. Please reload this page.