Closed mzihlmann closed 3 years ago
after updating 17.9 -> 17.10, bincopy can no longer be used as a module entry point
python -m bincopy now returns
python -m bincopy
NameError: name 'main' is not defined
i havent investigated the error properly myself, but in bincopy.py there are two main shields which looks fishy to me.
main
https://github.com/eerimoq/bincopy/blob/master/bincopy.py#L321 https://github.com/eerimoq/bincopy/blob/master/bincopy.py#L2017
thank you for your great work!
True, I accidently added another main(). Will remove it and create a new release.
Thanks for reporting!
awesome!! thank you so much! 🏆
Fix published to PyPI.
awesome works!
after updating 17.9 -> 17.10, bincopy can no longer be used as a module entry point
python -m bincopy
now returnsNameError: name 'main' is not defined
i havent investigated the error properly myself, but in bincopy.py there are two
main
shields which looks fishy to me.https://github.com/eerimoq/bincopy/blob/master/bincopy.py#L321 https://github.com/eerimoq/bincopy/blob/master/bincopy.py#L2017
thank you for your great work!