OXIESEC PANEL
- Current Dir:
/
/
opt
/
alt
/
python37
/
lib
/
python3.7
/
site-packages
/
virtualenv
/
create
/
via_global_ref
Server IP: 2a02:4780:11:1084:0:327f:3464:10
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/16/2023 11:25:58 AM
rwxr-xr-x
📄
__init__.py
0 bytes
01/02/2022 03:54:28 PM
rw-r--r--
📁
__pycache__
-
03/16/2023 11:25:58 AM
rwxr-xr-x
📄
_virtualenv.py
6.61 KB
05/26/2022 12:12:31 PM
rw-r--r--
📄
api.py
4.25 KB
01/02/2022 03:54:28 PM
rw-r--r--
📁
builtin
-
03/16/2023 11:25:58 AM
rwxr-xr-x
📄
store.py
685 bytes
01/02/2022 03:54:28 PM
rw-r--r--
📄
venv.py
2.89 KB
01/02/2022 03:54:28 PM
rw-r--r--
Editing: store.py
Close
from __future__ import absolute_import, unicode_literals from virtualenv.util.path import Path def handle_store_python(meta, interpreter): if is_store_python(interpreter): meta.symlink_error = "Windows Store Python does not support virtual environments via symlink" return meta def is_store_python(interpreter): parts = Path(interpreter.system_executable).parts return ( len(parts) > 4 and parts[-4] == "Microsoft" and parts[-3] == "WindowsApps" and parts[-2].startswith("PythonSoftwareFoundation.Python.3.") and parts[-1].startswith("python") ) __all__ = ( "handle_store_python", "is_store_python", )