Closed certifiedloud closed 7 years ago
It's also possible to use #!/bin/env python2
instead of #!/bin/env python
in lib/bin/vault_wrapper.py.
Could the shebang be changed? The package is currently unusable in arch linux.
does this #!/bin/env python
shebang not work in arch linux?
In arch linux python 3 is the default, so #!/bin/env python
resolves to python3 instead of python2
That is exactly the problem. If you require python2 please also specify python2 in the shebang. @sydro could you fix this please and prepare a new release?
@cinemast i fix shebang to #!/usr/bin/env python2
to restore wrapper with python2 in 5710987 commit . i'm working to made it compatible with python3.
Thanks
I removed the python libs dependencies. Now en/decrypter is only javascript, and it call ansible-vault binary.
Use future to make this package support python 2.x and 3.x simultaneously. The print statements in the python files cause this to fail on systems that use python 3 by default.