python3-template
- Clone this
.git
repository to local machine:
git clone https://github.com/wes-o/python3-template.git <template-name> && cd $_
- Checkout a branch currently in development.
git checkout --track origin/dev
- A good practice is to create, and activate a virtual environment:
python3 -m venv venv
source venv/Scripts/activate
- Change into directory location of 'python3-template'. Then, run:
pip install --trusted-host pypi.org setuptools==40.8.0
Specific version chosen based on documented version. See following link for more info. [https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/#fallback-behaviour]
- After package installation, try to install local module.
# first installation
pip install .
# upgrade existing installation, for version update
pip install --upgrade .
*Test it out locally. 🎵 🎵 *
python3 test.py