-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Support virtual environment * Add test_venv.jl * Add python3.4-venv in Travis * Fix pythonhome_of for Julia 0.6 * Properly treat venv path in Windows tests Since this is useful outside PyCall testing, I included this functionality in python_cmd function instead of inlining it to the test. * Mark venv test broken in Windows * Support venv properly * `venv` support is now properly tested. This finds a bug in `pythonhome_of`: `sys.base_prefix` should be used instead of `sys.prefix` (same for `sys.base_exec_prefix`). * The path to Python executable passed to `pythonhome_of` was ignored when `python_cmd` was introduced. This is fixed now. * Use `python_cmd` in `find_libpython`. This properly sets `PYTHONIOENCODING`. * Test with virtualenv command as well * Specify Python version in virtualenv activation test * Move pythonhome_of to depsutils.jl and use it during build * Support "venv activation" test inside virtualenv * Show correct Python executable when import fails * Use static memory location than malloc * Create virtual environment at non-ascii evil path * Be kind to Python 2 * Unify Py_SetPythonHome wrapper functions * reinterpret source array instead of dest * Improve docs and comments * Simplify __init__() by merging venv code path * Stop using Compat in test_venv.jl as in 45cbcee * Use property-based syntax in test_venv.jl * Add docs on virtual environment usage * Remove unnecessary VERSION < v"0.7.0-" branch * grammar fixes; rm references to internal details about Python API functions * inline links
- Loading branch information
Showing
9 changed files
with
375 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.