File tree Expand file tree Collapse file tree 3 files changed +43
-13
lines changed
Expand file tree Collapse file tree 3 files changed +43
-13
lines changed Original file line number Diff line number Diff line change 1+ # A GNU Makefile to run various tasks - compatibility for us old-timers.
2+
3+ # Note: This makefile include remake-style target comments.
4+ # These comments before the targets start with #:
5+ # remake --tasks to shows the targets and the comments
6+
7+ GIT2CL ?= admin-tools/git2cl
18PYTHON ?= python3
2- PHONY =check clean dist distclean test rmChangeLog flake8
9+ PIP ?= pip3
10+ BASH ?= bash
11+ RM ?= rm
12+
13+ .PHONY : \
14+ all \
15+ check \
16+ clean \
17+ dist \
18+ rmChangeLog \
19+ ChangeLog
20+
21+ # : Default target - same as "develop"
22+ all : develop
23+
24+ develop :
25+ $(PIP ) install -e .[dev]
26+
327# : Clean up temporary files
428clean :
529 find . | grep -E ' \.pyc' | xargs rm -rvf;
630 find . | grep -E ' \.pyo' | xargs rm -rvf;
731 $(PYTHON ) ./setup.py $@
832
33+ # : Make distribution: wheel and tarball
34+ dist :
35+ ./admin-tools/make-dist.sh
36+
37+ # : Install trepan3k-mathics3
38+ install :
39+ $(PIP ) install -e .
40+
41+ # : Remove ChangeLog
42+ rmChangeLog :
43+ $(RM ) ChangeLog || true
944
1045# : Create a ChangeLog from git via git log and git2cl
1146ChangeLog : rmChangeLog
Original file line number Diff line number Diff line change 11#! /bin/bash
2- PACKAGE=Mathics3-trepan
2+ PACKAGE=trepan3k_mathics3
33
44# FIXME put some of the below in a common routine
55function finish {
@@ -8,25 +8,20 @@ function finish {
88 fi
99}
1010
11+ trepan3k_mathics3_owd=$( pwd)
1112cd $( dirname ${BASH_SOURCE[0]} )
1213trepan3k_mathics3_owd=$( pwd)
1314trap finish EXIT
1415
15- if ! source ./pyenv-versions ; then
16- exit $?
17- fi
18-
19-
2016cd ..
21- source pymathics/natlang /version.py
17+ source $PACKAGE /version.py
2218echo $__version__
2319
24- pyversion=3.12
20+ pyversion=3.13
2521if ! pyenv local $pyversion ; then
2622 exit $?
2723fi
2824
29- python setup.py bdist_wheel --universal
30- mv -v dist/${PACKAGE} -${__version__} -{py2.,}py3-none-any.whl
31- python ./setup.py sdist
25+ pip wheel --wheel-dir=dist .
26+ python -m build --sdist
3227finish
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ authors = [
1313name = " trepan3k_mathics3"
1414description = " trepan3k plugin to support Mathics3 debugging"
1515dependencies = [
16- " Mathics3" ,
16+ # "Mathics3>8.0.1 ",
1717 " trepan3k>=1.4.0"
1818 ]
1919readme = " README.rst"
You can’t perform that action at this time.
0 commit comments