Commit graph

111 commits

Author SHA1 Message Date
Yamashita, Yuu 0b42fbc27d v20151222 2015-12-22 10:38:02 +00:00
Yamashita, Yuu 3fc832f4c7 Create virtualenv inside real_prefix 2015-12-04 00:43:10 +00:00
Yamashita, Yuu aae3bf2786 Add workaround for rywyo/anyenv 2015-12-04 00:43:03 +00:00
Yamashita, Yuu 035f5185b5 Skip ensurepip if --no-setuptools, --no-pip or --without-pip is given (fixes #127) 2015-12-04 00:07:01 +00:00
Yamashita, Yuu 6a2b77ed5b Fix tests 2015-11-27 12:36:59 +00:00
Yamashita, Yuu 789c349570 Allow specifying python version for conda via -p or --python 2015-11-27 04:41:00 +00:00
Yamashita, Yuu bad8dcf768 Use conda create to create virtualenv if the source version is a Anaconda/Miniconda 2015-11-27 04:32:34 +00:00
Yamashita, Yuu 5f87786adf Remove PYENV_DEACTIVATE (fixes #121)
This means that pyenv-virtualenv will not allow manual deactivation of
virtualenv if pyenv-virtualenv-init is enabled. This must be acceptable
since the activation of virtualenv is just setting of environment
variables in current implementation.
2015-11-23 13:33:31 +00:00
Yamashita, Yuu 59bc189bec Basically / should not be allowed as a part of name of virtualenv 2015-11-23 09:38:39 +00:00
Yamashita, Yuu 0b9b19232a Skip creating $(pyenv root)/versions/system/envs/ directory for virtualenv from system 2015-11-11 01:34:59 +09:00
Yamashita, Yuu c1b9238cbe Reject creating a virtualenv named system (yyuu/pyenv#475) 2015-11-08 23:44:58 +00:00
Yamashita, Yuu a233491f2b Remove obsolete TODO comment 2015-11-05 01:58:44 +00:00
Yamashita, Yuu 8038659299 Create virtualenv inside envs directory as similar as Anaconda 2015-11-04 14:56:01 +00:00
Yamashita, Yuu 72cf0e1b1b v20151103 2015-11-03 13:36:45 +00:00
Yamashita, Yuu 6a6947659a v20151006 2015-10-06 14:06:58 +00:00
Yamashita, Yuu 249759aa04 add foolproof for -p argument.
find proper source version from pyenv if the given executable is only
basename or is a shim script.
2015-10-06 13:53:43 +00:00
Yamashita, Yuu e535faea4d Ignore user's site-packages on ensurepip/get-pip (#89)
https://www.python.org/dev/peps/pep-0370/
2015-07-20 19:05:52 +09:00
Yamashita, Yuu 90531a6a48 v20150719 2015-07-19 18:22:34 +09:00
Yamashita Yuu 69fee6855d Show error message if the source version is not installed (#83) 2015-06-27 02:19:28 +09:00
Yamashita Yuu e261806f96 Skip installing setuptools explicitly with using ez_setup.py (yyuu/pyenv#381)
It will be done by `get-pip.py` and we don't have to do anything explicitly.
2015-05-27 00:06:16 +09:00
Yamashita Yuu 9a52f9fb5d v20150526
First release after my son's birth....
2015-05-27 00:01:13 +09:00
Yamashita, Yuu 47cd86a165 Merge pull request #74 from blueyed/help-version-is-optional
Usage: version is optional
2015-04-28 17:19:46 +09:00
Daniel Hahler 6bc0253d17 minor: fix comments 2015-04-28 10:17:02 +02:00
Daniel Hahler c184c01174 Usage: version is optional 2015-04-28 10:13:59 +02:00
Yamashita Yuu 32e5a73345 v20150119 2015-01-19 00:53:19 +09:00
Yamashita Yuu ad644e83b5 v20141106 2014-11-06 09:47:54 -08:00
Yamashita Yuu a02eb0a396 Calling create_symlinks after ensurepip is unnecessary
Install script of setuptools-6.1/pip-1.5.6 will create those links if needed
2014-10-19 10:59:52 +09:00
Yamashita Yuu 1d36ef2f68 v20141012 2014-10-12 21:55:47 +09:00
Daniel Hahler 86046fd4e8 Do not allow whitespace in VIRTUALENV_NAME
While this could work in general, it fails in the end, because
whitespace is not allowed/supported in the shebang line with the
scripts in the created virtualenv.
2014-09-03 23:28:46 +02:00
Yamashita Yuu 7aa5d13633 v20140705 2014-07-05 17:26:53 +09:00
Yamashita Yuu e2e69b3b38 Create backup of original virtualenv within $(pyenv root)/versions when --upgrade 2014-07-01 21:24:54 +09:00
Yamashita Yuu 008a9820bb Refactor --upgrade feature with virtualenv 2014-07-01 21:23:37 +09:00
Yamashita Yuu 763696b3fb Expand install_virtualenv for code simplicity 2014-06-28 19:13:04 +09:00
Yamashita Yuu 0580d566d4 Remove a call of create_symlinks after the upgrade of existing virtualenv.
The `pyenv-virtualenv` only takes care about the name of executables of `python`,
`setuptools` and `pip`.
2014-06-28 17:53:02 +09:00
Yamashita Yuu 7a6325f8a4 Display deprecated warnings when --upgrade has given with virtualenv 2014-06-28 17:49:43 +09:00
Yamashita Yuu bad4507541 Run _ensurepip_ after the every creation of virtualenv/pyvenv 2014-06-28 01:03:33 +09:00
Yamashita Yuu 7c8805c343 Use same _ensurepip_ logic as python-build 2014-06-28 00:49:04 +09:00
Yamashita Yuu 877aba8ae7 Refactoring around SETUPTOOLS_VERSION and PIP_VERSION 2014-06-21 02:05:14 +09:00
Yamashita Yuu 2fc7e62b78 Use https://bootstrap.pypa.io/ez_setup.py and https://bootstrap.pypa.io/get-pip.py 2014-06-16 11:22:39 +09:00
Yamashita Yuu ea18a1b283 v20140615 (fixes #26) 2014-06-15 20:20:29 +09:00
Yamashita Yuu dc12a345d8 Workaround for the issue with pyenv-which-ext (refs #26) 2014-06-15 18:36:21 +09:00
Yamashita Yuu 4a6ef11349 v20140614 2014-06-14 14:45:57 +09:00
Yamashita Yuu fe5e69846e Create symlinks for executables with version suffix 2014-06-12 20:35:44 +09:00
Yamashita Yuu c9043920db v20140602 2014-06-02 21:42:27 +09:00
Yamashita Yuu 3f5171e2fc Use new style GH raw url to avoid redirects (raw.github.com -> raw.githubusercontent.com) 2014-04-30 11:52:15 +09:00
Yamashita Yuu 579f4784c8 v20140421 (fixes #19) 2014-04-21 20:24:25 +09:00
Yamashita Yuu 2cab533652 Use virtualenv instead of pyvenv if -p has given (yyuu/pyenv#158) 2014-04-20 15:24:40 +09:00
Yamashita Yuu 1d291c7c4c v20140123 2014-01-23 19:09:40 +09:00
Yamashita Yuu 4feb64e8d3 Display the version of pyvenv if USE_PYVENV is set 2014-01-23 14:51:56 +09:00
Yamashita Yuu 826a7e1a37 Unset PIP_REQUIRE_VENV before executing pip install. (#10) 2014-01-22 20:08:11 +09:00