You can git clone
this project.
git clone https://github.com/jai-python3/simple-template-toolkit.git
cd simple-template-toolkit
You can optionally establish a Python virtual environment.
Then you can run the setup.py
script to build to project and then run pip install
to install in your local Python virtual environment.
virtualenv -p python3 venv
source venv/bin/activate
python setup.py sdist
pip install .
You can uninstall like this:
source venv/bin/activate
pip uninstall simple-template-toolkit
make clean
If you modify the code in this package in your local virtual environment:
pip uninstall simple-template-toolkit
make clean
python setup.py sdist
pip install .
You want can publish the code in this package to the PYPI repository.
Install twine
and setuptools
.
pip install twine setuptools
python setup.py sdist bdist_wheel
[pypi]
username = __token__
password = pypi-YOUR-TOKEN
twine upload dist/*
Now you can install your package in your Python virtual environment
pip install simple-template-toolkit