Setup of the environment currently uses Nix and direnv to install Python, pip, and virtualenv. The virtualenv is then used to install molecule
, yamllint
, ansible-lint
, and ansible-core
, among other dependencies. Steps to set up the environment:
- Clone the repo to your local machine.
- With Nix and direnv installed, run
direnv allow
. This will set up the Python environment. - Create a new virtual environment with
python3 -m venv .venv
- Activate the virtual environment with
source .venv/bin/activate
- Install needed dependencies with
python3 -m pip install -r requirements.txt