winget install -e --id=Python.Python.3.12
winget install -e --id=WiXToolset.WiXCLI
pip install setuptools pyinstaller Cython
python -m ercha.cli
ERCHA comes with some basic unit tests for validating functionality.
python -m unittest discover -s tests
python -m unittest discover -s tests -p test_functional.py
python -m unittest discover -s tests -p test_security.py
python -m unittest discover -s tests -p test_additional.py
python generate_configuration.py 0.1.0
python -m build
python3 -m twine upload --repository pypi dist/*
Run build_exe.cmd
, this will build the executable using pyinstaller. There is a small wrapper script ercha_launcher.py
used to launch the cli code. Installer will also be built.
This also generates the appropriate winget manifests in the winget
path.
- Create release on Github using version number as tag.
- Include MSI in release.
- Copy the version folder i.e
0.1.0
from inside thewinget
path tohttps://github.com/ezoa-page/fork-winget-pkgs/tree/master/manifests/e/Ezoa/ERCHA/
, then do a pull request.