Skip to content

Commit

Permalink
Merge pull request #2521 from pypa/purge-pew
Browse files Browse the repository at this point in the history
Un-vendor Pew
  • Loading branch information
uranusjr authored Jul 5, 2018
2 parents f5a1fa7 + 06fda49 commit ef6e667
Show file tree
Hide file tree
Showing 40 changed files with 22 additions and 2,040 deletions.
7 changes: 4 additions & 3 deletions docs/advanced.rst
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ will detect it.
- ``PIPENV_SHELL_FANCY`` — Always use fancy mode when invoking ``pipenv shell``.

- ``PIPENV_VENV_IN_PROJECT`` — If set, use ``.venv`` in your project directory
instead of the global virtualenv manager ``pew``.
instead of a global location.

- ``PIPENV_COLORBLIND`` — Disable terminal colors, for some reason.

Expand Down Expand Up @@ -424,8 +424,9 @@ For example::
☤ Custom Virtual Environment Location
-------------------------------------

Pipenv's underlying ``pew`` dependency will automatically honor the ``WORKON_HOME`` environment
variable, if you have it set — so you can tell pipenv to store your virtual environments wherever you want, e.g.::
Pipenv automatically honors the ``WORKON_HOME`` environment variable, if you
have it set — so you can tell pipenv to store your virtual environments
wherever you want, e.g.::

export WORKON_HOME=~/.venvs

Expand Down
1 change: 0 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ imagesize==0.7.1
Jinja2==2.9.6
MarkupSafe==1.0
pbr==3.1.1
pew==0.1.26
pip-tools==1.9.0
-e .
Pygments==2.2.0
Expand Down
2 changes: 2 additions & 0 deletions news/2503.behavior
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Virtual environment activation for ``run`` is revised to improve interpolation
with other Python discovery tools.
1 change: 1 addition & 0 deletions news/2511.behavior
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Improve terminal coloring to display better in Powershell.
1 change: 1 addition & 0 deletions news/2515.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix subshell invocation on Windows for Python 2.
1 change: 1 addition & 0 deletions news/2518.behavior
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Invoke ``virtualenv`` directly for virtual environment creation, instead of depending on ``pew``.
2 changes: 2 additions & 0 deletions news/2521.vendor
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Pew is no longer vendored. Entry point ``pewtwo``, packages ``pipenv.pew`` and
``pipenv.patched.pew`` are removed.
2 changes: 1 addition & 1 deletion pipenv/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ def activate_pyenv():
if (not PIPENV_DONT_USE_PYENV) and (SESSION_IS_INTERACTIVE or PIPENV_YES):
version_map = {
# TODO: Keep this up to date!
# These versions appear incompatible with pew:
# These versions appear incompatible with virtualenv:
# '2.5': '2.5.6',
"2.6": "2.6.9",
"2.7": "2.7.15",
Expand Down
2 changes: 1 addition & 1 deletion pipenv/environments.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
PIPENV_SHELL_FANCY = bool(os.environ.get("PIPENV_SHELL_FANCY"))
# Support for both Python 2 and Python 3 at the same time.
PIPENV_PYTHON = os.environ.get("PIPENV_PYTHON")
# Create the virtualenv in the project, instead of with pew.
# Create the virtualenv in the project, instead of in WORKON_HOME.
PIPENV_VENV_IN_PROJECT = bool(os.environ.get("PIPENV_VENV_IN_PROJECT"))
# Overwrite all index funcitonality.
PIPENV_TEST_INDEX = os.environ.get("PIPENV_TEST_INDEX")
Expand Down
1 change: 0 additions & 1 deletion pipenv/patched/patched.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
safety
git+https://github.com/jumpscale7/python-consistent-toml.git#egg=contoml
crayons==0.1.2
git+https://github.com/berdario/[email protected]#egg=pew
pipfile==0.0.2
git+https://github.com/jazzband/pip-tools.git@9cb41d828fcb0967a32cc140c1dcaca94e5f4daa#egg=piptools
prettytoml==0.3
Expand Down
17 changes: 0 additions & 17 deletions pipenv/patched/pew/LICENSE

This file was deleted.

4 changes: 0 additions & 4 deletions pipenv/patched/pew/__init__.py

This file was deleted.

4 changes: 0 additions & 4 deletions pipenv/patched/pew/__main__.py

This file was deleted.

58 changes: 0 additions & 58 deletions pipenv/patched/pew/_print_utils.py

This file was deleted.

92 changes: 0 additions & 92 deletions pipenv/patched/pew/_utils.py

This file was deleted.

121 changes: 0 additions & 121 deletions pipenv/patched/pew/_win_utils.py

This file was deleted.

Loading

0 comments on commit ef6e667

Please sign in to comment.