You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Don't try to convert 2.6 bytecode to 2.7 psuedo bytecode. Instead adjust grammar and semantic actions. Down the line we should to segregate version changes in semantic code better.
65 lines
2.4 KiB
Python
65 lines
2.4 KiB
Python
"""uncompyle6 packaging information"""
|
|
|
|
# To the extent possible we make this file look more like a
|
|
# configuration file rather than code like setup.py. I find putting
|
|
# configuration stuff in the middle of a function call in setup.py,
|
|
# which for example requires commas in between parameters, is a little
|
|
# less elegant than having it here with reduced code, albeit there
|
|
# still is some room for improvement.
|
|
|
|
# Things that change more often go here.
|
|
copyright = """
|
|
Copyright (C) 2015, 2016 Rocky Bernstein <rb@dustyfeet.com>.
|
|
"""
|
|
|
|
classifiers = ['Development Status :: 4 - Beta',
|
|
'Intended Audience :: Developers',
|
|
'Operating System :: OS Independent',
|
|
'Programming Language :: Python',
|
|
'Programming Language :: Python :: 2',
|
|
'Programming Language :: Python :: 2.6',
|
|
'Programming Language :: Python :: 2.7',
|
|
'Programming Language :: Python :: 3',
|
|
'Programming Language :: Python :: 3.3',
|
|
'Programming Language :: Python :: 3.4',
|
|
'Programming Language :: Python :: 3.5',
|
|
'Topic :: Software Development :: Debuggers',
|
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
|
]
|
|
|
|
# The rest in alphabetic order
|
|
author = "Rocky Bernstein, Hartmut Goebel, John Aycock, and others"
|
|
author_email = "rb@dustyfeet.com"
|
|
entry_points={
|
|
'console_scripts': [
|
|
'uncompyle6=uncompyle6.bin:main_bin',
|
|
'pydisassemble=uncompyle6.bin.pydisassemble:main',
|
|
]}
|
|
ftp_url = None
|
|
install_requires = ['spark-parser >= 1.4.0',
|
|
'xdis >= 1.1.2']
|
|
license = 'MIT'
|
|
mailing_list = 'python-debugger@googlegroups.com'
|
|
modname = 'uncompyle6'
|
|
py_modules = None
|
|
short_desc = 'Python cross-version byte-code deparser'
|
|
web = 'https://github.com/rocky/python-uncompyle6/'
|
|
|
|
# tracebacks in zip files are funky and not debuggable
|
|
zip_safe = True
|
|
|
|
|
|
import os.path
|
|
def get_srcdir():
|
|
filename = os.path.normcase(os.path.dirname(os.path.abspath(__file__)))
|
|
return os.path.realpath(filename)
|
|
|
|
srcdir = get_srcdir()
|
|
|
|
def read(*rnames):
|
|
return open(os.path.join(srcdir, *rnames)).read()
|
|
|
|
# Get info from files; set: long_description and VERSION
|
|
long_description = ( read("README.rst") + '\n' )
|
|
exec(read('uncompyle6/version.py'))
|