TriggerMail / rules_pyz

Bazel Python rules that package everything in an executable zip
Apache License 2.0
29 stars 19 forks source link

pip_generate_wrapper: 'invalid cross-device link' error when /tmp and target directory aren't on the same partition. #52

Open gfl-chris opened 5 years ago

gfl-chris commented 5 years ago

Encountering the above error when running pip_generate_wrapper. I believe it's due to the fact that my home directory is mounted on a different partition.

I fixed the issue here based on the code from here.

joshburkart commented 5 years ago

Cool! Send PR? (Although @evanj hasn't been responsive lately so we might want to fork this into an official project...)

therc commented 5 years ago

It should be OK to fork the project: https://github.com/TriggerMail/rules_pyz/issues/54#issuecomment-455278261

evanj commented 5 years ago

Yes please fork it somewhere; I would be happy to accept a PR to post a big note in the README.md!