CoolFace
Apppublic

Aluode/PerceptionLabPortable

sourceHugging Faceupdated 9mo agoView on Hugging Face
0likes
easy_install.py31 linesDownload Raw Back to command
1import os2import sys3import types4 5from setuptools import Command6 7from .. import _scripts, warnings8 9 10class easy_install(Command):11    """Stubbed command for temporary pbr compatibility."""12 13 14def __getattr__(name):15    attr = getattr(16        types.SimpleNamespace(17            ScriptWriter=_scripts.ScriptWriter,18            sys_executable=os.environ.get(19                "__PYVENV_LAUNCHER__", os.path.normpath(sys.executable)20            ),21        ),22        name,23    )24    warnings.SetuptoolsDeprecationWarning.emit(25        summary="easy_install module is deprecated",26        details="Avoid accessing attributes of setuptools.command.easy_install.",27        due_date=(2025, 10, 31),28        see_url="https://github.com/pypa/setuptools/issues/4976",29    )30    return attr31 
Aluode/PerceptionLabPortable · CoolFace