Changes between Initial Version and Version 1 of Ticket #27059
- Timestamp:
- Aug 13, 2016, 1:23:37 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27059 – Description
initial v1 1 1 In my configuration, aiming for isolation, I installed django with pyenv (virtualenv) and buildout. 2 2 In that case when using {{{manage.py runserver}}} the reloading loose the sys.path (and thus the eggs installed in the buildout) 3 In the case of a buildout sys.executable give the path of the python executable the buildout was build withand not the python script in <buildout-root>/bin/3 In the case of a buildout sys.executable returns the path of the python executable the buildout was build with, and not the python script in <buildout-root>/bin/ 4 4 5 5 I am not sure why nobody had the problem before but I devised a hack since restart_with_reloader properly copy the environment I patched the code to copy the sys.path into the pythonpath envar of the process.