You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Get ready for releaes 2.0.0
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -5,6 +5,7 @@
|
|||||||
/.python-version
|
/.python-version
|
||||||
/__pkginfo__.pyc
|
/__pkginfo__.pyc
|
||||||
/dist
|
/dist
|
||||||
|
/how-to-make-a-release.txt
|
||||||
/uncompyle6.egg-info
|
/uncompyle6.egg-info
|
||||||
__pycache__
|
__pycache__
|
||||||
build
|
build
|
||||||
|
@@ -1,6 +1,9 @@
|
|||||||
include README.rst
|
include README.rst
|
||||||
|
include HISTORY.md
|
||||||
|
include ChangeLog
|
||||||
include __pkginfo__.py
|
include __pkginfo__.py
|
||||||
recursive-include uncompyle6 *.py
|
recursive-include uncompyle6 *.py
|
||||||
include bin/uncompyle6
|
include bin/uncompyle6
|
||||||
include bin/pydisassemble
|
include bin/pydisassemble
|
||||||
recursive-include test *.py *.pyc *.pyo
|
recursive-include test *.py
|
||||||
|
recursive-include pytest *.py
|
||||||
|
15
NEWS
Normal file
15
NEWS
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
uncompyle6 1.0.0 2015-12-11
|
||||||
|
|
||||||
|
Changes from uncompyle2
|
||||||
|
|
||||||
|
- Can give code fragments given an instruction offset. See
|
||||||
|
https://github.com/rocky/python-uncompyle6/wiki/Deparsing-technology-and-its-use-in-exact-location-reporting
|
||||||
|
- Runs under Python3. Decompiles Python 2.5-2.7 and some Python 3.2-3.4
|
||||||
|
- Allows for multiple Python grammars, specifically Python2 vs Python 3
|
||||||
|
- Add a cross-version Python disassembler command-line utility
|
||||||
|
- Add some py.test and start reorganizing tests
|
||||||
|
|
||||||
|
SPARK:
|
||||||
|
add option to show grammar rules applied
|
||||||
|
allow Python-style # comments in grammar
|
||||||
|
Runs on Python 3 and Python 2
|
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
# Things that change more often go here.
|
# Things that change more often go here.
|
||||||
copyright = """
|
copyright = """
|
||||||
Copyright (C) 2015 Rocky Bernstein <rocky@gnu.org>.
|
Copyright (C) 2015 Rocky Bernstein <rb@dustyfeet.com>.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
classifiers = ['Development Status :: 3 - Alpha',
|
classifiers = ['Development Status :: 3 - Alpha',
|
||||||
@@ -21,10 +21,10 @@ classifiers = ['Development Status :: 3 - Alpha',
|
|||||||
]
|
]
|
||||||
|
|
||||||
# The rest in alphabetic order
|
# The rest in alphabetic order
|
||||||
author = "Rocky Bernstein"
|
author = "Rocky Bernstein, Hartmut Goebel, John Aycock, and others"
|
||||||
author_email = "rb@dustyfeet.com"
|
author_email = "rb@dustyfeet.com"
|
||||||
ftp_url = None
|
ftp_url = None
|
||||||
# license = 'GPL'
|
# license = 'BSDish'
|
||||||
mailing_list = 'python-debugger@googlegroups.com'
|
mailing_list = 'python-debugger@googlegroups.com'
|
||||||
modname = 'uncompyle6'
|
modname = 'uncompyle6'
|
||||||
packages = ['uncompyle6', 'uncompyle6.opcodes']
|
packages = ['uncompyle6', 'uncompyle6.opcodes']
|
||||||
@@ -39,9 +39,8 @@ def get_srcdir():
|
|||||||
filename = os.path.normcase(os.path.dirname(os.path.abspath(__file__)))
|
filename = os.path.normcase(os.path.dirname(os.path.abspath(__file__)))
|
||||||
return os.path.realpath(filename)
|
return os.path.realpath(filename)
|
||||||
|
|
||||||
# VERSION.py sets variable VERSION.
|
|
||||||
ns = {}
|
ns = {}
|
||||||
version = '2.0'
|
version = '2.0.0'
|
||||||
web = 'https://github.com/rocky/python-uncompyle6/'
|
web = 'https://github.com/rocky/python-uncompyle6/'
|
||||||
|
|
||||||
# tracebacks in zip files are funky and not debuggable
|
# tracebacks in zip files are funky and not debuggable
|
||||||
|
@@ -19,6 +19,9 @@ check:
|
|||||||
@$(PYTHON) -V && PYTHON_VERSION=`$(PYTHON) -V 2>&1 | cut -d ' ' -f 2 | cut -d'.' -f1,2`; \
|
@$(PYTHON) -V && PYTHON_VERSION=`$(PYTHON) -V 2>&1 | cut -d ' ' -f 2 | cut -d'.' -f1,2`; \
|
||||||
$(MAKE) check-$$PYTHON_VERSION
|
$(MAKE) check-$$PYTHON_VERSION
|
||||||
|
|
||||||
|
#: Run working tests from Python 2.6
|
||||||
|
check-2.6: check-bytecode-2.5 check-bytecode-2.7
|
||||||
|
|
||||||
#: Run working tests from Python 2.7
|
#: Run working tests from Python 2.7
|
||||||
check-2.7: check-bytecode check-2.7-ok
|
check-2.7: check-bytecode check-2.7-ok
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user