Enable python -m stgit
commit9e2679310ae62eccf13084efcf7696be51629e87
authorPeter Grayson <pete@jpgrayson.net>
Mon, 17 May 2021 14:20:47 +0000 (17 10:20 -0400)
committerPeter Grayson <pete@jpgrayson.net>
Mon, 30 Aug 2021 20:41:47 +0000 (30 16:41 -0400)
tree25d63f6331aa1b3ced08a4e0df6e1e081ea21394
parented1651792509ddbd1e139a884d26e6cd818160cb
Enable python -m stgit

The top-level `stg` script is now a simple shell script that invokes
StGit as a runnable python module with `python -m stgit`.

This approach is aligns StGit with modern Python practices and may help
with portability to Windows.

Signed-off-by: Peter Grayson <pete@jpgrayson.net>
Makefile
setup.py
stg
stgit/__main__.py [new file with mode: 0644]
stgit/main.py
stgit/version.py