Get ready for releaes 2.0.0

This commit is contained in:
rocky 2015-12-25 00:26:34 -05:00
parent 223b028393
commit ea8bea4cd8
6 changed files with 1412 additions and 6 deletions

1
.gitignore vendored
View File

@ -5,6 +5,7 @@
/.python-version
/__pkginfo__.pyc
/dist
/how-to-make-a-release.txt
/uncompyle6.egg-info
__pycache__
build

1385
ChangeLog Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,9 @@
include README.rst
include HISTORY.md
include ChangeLog
include __pkginfo__.py
recursive-include uncompyle6 *.py
include bin/uncompyle6
include bin/pydisassemble
recursive-include test *.py *.pyc *.pyo
recursive-include test *.py
recursive-include pytest *.py

15
NEWS Normal file
View 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

View File

@ -9,7 +9,7 @@
# Things that change more often go here.
copyright = """
Copyright (C) 2015 Rocky Bernstein <rocky@gnu.org>.
Copyright (C) 2015 Rocky Bernstein <rb@dustyfeet.com>.
"""
classifiers = ['Development Status :: 3 - Alpha',
@ -21,10 +21,10 @@ classifiers = ['Development Status :: 3 - Alpha',
]
# The rest in alphabetic order
author = "Rocky Bernstein"
author = "Rocky Bernstein, Hartmut Goebel, John Aycock, and others"
author_email = "rb@dustyfeet.com"
ftp_url = None
# license = 'GPL'
# license = 'BSDish'
mailing_list = 'python-debugger@googlegroups.com'
modname = 'uncompyle6'
packages = ['uncompyle6', 'uncompyle6.opcodes']
@ -39,9 +39,8 @@ def get_srcdir():
filename = os.path.normcase(os.path.dirname(os.path.abspath(__file__)))
return os.path.realpath(filename)
# VERSION.py sets variable VERSION.
ns = {}
version = '2.0'
version = '2.0.0'
web = 'https://github.com/rocky/python-uncompyle6/'
# tracebacks in zip files are funky and not debuggable

View File

@ -19,6 +19,9 @@ check:
@$(PYTHON) -V && PYTHON_VERSION=`$(PYTHON) -V 2>&1 | cut -d ' ' -f 2 | cut -d'.' -f1,2`; \
$(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
check-2.7: check-bytecode check-2.7-ok