diff options
Diffstat (limited to 'src/riscv_opcodes/__main__.py')
-rw-r--r-- | src/riscv_opcodes/__main__.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/riscv_opcodes/__main__.py b/src/riscv_opcodes/__main__.py new file mode 100644 index 0000000..456cddd --- /dev/null +++ b/src/riscv_opcodes/__main__.py @@ -0,0 +1,10 @@ +""" +This allows running as a module, i.e. `python3 -m riscv_opcodes` which +we wouldn't normally need, but the `coverage` tool doesn't work on +installed scripts - you can't do `coverage run riscv_opcodes` because it +looks for a Python file called `riscv_opcodes` in the current directory. +""" + +from .parse import main + +main() |