Browse Source

Refined here and there

pull/54/head
Eugenio Parodi 4 years ago
parent
commit
1fa129e2a3
  1. 12
      Makefile
  2. 4
      README.md
  3. 5
      tests/sandbox/Makefile

12
Makefile

@ -1,4 +1,4 @@
.PHONY: doc runGittk runDemo build deploy buildTest deployTest
.PHONY: doc runGittk runDemo build deploy buildTest deployTest deploySandbox
.venv:
python3 -m venv .venv
@ -68,6 +68,16 @@ deployDoc:
git push origin gh-pages
git checkout main
deploySandbox:
cp -a tests/sandbox tmp/
git checkout gh-pages
cp tmp/sandbox/*.html sandbox
git commit -m "Sandbox Updated"
git push origin gh-pages
git checkout main
deployTest: .venv
. .venv/bin/activate ; \
python3 -m twine upload --repository testpypi tmp/dist/* --verbose

4
README.md

@ -29,8 +29,8 @@ and inspired by a mix of [Qt5](https://www.riverbankcomputing.com/static/Docs/Py
- The native **Windows** porting is not ready yet but it works with [Cygwin](https://www.cygwin.com) or **WSL**.
- Only the key combinations forwarded by the terminal emulator used are detected (ALT,CTRL may not be handled)
## Try
[![screenshot](https://github.com/ceccopierangiolieugenio/binaryRepo/blob/master/pyTermTk/replit.pytermtk.banner.png?raw=true)](https://replit.com/@EugenioP/pyTermTk?v=1)
## Try the Sandbox
[![screenshot](https://github.com/ceccopierangiolieugenio/binaryRepo/blob/master/pyTermTk/replit.pytermtk.banner.png?raw=true)](https://ceccopierangiolieugenio.github.io/pyTermTk/sandbox/sandbox.html)
## [Tutorial](tutorial)
Be inspired by the [tutorial examples](https://github.com/ceccopierangiolieugenio/pyTermTk/tree/main/tutorial)

5
tests/sandbox/Makefile

@ -31,6 +31,9 @@ www:
buildSandbox: www
rm -rf bin
mkdir -p bin
find ../../TermTk/ -name "*.py" | sort | xargs tar cvzf bin/TermTk.tgz
$( cd ../../ ; tools/prepareBuild.sh release ; )
find ../../tmp/TermTk/ -name "*.py" | sed 's,.*tmp/,,' | sort | xargs tar cvzf bin/TermTk.tgz -C ../../tmp
find ../../tutorial -name "*.py" | sort | xargs tar cvzf bin/tutorial.tgz
find ../../demo/paint.py ../../demo/ttkode.py ../../demo/demo.py ../../demo/showcase/*.* | sort | xargs tar cvzf bin/demo.tgz
Loading…
Cancel
Save