Steve Dower
eb5fd31948
gh-103088: Ensure POSIX venv scripts always use LF line endings (GH-103591)
...
Also touches the affected files in meaningless ways to ensure they get updated when pulling
2023-04-17 17:33:54 +01:00
Thomas B. Brunner
1172172453
gh-93858: Prevent error when activating venv in nested fish instances (GH-93931)
2022-06-27 16:26:02 +01:00
Zackery Spytz
c82dda1e08
bpo-35328: Set VIRTUAL_ENV_PROMPT at venv activation (GH-21587)
...
Co-Authored-By: Baptiste Darthenay <baptiste.darthenay@gmail.com>
2020-07-28 09:41:57 +01:00
Jonathan Goble
da7d1f0408
Fix the URL to fishshell.com (GH-20251)
2020-05-19 21:59:46 -07:00
Brett Cannon
1df65f7c6c
Fix old mention of virtualenv (GH-17417)
...
Automerge-Triggered-By: @brettcannon
2019-11-29 15:37:08 -08:00
Brett Cannon
84b1ff6560
bpo-38899: virtual environment activation for fish should use `source` (GH-17359)
...
The previously documented use of `.` is considered deprecated (https://fishshell.com/docs/current/commands.html#source ).
https://bugs.python.org/issue38899
Automerge-Triggered-By: @brettcannon
2019-11-22 23:32:27 -08:00
Brett Cannon
48ede6b8f6
bpo-37663: have venv activation scripts all consistently use __VENV_PROMPT__ for prompt customization (GH-14941)
...
The activation scripts generated by venv were inconsistent in how they changed the shell's prompt. Some used `__VENV_PROMPT__` exclusively, some used `__VENV_PROMPT__` if it was set even though by default `__VENV_PROMPT__` is always set and the fallback matched the default, and one ignored `__VENV_PROMPT__` and used `__VENV_NAME__` instead (and even used a differing format to the default prompt). This change now has all activation scripts use `__VENV_PROMPT__` only and relies on the fact that venv sets that value by default.
The color of the customization is also now set in fish to the blue from the Python logo for as hex color support is built into that shell (much like PowerShell where the built-in green color is used).
2019-08-21 15:58:01 -07:00
Serhiy Storchaka
13ad3b7a82
bpo-31462: Remove trailing whitespaces. ( #3564 )
2017-09-14 09:38:36 +03:00
Vinay Sajip
98a74413b9
Issue #22343 : Made bash activate script available on Windows.
2017-01-12 17:12:10 +00:00
Vinay Sajip
8d82559ca7
Fixes #25671 : Updated prompt handling in activate.fish.
2016-09-11 12:52:08 +01:00
Martin Panter
0be894b2f6
Issue #27895 : Spelling fixes (Contributed by Ville Skyttä).
2016-09-07 12:03:06 +00:00
Brett Cannon
660c8fc997
Issue #26665 : Remove mis-use of ``$`` in activate.fish.
...
This is a revertion of cfc66e37eb8e.
Thanks to 鄭景文 for the bug report. Thanks to Tin Tvrtković, Xiang
Zhang, and Dan McCombs for diagnosing the issue.
2016-06-30 11:41:55 -07:00
Vinay Sajip
b2a2aa7664
Fixes #26348 : Corrected typos in activate.fish script.
2016-02-13 16:26:35 +00:00
Vinay Sajip
dff9e2535f
Closes #19139 : Changed usage of __VENV_NAME__ and added __VENV_PROMPT__.
2013-10-02 11:36:16 +01:00
Vinay Sajip
893c7e7829
Closes #18224 : Removed pydoc script from created venv, as it causes problems on Windows and adds no value over and above python -m pydoc ...
2013-06-30 22:08:27 +01:00
Vinay Sajip
61d003a8f1
Issue #18224 : Removed pydoc script from created venv, as it causes problems on Windows and adds no value over and above python -m pydoc ...
2013-06-30 22:06:52 +01:00
Andrew Svetlov
65e9c57369
Issue #15417 : Add support for csh and fish in venv activation scripts.
2012-10-04 21:48:58 +03:00
Vinay Sajip
6aed5fe532
Closes #15157 : pydoc script added to venvs.
2012-06-24 10:35:40 +01:00
Éric Araujo
859aad6a36
Remove packaging from the standard library.
...
Distutils2 will live on on PyPI and be included in the stdlib when it
is ready. See discussion starting at
http://mail.python.org/pipermail/python-dev/2012-June/120430.html
2012-06-24 00:07:41 -04:00
Vinay Sajip
7ded1f0f69
Implemented PEP 405 (Python virtual environments).
2012-05-26 03:45:29 +01:00