-
Notifications
You must be signed in to change notification settings - Fork 47
Allow --prefix to work #52
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
Conversation
This PR makes a change from `sys.prefix` to `self.prefix` to allow top-level command to set the prefix. Still doesn't work with `--user`, but maybe that can be fixed in this PR too.
There are some things I don't understand about how setup works, removing files, --user, and --prefix. There may be more than what this PR does that is needed. |
This takes care of: * read-only dirs * --prefix * --install_dir * --prefix
Ok, I think this is the correct fix. |
Sometimes install_base just isn't set for some reason
There may be a third issue, but I can't figure it out. Perhaps this is just a hacky way to use seuptools, or setuptools has issues.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Thanks @dsblank! |
Thanks folks, and welcome back @blink1073 ! Hope all is going well. Re: this PR... there are probably better ways of handling setuptools, and maybe an expert will look at this someday. But it is working for me when using |
This PR makes a change from
sys.prefix
toself.install_base
to allow top-level command to set the --prefix or --install_dir.