Open joaoe opened 5 years ago
Hi. I just tried to execute xunitmerge as
xunitmerge
$ python -munitmerge ...
but python complains
No module named xunitmerge.__main__; 'xunitmerge' is a package and cannot be directly executed
Suggestion: add a __main__.py with all the contents from bin/xunitmerge. Wrap them with a main function. Then update setup.py with
__main__.py
bin/xunitmerge
main
setup.py
console_scripts: ["xunitmerge = xunitmerge.__main__:main"]
and you can remove bin/xunitmerge.
And this way setuptools will generate a xunitmerge.exe on Windows.
xunitmerge.exe
Thank you.
Hi. I just tried to execute
xunitmerge
asbut python complains
Suggestion: add a
__main__.py
with all the contents frombin/xunitmerge
. Wrap them with amain
function. Then updatesetup.py
withand you can remove
bin/xunitmerge
.And this way setuptools will generate a
xunitmerge.exe
on Windows.Thank you.