If one calls spack activate py-somepackage to extend a python package Python.activate() creates an updated site-packages/easy-install.pth in the python package installation.
A similar mechanism for the filesystem view feature would allow for multiple package distributions (containing different versions/collections of python packages but the same python package);
currently, easy-install.pth is symlinked to some python package which was symlinked first and has to be fixed manually (using the list of symlinked python packages and merging all easy-install.pths, which is what activate() does.
If one calls
spack activate py-somepackageto extend a python packagePython.activate()creates an updatedsite-packages/easy-install.pthin thepythonpackage installation.A similar mechanism for the filesystem view feature would allow for multiple package distributions (containing different versions/collections of python packages but the same python package);
currently,
easy-install.pthis symlinked to some python package which was symlinked first and has to be fixed manually (using the list of symlinked python packages and merging alleasy-install.pths, which is whatactivate()does.