| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Set VIRTUAL_ENV enviroment in activate_this.py
VIRTUAL_ENV was not set in activate_this.py, while set in other activate scripts.
* Add tests for activate_this.py
* Fix syntax in test_activate_this.py
* fix
* more robust testing for the activate this
* fix Jython support of activate this
|
| |
|
|
|
|
|
| |
- global variables capital
- pep-8 compliant variable names
- some pycharm specific ignores
- fixed some typos
- prefer format over %
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Always store _OLD_VIRTUAL_PATH in a sh compat format
When using a subshell from fish while within a virtualenv the
_OLD_VIRTUAL_PATH variable ends up in fish format and not the format of
the subshell. This breaks the first step of the activate script where it
attepts to deactivate the previous environment.
This patch will handle conversion to and from sh and fish formats within
the activate.fish script
* Add test and update to new delimiter
* Fix lint
Remove line that didn't lint as we don't need it.
* Rebuild virtualenv.py
* Add changelog
* fix_lint
* Try to add fish to build env
* Use less fish (only when running py tests)
* remove code duplication for activation testers
* Consolidate activation testing
- add tests for csh, bash
- rework bash, csh tests
- remove powershell singing
- powershell pydoc support
* file and with extension
* universal newline
* Add debug env var, and normalize on Linux to via realpath (Jython failure)
* switch to bat
* fix xonosh
* fix xonsh further
* fix jython
* fix lint
* enable pytest debug
|
| |
|
|
|
|
|
|
|
| |
copyfile was broken for symlinks that pointed to relative paths, and for
symlinks that pointed to further symlinks (which meant that virtualenv
failed to work in some cases when the Python executable it found was
a symlink, e.g. when Python had been installed using stow or homebrew;
issue #268).
Make it follow symlinks until it finds an actual file to copy.
|
| |
|
|
|
| |
- added docs on running the internal test suite using `tox`
- added a test for creating a Python environment in a path with spaces
- added a test for creating a Python environment while locating the needed wheel sources in a path with spaces
|
| |
|
|
|
|
|
|
| |
See https://github.com/pypa/pip/blob/master/src/pip/_vendor/README.rst
It is acceptable to remove the pip/_vendor/requests/cacert.pem file from pip
Virtualenv should not error on that
|
| |
|
| |
fixes #1248
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
- tests no longer permanently modify the `virtualenv` module under test
(`virtualenv.is_executable` changes were leaking from some tests)
- tests now check that `get_installed_python()` results unrelated to the
given version tag do not affect the result
- simple patch function's return values now given in `@patch` decorators
to make the test code more compact
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
1) let it run for windows; should be harmless
2) confirm files and dirs are not links
3) create the tmp venvs in a *new* directory
4) if a symlink is found, report what it's linked to
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\
| |
| |
| |
| |
| |
| | |
into schmir-fix-update-defaults
Conflicts:
tests/test_virtualenv.py
|
| | |
| |
| |
| |
| |
| |
| |
| | |
these need to revert the logic, otherwise calling virtualenv with
VIRTUALENV_NO_SITE_PACKAGES=1 set, will create a virtualenv *with*
site packages.
also adds a test
|
| |/ |
|
| |
|
|
| |
version string.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
not actually needed here.
|
| | |
|
| | |
|
|
|
Fixes #121
Add tests for virtualenv with nose and mock
Add helper method to virtualenv for is_executable
Raise SystemExit rather than sys.exit directly
Tested on 2.4.4, 2.7.1 and 3.2
|