diff --git a/Makefile b/Makefile index e517770..85918d2 100644 --- a/Makefile +++ b/Makefile @@ -28,10 +28,8 @@ help: .venv: $(PYTHON3) -m venv .venv - $(PIP) install -U pip - $(PIP) install wheel - $(PIP) install pyflakes pylint yamllint pytest collective.checkdocs twine - $(PIP) install molecule[ansible] + $(PIP) install -U pip wheel + $(PIP) install -r requirements.txt $(PIP) install -e . init: .venv diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..0035ef6 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,8 @@ +# Requirements for development. +ansible +pyflakes +pylint +yamllint +pytest +collective.checkdocs +twine diff --git a/setup.py b/setup.py index f23ba38..3e43a62 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ def find_version(): }, install_requires=[ # molecule plugins are not allowed to mention Ansible as a direct dependency - 'molecule>=3.2.0', + 'molecule>=3.2.0,<4.0', 'pyyaml', 'proxmoxer>=1.3.1', ],