Skip to content

Conversation

@brogon
Copy link
Contributor

@brogon brogon commented Mar 3, 2020

If you reference a local source file or directory, the script tries to "find" it in the temporary build directory, because it stripped the path. Also it won't work, if the user gave a relative path to the file. Therefore we convert the source path to an absolute one (if it's actually a local path) and handle it correctly.

Also added the PIP_OPTIONS to the pip upgrade call; otherwise the upgrade might fail if the user needs a special configuration to reach the package index (e.g. coproprate proxy... my nemesis... 😆).

brogon added 2 commits March 3, 2020 21:20
Also added the PIP_OPTIONS to the pip upgrade call; otherwise the
upgrade might fail if the user needs a special configuration to reach
the package index (e.g. coproprate proxy...).
@niess
Copy link
Owner

niess commented Mar 4, 2020

Hello @brogon,
thank you for these patches. Looks fine to me. I'm merging.
Thanks again :)

@niess niess merged commit 46976ce into niess:master Mar 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants