You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-02 16:44:46 +08:00
compile-file.py: preserve source file location
This commit is contained in:
@@ -19,6 +19,6 @@ bytecode = "%s-%s.pyc" % (basename, PY_VERSION)
|
||||
|
||||
import py_compile
|
||||
print("compiling %s to %s" % (source, bytecode))
|
||||
py_compile.compile(source, bytecode, 'exec')
|
||||
py_compile.compile(source, bytecode, source)
|
||||
# import os
|
||||
# os.system("../bin/uncompyle6 %s" % bytecode)
|
||||
|
Reference in New Issue
Block a user