Closed superbobry closed 6 years ago
I think then you'd need
bwameth/
index/__main__.py
c2t/__main__.py
tabulate/__main.py
etc.
I'm not against this outright, but I think the code is quite simple as-is so I don't see the reasoning.
Python modules (and not packages) should work just fine.
$ cat hw.py
if __name__ == "__main__":
print("Hello world!")
$ python -m hw
Hello world!
ah, good to know!
still, let's not sacrifice simplicity for correctitude
I think it would be nice to split
bwa-meth
into separate subcommands, e.g.Then each subcommand can be called with
python -m bwameth.<cmd>
.