Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation requires user to be root (brombo/galgebra#36) #118

Closed
eric-wieser opened this issue Dec 4, 2019 · 1 comment
Closed

Installation requires user to be root (brombo/galgebra#36) #118

eric-wieser opened this issue Dec 4, 2019 · 1 comment
Labels
from brombo/galgebra Scraped from old webcaches of the now-deleted https://github.com/brombo/galgebra

Comments

@eric-wieser
Copy link
Member

@phlummox commented on Nov 28, 2017

I see that the installation instructions (in galgebra.pdf) says that galgebra needs to be installed by running “sudo python setgapth.py” (if on Linux or OS X). However, some users might not have root access (or might not want to install galgebra as root). For those users, it would be handy to be able to have an alternative to using sudo.

I'd propose a change to the setgapth.py script so they can do this:

if site.ENABLE_USER_SITE and isdir(site.getusersitepackages()):
    dist_pkgs = site.getusersitepackages()
else:
    dist_pkgs = site.getsitepackages()[0]

I've made this change in a forked copy of galgebra here - let me know if you'd like me to make a pull request that will allow this change to be merged in.


From http://webcache.googleusercontent.com/search?q=cache:https://github.com/brombo/galgebra/issues/36

@eric-wieser eric-wieser added the from brombo/galgebra Scraped from old webcaches of the now-deleted https://github.com/brombo/galgebra label Dec 4, 2019
@eric-wieser
Copy link
Member Author

@utensil seems to have already labelled this as done, closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
from brombo/galgebra Scraped from old webcaches of the now-deleted https://github.com/brombo/galgebra
Development

No branches or pull requests

1 participant