Vinay Sajip added the comment:

Indeed, and in fact *all* scripts written to a venv's bin directory hard-code 
the path to that venv's interpreter. This confers the benefit that such scripts 
never need the venv to be explicitly activated - you can e.g. point crontab 
entries to them directly.

You're better off making the Jenkins job build the environment in its workspace 
before using it - venvs are intended to be reproducible and, consequently, 
disposable.

----------
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25833>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to