-
Notifications
You must be signed in to change notification settings - Fork 101
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
Fix 33cf133 #22
Fix 33cf133 #22
Conversation
…pip install .`)" This reverts commit a2ad1bc.
Pull Request Test Coverage Report for Build 40
💛 - Coveralls |
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.
I'm sure there are also other edgecases that would be good to test 😕
@@ -68,6 +59,10 @@ def install(interpreter_path: str, args: List[str]) -> None: | |||
""" | |||
with clean_pip_env(): | |||
|
|||
# convert '.' to absolute path if it exists | |||
if '.' in args: |
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.
this will break if someone uses ..
. Not sure how comprehensive you want to be. Maybe:
# convert '.' to absolute paths if it exists
for i, arg in enumerate(args):
if arg.startswith('.'):
args[i] = Path.cwd().joinpath(arg).absolute().as_posix()
@rouge8 unfortunately I'm still hitting the "error: must supply either home or prefix/exec-prefix -- not both" issue here... |
Hmmm, now I'm wondering if #18 actually worked or if I was just hitting cached pip builds... |
@rouge8 I'm gonna go ahead and revert our PRs, will you be at PyCon by chance? |
absolutely, done! |
This allows us to use
.
in our installation arguments while still avoiding the Homebrew prefix bug fixed by #18