From 7ac70bdba9c2dc224dfa2f32ff00c860bcbe0c36 Mon Sep 17 00:00:00 2001 From: Felipe Reyes Date: Mon, 15 Apr 2024 10:53:06 -0400 Subject: [PATCH] Install package as editable Replace '-e {toxinidir}' with 'package = editable', this allows adding the source code early in the process and avoid packages listed in the deps section to pull in charm-tools from pypi. --- tox.ini | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index ab4cf43..01d6c82 100644 --- a/tox.ini +++ b/tox.ini @@ -5,8 +5,7 @@ [tox] envlist = py3 -skipsdist = true -download = true +package = editable [testenv] install_command = pip install {opts} {packages} @@ -19,7 +18,6 @@ deps = coverage mock responses - -e {toxinidir} https://github.com/openstack-charmers/charm-templates-openstack/archive/master.zip#egg=charm_templates_openstack ipdb