-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
109 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
1.0.0 2020-04-20 One-oh! | ||
======================== | ||
|
||
I gotta say it that the interaction between this and x-python is pretty cool, and the possibiilities for which direction to go in on both projects are numerous and vast. | ||
|
||
How did I get here? Well, I was pouring over trace logs to find bugs in x-python, and then realized, hey, I've written a debugger already for Python that could help here. | ||
|
||
So here it is. I can die now and my life is complete. | ||
|
||
Although commands like `next`, `finish` and breakpoints, aren't there yet, rather than sit on it this, I thought I'd release. This is very usuable as is - release early and often! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-refresh-toc --> | ||
**Table of Contents** | ||
|
||
- [Get latest sources:](#get-latest-sources) | ||
- [Change version in trepanxpy/version.py.](#change-version-in-trepanxpyversionpy) | ||
- [Update ChangeLog:](#update-changelog) | ||
- [Update NEWS.md from ChangeLog. Then:](#update-newsmd-from-changelog-then) | ||
- [Update NEWS.md from master branch](#update-newsmd-from-master-branch) | ||
- [Make packages and check](#make-packages-and-check) | ||
- [Get on PyPy](#get-on-pypy) | ||
|
||
<!-- markdown-toc end --> | ||
|
||
# Get latest sources: | ||
|
||
$ git pull | ||
|
||
# Change version in trepanxpy/version.py. | ||
|
||
$ emacs trepanxpy/version.py | ||
$ source trepanxpy/version.py | ||
$ echo $VERSION | ||
$ git commit -m"Get ready for release $VERSION" . | ||
|
||
|
||
# Update ChangeLog: | ||
|
||
$ make ChangeLog | ||
|
||
# Update NEWS.md from ChangeLog. Then: | ||
|
||
$ emacs NEWS.md | ||
$ remake -c check | ||
$ git commit --amend . | ||
$ git push # get CI testing going early | ||
|
||
# Update NEWS.md from master branch | ||
|
||
$ git commit -m"Get ready for release $VERSION" . | ||
|
||
# Make packages and check | ||
|
||
$ ./admin-tools/make-dist.sh | ||
$ twine check dist/trepanxpy-$VERSION* | ||
|
||
# Get on PyPy | ||
|
||
Goto https://github.com/rocky/trepan-xpy/releases/new | ||
|
||
|
||
$ twine upload dist/trepan[-_]xpy-${VERSION}* | ||
|
||
Check on https://pypi.org/project/trepan-xpy/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/bin/bash | ||
PACKAGE=trepan-xpy | ||
|
||
# FIXME put some of the below in a common routine | ||
function finish { | ||
cd $owd | ||
} | ||
|
||
cd $(dirname ${BASH_SOURCE[0]}) | ||
owd=$(pwd) | ||
trap finish EXIT | ||
|
||
if ! source ./pyenv-versions ; then | ||
exit $? | ||
fi | ||
|
||
cd .. | ||
source trepanxpy/version.py | ||
echo $VERSION | ||
|
||
for pyversion in $PYVERSIONS; do | ||
if ! pyenv local $pyversion ; then | ||
exit $? | ||
fi | ||
# pip bdist_egg create too-general wheels. So | ||
# we narrow that by moving the generated wheel. | ||
|
||
# Pick out first two number of version, e.g. 3.5.1 -> 35 | ||
first_two=$(echo $pyversion | cut -d'.' -f 1-2 | sed -e 's/\.//') | ||
rm -fr build | ||
python setup.py bdist_egg bdist_wheel | ||
mv -v dist/${PACKAGE}-$VERSION-{py2.py3,py$first_two}-none-any.whl | ||
done | ||
|
||
python ./setup.py sdist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# -*- shell-script -*- | ||
# Sets PYVERSIONS to be pyenv versions that | ||
# we can use in the master branch. | ||
export PYVERSIONS='3.6.10 3.5.9 3.7.7' | ||
if [[ $0 == ${BASH_SOURCE[0]} ]] ; then | ||
typeset -p PYVERSIONS | ||
echo "Note: this script should be *sourced* rather than run directly through bash" | ||
exit 1 | ||
fi |