webscopeio / license.sh

License checker tool - We're in a beta phase, any help is appreciated, especially reporting issues
https://webscopeio.github.io/license.sh
MIT License
40 stars 6 forks source link

Add __main__ #49

Closed jayvdb closed 4 years ago

jayvdb commented 4 years ago
> python3 -m license_sh
/usr/bin/python3: No module named license_sh.__main__; 'license_sh' is a package and cannot be directly executed
jayvdb commented 4 years ago

This is require the logic in the script to move into the package, which has the benefit of also making it easier to test.

jvorcak commented 4 years ago

Good point 👍 thanks. This requires cleaning up some code and moving it, I'll deal with this once #44 and #46 PRs are merged to avoid possible conflicts.

jvorcak commented 4 years ago
Screenshot 2019-12-21 at 15 35 35

This should now work with 1.0.11 release. Thanks for the input!