{{cookiecutter.project_description}}
- Install PyEnv to be able to work with many Python versions at once PyEnv→Installation.
- Install Python versions needed:
$ pyenv local | xargs -L1 pyenv install
- Install Poetry to the system Python.
It is important to install Poetry into the system Python, NOT in your virtual environment. For details see Poetry docs: https://python-poetry.org/docs/#installation
# Check if you have Poetry properly installed. $ poetry self update # Install Poetry to the system. Make sure virtualenv is not active! $ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
- Create local virtualenv in
.venv
, install all project dependencies (frompyproject.toml
), and upgrade pip:
$ poetry install && poetry run pip install --upgrade pip
- Run tests:
$ pytest
- Open project directory in the VS Code and follow recommendations.