google / subpar

Subpar is a utility for creating self-contained python executables. It is designed to work well with Bazel.
Apache License 2.0
566 stars 69 forks source link

Support extracting .par file contents to disk. #65

Closed duggelz closed 6 years ago

duggelz commented 6 years ago

Useful for importing C extension modules, or for data resources that must be real files, instead of file-like objects.

To use, add the zip_safe=False attribute to a par_binary() rule.

Yes, the name zip_safe is strange, but it's consistent with Python distutils and eggs.

See previous discussion in #55