TriggerMail / rules_pyz

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

rules_python_zip/main_template.py: Make py2/py3 compatible #28

Closed evanj closed 5 years ago

evanj commented 5 years ago

Change exec to work with both Python 2 and Python 3. Add a test that uses Python 3 to ensure this stays fixed.

This is a copy of PR #26 from Globegitter because I couldn't figure out how to add a change to the PR branch directly. Thanks!

Globegitter commented 5 years ago

Great, thanks for getting this in.