Skip to content

Commit faf4f03

Browse files
committed
More administrivia
1 parent 1ac3d2d commit faf4f03

6 files changed

Lines changed: 70 additions & 1 deletion

File tree

.pre-commit-config.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
default_language_version:
2+
python: python
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v4.5.0
6+
hooks:
7+
- id: check-merge-conflict
8+
- id: debug-statements
9+
stages: [pre-commit]
10+
exclude: ChangeLog-spell-corrected.diff|mathics/builtin/system.py
11+
- id: end-of-file-fixer
12+
stages: [pre-commit]
13+
exclude: ChangeLog-spell-corrected.diff
14+
- id: trailing-whitespace
15+
exclude: ChangeLog-spell-corrected.diff
16+
- repo: https://github.com/pycqa/isort
17+
rev: 5.13.2
18+
hooks:
19+
- id: isort
20+
stages: [pre-commit]
21+
- repo: https://github.com/psf/black
22+
rev: 25.11.0
23+
hooks:
24+
- id: black
25+
language_version: python3
26+
exclude: 'mathics/version.py'
27+
stages: [pre-commit]

.yamllint

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# -*- conf -*-
2+
# .yamllint configuration file
3+
rules:
4+
line-length: disable

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ May 4, 2026
55

66
First public release.
77

8-
Remove Jupyter front-end mention in README. Jupyter front-end instructions will be an another GitHub repository.
8+
Remove Jupyter front-end mention in README. Jupyter front-end instructions will be in another GitHub repository.
99

1010
0.1.0
1111
-----

admin-tools/make-dist.sh

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#!/bin/bash
2+
PACKAGE=mathics3_notebook_frontends
3+
4+
# FIXME put some of the below in a common routine
5+
function finish {
6+
cd $mathics3_notebook_frontends_owd
7+
}
8+
9+
cd $(dirname ${BASH_SOURCE[0]})
10+
mathics3_notebook_frontends_owd=$(pwd)
11+
trap finish EXIT
12+
13+
if ! source ./pyenv-versions ; then
14+
exit $?
15+
fi
16+
17+
cd ..
18+
source mathics3_kernel/frontend/version.py
19+
20+
echo $__version__
21+
22+
pyversion=3.14
23+
if ! pyenv local $pyversion ; then
24+
exit $?
25+
fi
26+
rm -fr build
27+
python -m build --wheel
28+
python -m build --sdist
29+
finish

admin-tools/pyenv-versions

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
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+
export PYVERSIONS='3.11 3.12 3.13 3.14'

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ classifiers = [
4141
"Topic :: Scientific/Engineering :: Physics",
4242
"Topic :: Software Development :: Interpreters",
4343
]
44+
readme = "README.md"
4445

4546
[project.urls]
4647
Homepage = "https://mathics.org/"

0 commit comments

Comments
 (0)