diff options
| author | Matti Picus <matti.picus@gmail.com> | 2022-10-25 08:01:12 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-24 22:01:12 -0700 |
| commit | 3cff34f7dc46d9ad147a3d70df31e75cab77612d (patch) | |
| tree | b296e33a8218644d1c4e91928a49cb41b276ac9b /src/virtualenv/create | |
| parent | ae2594c5a822f62964f2ccef7832c26306bc66b1 (diff) | |
| download | virtualenv-3cff34f7dc46d9ad147a3d70df31e75cab77612d.tar.gz | |
Remove outdated PyPy stdlib overrides (#2426)
Diffstat (limited to 'src/virtualenv/create')
| -rw-r--r-- | src/virtualenv/create/via_global_ref/builtin/pypy/pypy3.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/virtualenv/create/via_global_ref/builtin/pypy/pypy3.py b/src/virtualenv/create/via_global_ref/builtin/pypy/pypy3.py index ca5778c..9db36e8 100644 --- a/src/virtualenv/create/via_global_ref/builtin/pypy/pypy3.py +++ b/src/virtualenv/create/via_global_ref/builtin/pypy/pypy3.py @@ -20,11 +20,6 @@ class PyPy3(PyPy, Python3Supports, metaclass=abc.ABCMeta): class PyPy3Posix(PyPy3, PosixSupports): """PyPy 3 on POSIX""" - @property - def stdlib(self): - """PyPy3 respects sysconfig only for the host python, virtual envs is instead lib/pythonx.y/site-packages""" - return self.dest / "lib" / f"pypy{self.interpreter.version_release_str}" / "site-packages" - @classmethod def _shared_libs(cls, python_dir): # glob for libpypy3-c.so, libpypy3-c.dylib, libpypy3.9-c.so ... @@ -64,18 +59,6 @@ class Pypy3Windows(PyPy3, WindowsSupports): def less_v37(self): return self.interpreter.version_info.minor < 7 - @property - def stdlib(self): - """PyPy3 respects sysconfig only for the host python, virtual envs is instead Lib/site-packages""" - if self.less_v37: - return self.dest / "site-packages" - return self.dest / "Lib" / "site-packages" - - @property - def bin_dir(self): - """PyPy3 needs to fallback to pypy definition""" - return self.dest / "Scripts" - @classmethod def _shared_libs(cls, python_dir): # glob for libpypy*.dll and libffi*.dll |
