Skip to content

Commit 25347bd

Browse files
committed
Get ready for release 1.0.0
1 parent 88a5da5 commit 25347bd

File tree

8 files changed

+76
-4
lines changed

8 files changed

+76
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/.python-version
2+
/ChangeLog
23
/trepan3k_mathics3.egg-info

CHANGES.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
CHANGES
2+
=======
3+
4+
01/20/2025
5+
6+
1.0.0
7+
8+
First public release. Add trepan3k debugger command functions
9+
10+
* ``mathics3``: Go into a Mathic3 shell
11+
* ``mbacktrace``: backtrace showing interesting Mathics3 frame interpretation
12+
* ``mup``: frame up allowing for jumping to interesting Mathics3 frame
13+
* ``mdown``, frame down allowing for jumping to interesting Mathics3 frame
14+
* ``printelement``: print customized for Mathics3 objects

MANIFEST.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
include ChangLog
12
include COPYING
23
include Makefile
3-
include NEWS
4+
include CHANGES.rst
45
include trepan3k_mathics3/__version__.py
5-
include test/Makefile
6+
include Makefile

Makefile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
PYTHON ?= python3
2+
PHONY=check clean dist distclean test rmChangeLog flake8
3+
#: Clean up temporary files
4+
clean:
5+
find . | grep -E '\.pyc' | xargs rm -rvf;
6+
find . | grep -E '\.pyo' | xargs rm -rvf;
7+
$(PYTHON) ./setup.py $@
8+
9+
10+
#: Create a ChangeLog from git via git log and git2cl
11+
ChangeLog: rmChangeLog
12+
git log --pretty --numstat --summary | $(GIT2CL) >$@
13+
14+
.PHONY: $(PHONY)

admin-tools/make-dist.sh

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#!/bin/bash
2+
PACKAGE=Mathics3-trepan
3+
4+
# FIXME put some of the below in a common routine
5+
function finish {
6+
if [[ -n "$trepan3k_mathics3_owd" ]] then
7+
cd $trepan3k_mathics3_owd
8+
fi
9+
}
10+
11+
cd $(dirname ${BASH_SOURCE[0]})
12+
trepan3k_mathics3_owd=$(pwd)
13+
trap finish EXIT
14+
15+
if ! source ./pyenv-versions ; then
16+
exit $?
17+
fi
18+
19+
20+
cd ..
21+
source pymathics/natlang/version.py
22+
echo $__version__
23+
24+
pyversion=3.12
25+
if ! pyenv local $pyversion ; then
26+
exit $?
27+
fi
28+
29+
python setup.py bdist_wheel --universal
30+
mv -v dist/${PACKAGE}-${__version__}-{py2.,}py3-none-any.whl
31+
python ./setup.py sdist
32+
finish

admin-tools/pyenv-versions

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# -*- shell-script -*-
2+
# Sets PYVERSIONS to be pyenv versions that
3+
# we can use in the master branch.
4+
if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
5+
echo "This script should be *sourced* rather than run directly through bash"
6+
exit 1
7+
fi
8+
9+
export PYVERSIONS='3.8 3.9 3.10 3.11 3.12'

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,15 @@ readme = "README.rst"
1717
license = {text = "GPL"}
1818
keywords = ["debugger"]
1919
classifiers = [
20-
"Development Status :: 5 - Production/Stable",
20+
"Development Status :: 3 - Alpha",
2121
"Intended Audience :: Developers",
2222
"License :: OSI Approved :: MIT License",
2323
"Programming Language :: Python",
2424
"Topic :: Software Development :: Libraries :: Python Modules",
2525
"Programming Language :: Python :: 3.10",
2626
"Programming Language :: Python :: 3.11",
2727
"Programming Language :: Python :: 3.12",
28+
"Topic :: Software Development :: Debuggers",
2829
]
2930
dynamic = ["version"]
3031

trepan3k_mathics3/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
# debugger version number.
66

77
# fmt: off
8-
__version__="7.0.0dev0" # noqa
8+
__version__="1.0.0" # noqa

0 commit comments

Comments
 (0)