No description
Find a file
reksarka 805dcffe00
Windows embedable support (#2353)
* Bump pip and setuptools (#2348)

Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>

* Use shlex.quote instead of deprecated pipes.quote (#2351)

* Embeds the "python<VERSION>.zip" for Windows.

For example, for Python 3.10 the embeddable file name would be
"python310.zip". If this file would be found in `sys.path`, the
virtualenv should copy it into the "<venv>\Scripts\python310.zip".

* For Windows CPython3: *.dll/*.pyd -> to_bin

* Fixture for a Python interpreter info.

Helps to test virtualenv creator classes.

* Creators tests: path_mock as separate module.

* Clarifies tests, separates testing tools.

* Tests for CPython3Windows sources.

* Tests for the embedded Python std lib for Windows.

* Add news entry.

* Replaces `yield from` for backward compability.

* FIX: Path mocking in pypy tests.

* Wrap `sys` `Path` with `str` for importlib.

The importlib accepts a Path-like objects from Python 3.6

* Makes PathMock ABC compatible with Python 2

* Does not collect tests for Python3 under Python 2

It is possible to make pass CPython3 tests under Python 2,
but it's better to disable it instead of decreasing the
readability and performance of Python 3 style.

* Allows empty `Path()` in Windows with Python 2

* Allows to load fixture files with PY2 Windows Path

* Skips one PY3 POSIX test in PY2 Windows

Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
Co-authored-by: Lumír 'Frenzy' Balhar <lbalhar@redhat.com>
2022-06-25 01:11:17 +01:00
.github Fix broken Nushell installation in CI (#2364) 2022-06-24 22:07:30 +01:00
docs Windows embedable support (#2353) 2022-06-25 01:11:17 +01:00
src/virtualenv Windows embedable support (#2353) 2022-06-25 01:11:17 +01:00
tasks Use shlex.quote instead of deprecated pipes.quote (#2351) 2022-06-10 13:57:19 +01:00
tests Windows embedable support (#2353) 2022-06-25 01:11:17 +01:00
.coveragerc Fixes for Windows PyPy 3.6 (#2363) 2022-06-25 00:02:35 +01:00
.dockerignore Allow testing via the system Python (#1731) 2020-03-18 19:10:35 +00:00
.gitattributes Use unix line-endings in bash activate script (#1924) 2020-08-23 14:25:50 +01:00
.gitignore adjust gitignore to cover tests/unit/seed/greet/greet.egg-info (#1804) 2020-05-02 06:19:42 +01:00
.pre-commit-config.yaml Fix CI 2022-06-24 14:06:46 -07:00
.readthedocs.yml Do not fail on warning and move to 3.10 2022-02-05 11:43:06 +00:00
LICENSE rewrite the documentation (#1519) 2020-02-04 14:51:00 +00:00
MANIFEST.in rewrite the documentation (#1519) 2020-02-04 14:51:00 +00:00
pyproject.toml Bump linters (#1823) 2020-05-12 13:38:39 +01:00
README.md Fix the CI (#2254) 2021-12-28 10:40:09 +00:00
setup.cfg Sign the python2 exe on Darwin arm64 (#2233) 2021-12-31 07:55:34 +00:00
setup.py Fallback functionality for interpreter discovery (#1995) 2020-10-25 00:01:36 +01:00
tox.ini Fix the CI (#2254) 2021-12-28 10:40:09 +00:00

virtualenv

PyPI PyPI - Implementation PyPI - Python Version Documentation Discord PyPI - Downloads PyPI - License Build Status Code style:
black

A tool for creating isolated virtual python environments.

Code of Conduct

Everyone interacting in the virtualenv project's codebases, issue trackers, chat rooms, and mailing lists is expected to follow the PSF Code of Conduct.