python -m sipbuild.module.main does nothing
bpinaud opened this issue · 2 comments
bpinaud commented
Hello,
The end of sipbuild/module/main.py misses:
if __name__ == '__main__':
import sys
sys.exit(main())
If you prefer, I can do a pull request.
Best,
Bruno (one developer of https://tulip.labri.fr/site/ moving to SIP6)
philthompson10 commented
It isn't part of the public API, similarly distinfo isn't. However I agree that this is inconsistent with the other command line tools. I'll add them but they will be sipbuild.tools.module and sipbuild.tools.distinfo.
bpinaud commented
Thanks for the update. This will ease our work with Debian or Ubuntu for instance. We will just need their sipbuild package and not the package sip-tools (and with cmake also, no need to find the command line tools, just the right Python environment).