After finding it quite easy to build ledger on the mac, I'm running into
trouble building it on arch linux (which is what my main development
machine runs).

The first problem is that the python scripts seem to assume python2 but
when '/usr/bin/env python' is run on my arch linux machine, that uses
python3.

Are there thoughts about python versions for the scripts?  The workaround
being used in the community package for arch linux ledger is to change the
ledger source to run '/usr/bin/env python2'.  You can see that in the
prepare function here:
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ledger-git.

One approach would be to make the scripts python3-compatible.  I'm not sure
what downsides that might include though.

Another approach would be to change all the ledger scripts to specify
'/usr/bin/env python2'.  I'm not sure if that would work well though in the
other places where ledger is being built.

thanks
- Gina

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to