-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Hi, all!
The following may be for future consideration or suggestion if it's convenient (it's not an error).
I recently installed WESTpy in a virtual environment (using conda), but I notice that the WESTpy installation command in Makefile will neglect prefix and search for the local python lib directory to install:
"""
$ Copying westpy-5.5.0-py3.9.egg to /home/<......>/.local/lib/python3.9/site-packages
""" (during installation)
I may suggest modifying this part a little bit if it's convenient in the future because it may disturb the use of virtual environment for the other users (if they're careless) as it's directly installing to /.local/ (and may cause conflict of packages in some case I guess?). I actually can access westpy by either the virtual environment or the base environment.
It's not raising any issue now and I re-install it to the virtual environment by adding the prefix directory in the installation command, but I'm unable to remove those links (.egg) already added to the /.local/ (because I cannot identify which of them are installed by WESTpy). '$make clean' command seems not removing the links --> I can still '$ import westpy' in Python in the base environment after '$make clean' but I know there's no executable files for the package.
Anyway, it's only a suggestion. I'm wondering if there's a clean uninstallation method but it's fine currently.
Thank you for your time and have a nice day!
Best regards,