Prepend the sys.path with the value of SHIV_PREPEND_PYTHONPATH, if set.
(env)
| 181 | |
| 182 | |
| 183 | def prepend_pythonpath(env): |
| 184 | """Prepend the sys.path with the value of SHIV_PREPEND_PYTHONPATH, if set.""" |
| 185 | if env.prepend_pythonpath: |
| 186 | sys.path.insert(0, env.prepend_pythonpath) |
| 187 | |
| 188 | |
| 189 | def bootstrap(): # pragma: no cover |
no outgoing calls