Added --always-copy to virtualenv call#55
Added --always-copy to virtualenv call#55justquick wants to merge 2 commits intoYelpArchive:developfrom
Conversation
This make it so that the files in the vent are copied from the source machine when creating the jar files. If this is not present, recent versions of virtualenv will symlink and cause bad links in the jar files. Bad links mean that the files will not exist when the jar is actually run. This fix ensures that all required files in the venv are copied over so you do not actually have to have python installed on your pyleus cluster. This is the root cause of the `ImportError: No module named 'encodings'` problem in YelpArchive#50
|
How does this affect the size of a Pyleus jar? |
|
in testing the example exclamation_topology it's an increase of ~15% (25MB vs 30MB) |
|
This is something I'd like to bring in, but I'm concerned about JAR bloat—I'm going to open another ticket regarding the removal of the |
|
Opened #57. |
|
@patricklucas I could add a |
This make it so that the files in the vent are copied from the source
machine when creating the jar files. If this is not present, recent versions
of virtualenv will symlink and cause bad links in the jar files. Bad links
mean that the files will not exist when the jar is actually run. This fix
ensures that all required files in the venv are copied over so you do not
actually have to have python installed on your pyleus cluster.
This is the root cause of the
ImportError: No module named 'encodings'problem in #50