Message226230
Files created by `git archive` are not understood by the Python interpreter. This could be caused by the additional comment (for the commit hash) in the file.
echo 'print(1)' > __main__.py
git init && git add __main__.py && git commit -m init
git archive --format=zip HEAD > y.zip
python y.zip
Packing it with `zip x.zip __main__.py && python x.zip` works. |
|
Date |
User |
Action |
Args |
2014-09-01 15:11:58 | lekensteyn | set | recipients:
+ lekensteyn |
2014-09-01 15:11:58 | lekensteyn | set | messageid: <1409584318.1.0.656275318382.issue22322@psf.upfronthosting.co.za> |
2014-09-01 15:11:58 | lekensteyn | link | issue22322 messages |
2014-09-01 15:11:57 | lekensteyn | create | |
|