python-uncompyle6/__pkginfo__.py

109 lines
3.9 KiB
Python
Raw Normal View History

2021-10-23 19:54:14 +00:00
# Copyright (C) 2018, 2020-2021 Rocky Bernstein <rocky@gnu.org>
2018-02-27 11:40:36 +00:00
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
2015-12-11 22:54:30 +00:00
"""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.
# Python-version | package | last-version |
# -----------------------------------------
# 2.5 | pip | 1.1 |
# 2.6 | pip | 1.5.6 |
# 2.7 | pip | 19.2.3 |
# 2.7 | pip | 1.2.1 |
# 3.1 | pip | 1.5.6 |
# 3.2 | pip | 7.1.2 |
# 3.3 | pip | 10.0.1 |
# 3.4 | pip | 19.1.1 |
2015-12-11 22:54:30 +00:00
# Things that change more often go here.
2020-09-05 09:41:49 +00:00
copyright = """
Copyright (C) 2015-2021 Rocky Bernstein <rb@dustyfeet.com>.
2015-12-11 22:54:30 +00:00
"""
2020-09-05 09:41:49 +00:00
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python",
2021-10-26 22:25:30 +00:00
"Programming Language :: Python :: 2",
2020-09-05 09:41:49 +00:00
"Programming Language :: Python :: 2.4",
"Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
2021-10-26 22:25:30 +00:00
"Programming Language :: Python :: 3",
2020-09-05 09:41:49 +00:00
"Programming Language :: Python :: 3.0",
"Programming Language :: Python :: 3.1",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
2021-10-26 22:25:30 +00:00
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: PyPy",
2020-09-05 09:41:49 +00:00
"Topic :: Software Development :: Debuggers",
"Topic :: Software Development :: Libraries :: Python Modules",
]
2015-12-11 22:54:30 +00:00
# The rest in alphabetic order
2020-09-05 09:41:49 +00:00
author = "Rocky Bernstein, Hartmut Goebel, John Aycock, and others"
author_email = "rb@dustyfeet.com"
entry_points = {
2019-08-21 12:55:35 +00:00
"console_scripts": [
"uncompyle6=uncompyle6.bin.uncompile:main_bin",
"pydisassemble=uncompyle6.bin.pydisassemble:main",
2020-09-05 09:41:49 +00:00
]
}
ftp_url = None
install_requires = ["spark-parser >= 1.8.9, < 1.9.0", "xdis >= 6.0.8, < 6.2.0"]
2020-09-05 09:41:49 +00:00
license = "GPL3"
mailing_list = "python-debugger@googlegroups.com"
modname = "uncompyle6"
py_modules = None
short_desc = "Python cross-version byte-code decompiler"
web = "https://github.com/rocky/python-uncompyle6/"
2015-12-11 22:54:30 +00:00
# tracebacks in zip files are funky and not debuggable
zip_safe = True
2015-12-11 22:54:30 +00:00
import os.path
2020-09-05 09:41:49 +00:00
2016-05-14 19:28:16 +00:00
def get_srcdir():
filename = os.path.normcase(os.path.dirname(os.path.abspath(__file__)))
return os.path.realpath(filename)
2020-09-05 09:41:49 +00:00
2016-05-14 19:28:16 +00:00
srcdir = get_srcdir()
2020-09-05 09:41:49 +00:00
2015-12-11 22:54:30 +00:00
def read(*rnames):
2016-05-14 19:28:16 +00:00
return open(os.path.join(srcdir, *rnames)).read()
2015-12-11 22:54:30 +00:00
2020-09-05 09:41:49 +00:00
2020-10-31 15:25:06 +00:00
# Get info from files; set: long_description and __version__
2020-09-05 09:41:49 +00:00
long_description = read("README.rst") + "\n"
2019-08-21 12:55:35 +00:00
exec(read("uncompyle6/version.py"))