Skip to content

Commit

Permalink
Get ready for release 1.2.10
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Mar 18, 2024
1 parent 423fefa commit 1124f79
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 33 deletions.
13 changes: 13 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
1.2.10 2024-05-17
=================

* Revise for newer `xdis`.
* Go over disassembly (more work is needed)
* Add `set/show asmfmt`, and `set/show styles` commands.
* Go over terminal detection.
* Tolerate GraalVM
* Remove use of `nosetest` in master branch
* Modernize code using black and isort; convert to fstring use.
* Tokerate 3.11 and 3.12; git branches handle older Python versions


1.2.9 2023-05-27
================

Expand Down
67 changes: 67 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
[build-system]
requires = [
"setuptools>=61.2",
]

build-backend = "setuptools.build_meta"

[project]
authors = [
{name = "Rocky Bernstein", email = "[email protected]"},
]

name = "trepan"
description = "Python cross-version byte-code library and disassembler"
dependencies = [
"columnize >= 0.3.10",
"pyficache >= 2.3.0",
"xdis >= 6.0.3,<6.2.0",
"pygments >= 2.2.0",
"spark_parser >= 1.8.9, <1.9.0",
"tracer >= 0.3.2",
"term-background >= 1.0.1",
]
readme = "README.rst"
license = {text = "GPL"}
keywords = ["Python bytecode", "bytecode", "disassembler"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Software Development :: Debuggers",
"Topic :: Software Development :: Libraries :: Python Modules",
"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",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: PyPy",
]
dynamic = ["version"]

[project.urls]
Homepage = "https://pypi.org/project/trepan3k/"
Downloads = "https://github.com/rocky/python-trepan3k/releases"

[project.optional-dependencies]
dev = [
"flake8",
"pre-commit",
"pytest",
]

[project.scripts]
trepan3k = "trepan.__main__:main"
trepan3kc = "trepan.client:main"

[tool.setuptools.dynamic]
version = {attr = "trepan.version.__version__"}
32 changes: 0 additions & 32 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,11 @@
print(mess)
raise Exception(mess)

# Get the package information used in setup().
from __pkginfo__ import (
__version__,
author,
author_email,
classifiers,
entry_points,
install_requires,
license,
long_description,
modname,
py_modules,
short_desc,
web,
zip_safe,
)

__import__("pkg_resources")

packages = find_packages()

setup(
author=author,
author_email=author_email,
classifiers=classifiers,
data_files=[
(
"trepan/processor/command/help",
Expand All @@ -52,17 +32,5 @@
],
)
],
description=short_desc,
entry_points=entry_points,
install_requires=install_requires,
license=license,
long_description=long_description,
long_description_content_type="text/x-rst",
name=modname,
packages=packages,
py_modules=py_modules,
test_suite="nose.collector",
url=web,
version=__version__,
zip_safe=zip_safe,
)
2 changes: 1 addition & 1 deletion trepan/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# debugger version number.

# fmt: off
__version__="1.2.10a0" # noqa
__version__="1.2.10" # noqa

0 comments on commit 1124f79

Please sign in to comment.