Skip to content

Commit

Permalink
Install package as editable
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
freyes committed Apr 15, 2024
1 parent 8f8d197 commit 7ac70bd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@

[tox]
envlist = py3
skipsdist = true
download = true
package = editable

[testenv]
install_command = pip install {opts} {packages}
Expand All @@ -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

Expand Down

0 comments on commit 7ac70bd

Please sign in to comment.