"py2pack generate" says the following under Python 2.6 (it's using syntax introduced in Python 2.7). Either this should be fixed or the supported versions should be changed.
Traceback (most recent call last):
File "/users/geoff/.local/selenium_test/bin/py2pack", line 22, in <module>
main()
File "/users/geoff/.local/selenium_test/lib/python2.6/site-packages/py2pack/__init__.py", line 255, in main
args.func(args)
File "/users/geoff/.local/selenium_test/lib/python2.6/site-packages/py2pack/__init__.py", line 155, in generate
_augment_data_from_tarball(args, tarball_file[0], data)
File "/users/geoff/.local/selenium_test/lib/python2.6/site-packages/py2pack/__init__.py", line 115, in _augment_data_from_tarball
with tarfile.open(filename) as f:
AttributeError: 'TarFile' object has no attribute '__exit__'
"py2pack generate" says the following under Python 2.6 (it's using syntax introduced in Python 2.7). Either this should be fixed or the supported versions should be changed.