cnfatal / rpycdec

Tools to decompile renpy .rpyc .rpymc files.
https://pypi.org/project/rpycdec
MIT License
14 stars 3 forks source link

NEED to LIST dependencies and how to install them #1

Open NotAsea opened 1 year ago

NotAsea commented 1 year ago

while trying this package, currently this cannot run due to lack of plyvel, which is pain in the ass to build in window, I suggest you explicitly list what dependencies of your project, or packaging together when release. If you interest here is what happend when install in python 3.12

 > py -m rpycdec
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "D:\phan mem lung tung\Scoop\apps\python\3.12.0\Lib\site-packages\rpycdec.py", line 20, in <module>
    import plyvel
ModuleNotFoundError: No module named 'plyvel'
NotAsea commented 1 year ago

anyway try install this in python 3.9 which has playvel-win32 support and another error:

Traceback (most recent call last):
  File "D:\phan mem lung tung\Scoop\apps\python39\3.9.13\lib\runpy.py", line 188, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "D:\phan mem lung tung\Scoop\apps\python39\3.9.13\lib\runpy.py", line 158, in _get_module_details
    code = loader.get_code(mod_name)
  File "<frozen importlib._bootstrap_external>", line 983, in get_code
  File "<frozen importlib._bootstrap_external>", line 913, in source_to_code
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "D:\phan mem lung tung\Scoop\apps\python39\3.9.13\lib\site-packages\rpycdec.py", line 147
    match char:
          ^
SyntaxError: invalid syntax

ah yesh and inside pyproj you proudly write require python > 3.7 but use feature in python 3.10 which no backward compatible, bruh

cnfatal commented 1 year ago

Hi, i'm using sqlite3 instead of plyvel for cache inorder to support windows, please try again.

feedback are welcome if there are any questions.