Skip to content

Commit

Permalink
Release of v6.1.3
Browse files Browse the repository at this point in the history
Using TestPyPI to test installation before releasing to PyPI.
  • Loading branch information
capn-freako committed Jun 9, 2024
1 parent bc3a1e1 commit a74a671
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 26 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ share/python-wheels/
*.egg
MANIFEST
*.out
_install_test/

# PyInstaller
# Usually these files are written by a python script from a template
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

PROJ_NAME := PipBERT
PROJ_FILE := pyproject.toml
PROJ_INFO := src/PipBERT.egg-info/PKG-INFO
VER_FILE := .proj_ver
VER_GETTER := get_proj_ver
PYTHON_EXEC := python
Expand All @@ -23,7 +24,7 @@ dflt: help
check:
${TOX_EXEC} exec -e lint -- validate-pyproject ${PROJ_FILE}

${VER_FILE}: ${PROJ_FILE}
${VER_FILE}: ${PROJ_INFO}
${PYTHON_EXEC} -m ${VER_GETTER} ${PROJ_NAME} $@

tox:
Expand Down
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,17 @@ PyBERT is a serial communication link bit error rate tester simulator with a gra
It uses the Traits/UI package of the Enthought Python Distribution (EPD) <http://www.enthought.com/products/epd.php>,
as well as the NumPy and SciPy packages.

Notice: Before using this package for any purpose, you MUST read and understand the terms put forward in the accompanying "LICENSE" file.
**Notice:** Before using this package for any purpose, you MUST read and understand the terms put forward in the accompanying "LICENSE" file.

User Installation
-----------------

- <https://github.com/capn-freako/PyBERT/wiki/instant_gratification>

Developer Installation
----------------------

- <https://github.com/capn-freako/PyBERT/wiki/dev_install>

Wiki
----
Expand All @@ -23,16 +33,6 @@ Email List

- <[email protected]>

User Installation
-----------------

- <https://github.com/capn-freako/PyBERT/wiki/instant_gratification>

Developer Installation
----------------------

- <https://github.com/capn-freako/PyBERT/wiki/dev_install>

Testing
-------

Expand All @@ -42,7 +42,7 @@ for any installed/supported of versions and it will skip any missing versions.
- `pip install tox`
- `tox -p all`

To run a single environment such as "docs" run: `tox -e docs`
To run a single environment such as "docs" run: `tox run -e docs`

Documentation
-------------
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "PipBERT"
description = "Serial communication link bit error rate tester simulator, written in Python."
version = "6.1.2"
version = "6.1.3"
# dynamic = ["version"]
authors = [ {name = "David Banas", email = "[email protected]"}
, {name = "David Patterson"}
Expand Down
16 changes: 5 additions & 11 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -120,21 +120,15 @@ commands =

[testenv:install]
skip_install = true
depends = build
depends = build # Not working.
deps =
check-wheel-contents
twine
changedir = _install_test
commands =
twine upload --repository=testpypi ../dist/PipBERT-{env:PROJ_VER}-py3-none-any.whl
-rm *.whl
wget https://github.com/capn-freako/PyBERT/raw/master/deps/enable-6.1.0.dev0-cp312-cp312-macosx_12_0_arm64.whl
# check-wheel-contents enable-6.1.0.dev0-cp312-cp312-macosx_12_0_arm64.whl
pip install enable-6.1.0.dev0-cp312-cp312-macosx_12_0_arm64.whl
wget https://github.com/capn-freako/PyBERT/raw/master/deps/chaco-6.0.0-cp312-cp312-macosx_12_0_arm64.whl
# check-wheel-contents chaco-6.0.0-cp312-cp312-macosx_12_0_arm64.whl
pip install chaco-6.0.0-cp312-cp312-macosx_12_0_arm64.whl
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ PipBERT
twine upload --repository=testpypi dist/PipBERT-{env:PROJ_VER}-py3-none-any.whl
pip install https://github.com/capn-freako/PyBERT/raw/master/deps/enable-6.1.0.dev0-cp312-cp312-macosx_12_0_arm64.whl
pip install https://github.com/capn-freako/PyBERT/raw/master/deps/chaco-6.0.0-cp312-cp312-macosx_12_0_arm64.whl
pip install -U --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ PipBERT
pybert --version

[testenv:upload]
Expand Down

0 comments on commit a74a671

Please sign in to comment.