Adapt respective fields like author and package-name in the setup.py
From within /template-python-project:
pip install -e .
-e
lets you install in development mode (you will not need to reinstall if you change code).
After installing it in an environment you can:
import mypackage
Run pytest
from within /template-python-project