by psd1 · 5y ago · 0 comments
In powershell, there's a PSModulePath which works like Path: search folders for dependencies. This can be modified within the session.
You import dependencies by specification, which might just be the name or may contain version constraints and/or a module guid.
Granted, powershell only got a package manager in the last decade. Not long enough to thrash out a contentious pep.
Then, you have compiled extensions, which have the above issues, plus now you gotta get some binary distribution machinery involved.
Then, you have FFI/so/dll/dylib type extensions, which have the above complexities, plus the linker/LD_LIBRARY_PATH involved.
Then, you have the interaction of site-packages, since python is used by my OSes for scripting.