1
0
Fork 0
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:
cadmic 2024-01-24 16:03:57 -08:00 committed by GitHub
parent 16f9ff39be
commit 584e61a849
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 18 additions and 16 deletions

View file

@ -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:

View file

@ -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

View file

@ -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():