Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

More pex fixes for windows. #614

Closed
wants to merge 1 commit into from
Closed

Conversation

mikekap
Copy link
Contributor

@mikekap mikekap commented Jan 12, 2016

Aside from the two issues @sdwilsh found, the last bit was convincing pex to not remove sys.prefix from sys.path.

Aside from the two issues @sdwilsh found, the last bit was convincing pex to not remove sys.prefix from sys.path.
@facebook-github-bot
Copy link
Contributor

By analyzing the blame information on this pull request, we identified @mikekap and @jimevans to be potential reviewers.

else:
raise
safe_copy(abs_src, abs_dst, overwrite=False)
# If the file already exists, skip XXX -- ensure target and dest are same?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can actually avoid this path entirely if we just modify the code in src/com/facebook/buck/python/make_pex.py to prefer to copy on Windows. I had originally wrote something like this, but @andrewjcg suggested changing Buck's code so it was fewer changes to PEX itself.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm actually going to try to upstream these in pex-tool/pex#198

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You rock!

@sdwilsh
Copy link
Contributor

sdwilsh commented Jan 12, 2016

Just want you to address the first comment. Thanks!

@sdwilsh
Copy link
Contributor

sdwilsh commented Jan 13, 2016

@facebook-github-bot shipit

@facebook-github-bot
Copy link
Contributor

Thanks for importing. If you are an FB employee go to https://our.intern.facebook.com/intern/opensource/github/pull_request/116871295358869/int_phab to review.

@ghost ghost closed this in dd43937 Jan 13, 2016
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants