On Wed, 29 Aug 2018 at 10:42, Martin van Es <martin at surfnet.nl> wrote:
Hi,
I was discussing development of InAcademia with Niels and again had to mention
that the debug cycle of SATOSA involves: pip installing, editing the virtual-
env code, restarting satosa, check behaviour, port changes to the git tree,
commit and push, pip install --upgrade, check.
Especially the manual port of the virtualenv changes/hacks back into the git
tree are error prone.
Am I doing it wrong, or is this really the only way?
While on the project repository in a clean environment, do
pip install -e .
or
python ./setup.py develop
This will install the package in virtualenv by keeping a symlink to
the repository source.
Any change you make to the repository will be reflected to the
installed package.
You can verify this by running:
pip list -v
[...]
SATOSA 3.4.8 /projects/SATOSA/src
[...]
while other pacakges will be installed inside the virtualenv directory, ie
PyYAML 3.13
/projects/SATOSA/venv/lib/python3.7/site-packages pip
Hope this helps ;)
Cheers,
--
Ivan c00kiemon5ter Kanakarakis >:3