diff options
| author | Monty Taylor <mordred@inaugust.com> | 2017-01-13 14:18:32 -0600 |
|---|---|---|
| committer | Steve Martinelli <s.martinelli@gmail.com> | 2017-01-14 20:40:17 +0000 |
| commit | 63cdf079b102a0b575ab760435130e23cdbc0db5 (patch) | |
| tree | 1bb4977a41d070d0860dcf8269bebd3b348f8244 /tox.ini | |
| parent | f8e2cf80a1d694045907bf420b6784464f0a6c0b (diff) | |
| download | python-openstackclient-63cdf079b102a0b575ab760435130e23cdbc0db5.tar.gz | |
Use git+file urls instead of directories
The /opt/stack/new directories are owned by the wrong user, so python
setup.py egg_info fails because it can't create the egg_info dir.
Changing the invocation to use git+file:// urls solves the problem.
Additionally, make a correction to test collection.
Change-Id: I39da0b26417dce1a72b15dedc02d10284329307f
Diffstat (limited to 'tox.ini')
| -rw-r--r-- | tox.ini | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -58,9 +58,10 @@ passenv = OS_* setenv = OS_TEST_PATH=./openstackclient/tests/functional passenv = OS_* commands = - pip install -q -U -e /opt/stack/new/osc-lib - pip install -q -U -e /opt/stack/new/python-openstacksdk - pip install -q -U -e /opt/stack/new/os-client-config + pip install -q -U -e "git+file:///opt/stack/new/osc-lib#egg=osc_lib" + pip install -q -U -e "git+file:///opt/stack/new/python-openstacksdk#egg=openstacksdk" + pip install -q -U -e "git+file:///opt/stack/new/os-client-config#egg=os_client_config" + pip freeze ostestr {posargs} [testenv:venv] |
