mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-10 19:20:13 +00:00
Add dependencies for tools to requirements.txt (#1621)
* Add dependencies for tools to requirements.txt * Downgrade mapfile-parser
This commit is contained in:
parent
16f9ff39be
commit
584e61a849
3 changed files with 18 additions and 16 deletions
|
@ -3,17 +3,8 @@
|
|||
import argparse
|
||||
from pathlib import Path
|
||||
|
||||
try:
|
||||
import rabbitizer
|
||||
except ImportError:
|
||||
print("Missing dependency rabbitizer, install it with `python3 -m pip install 'rabbitizer>=1.0.0,<2.0.0'`")
|
||||
exit(1)
|
||||
|
||||
try:
|
||||
import mapfile_parser
|
||||
except ImportError:
|
||||
print("Missing dependency mapfile_parser, install it with `python3 -m pip install 'mapfile-parser>=1.2.1,<2.0.0'`")
|
||||
exit(1)
|
||||
|
||||
|
||||
def decodeInstruction(bytesDiff: bytes, mapFile: mapfile_parser.MapFile) -> str:
|
||||
|
|
|
@ -1,3 +1,18 @@
|
|||
# Setup and compression
|
||||
crunch64>=0.3.1,<1.0.0
|
||||
ipl3checksum>=1.2.0,<2.0.0
|
||||
|
||||
# asm-differ
|
||||
argcomplete
|
||||
colorama
|
||||
cxxfilt
|
||||
python-Levenshtein
|
||||
watchdog
|
||||
|
||||
# decomp-permuter
|
||||
pycparser
|
||||
toml
|
||||
|
||||
# tools
|
||||
mapfile-parser>=1.2.1,<2.0.0
|
||||
rabbitizer>=1.0.0,<2.0.0
|
||||
|
|
|
@ -3,11 +3,7 @@
|
|||
import argparse
|
||||
from pathlib import Path
|
||||
|
||||
try:
|
||||
import mapfile_parser
|
||||
except ImportError:
|
||||
print("Missing dependency mapfile_parser, install it with `python3 -m pip install 'mapfile-parser>=1.2.1,<2.0.0'`")
|
||||
exit(1)
|
||||
|
||||
|
||||
def symInfoMain():
|
||||
|
|
Loading…
Reference in a new issue