StringTemplate3 provides a python3 implementation of https://github.com/antlr/stringtemplate4
The following mamba environment was used.
mamba create -n st3
mamba install -c conda-forge python==3.11
mamba install -c conda-forge python-build twine pip pytest
mamba activate st3
The two main package managers for Python are pip
and conda
.
(I use a mamba variant of conda.)
python -m build --wheel
Before uploading anywhere the wheel file can be installed. .install the wheel locally
python -m pip install ./dist/stringtemplate3-*-py3-*.whl
Before uploading to the official site upload to the test repository.
python -m twine upload --repository testpypi dist/*
Publishing to the official repository.
python -m twine upload --repository pypi dist/*
python -m pip install -i https://test.pypi.org/simple/ stringtemplate3
python -m pip install stringtemplate3
Note: handled in a separate project. Not yet implemented.
mamba install stringtemplate3
New contributors are always welcome! If you discover errors or omissions in the source code, documentation, or website content, please don’t hesitate to submit an issue or open a pull request with a fix.