1jt d dl Z d dlmZ d dlZd dlZej j Zej e j
dk d d ZdS ) N)cleandocLinuxz+only demonstrated to fail on Linux in #4399)reasonc dt d t d di}t j || g d}| || dz | dg }d |v sJ d
S )z
Importing pkg_resources.iter_entry_points on console_scripts
seems to cause trouble with zope-interface, when deprecates installation method
is used. See #4399.
pkgz
from pkg_resources import iter_entry_points
def bar():
print("Print me if you can")
ah
from setuptools import setup, find_packages
setup(
install_requires=["zope-interface==6.4.post2"],
entry_points={
"console_scripts": [
"foo=foo:bar",
],
},
)
)zfoo.pyzsetup.py)prefix)pipinstallz-e.z--no-use-pep517)cwdfoozPrint me if you canN)r jaracopathbuildrun)tmp_pathvenvprojectcmdouts /builddir/build/BUILD/cloudlinux-venv-1.0.11/venv/lib/python3.11/site-packages/pkg_resources/tests/test_integration_zope_interface.py,test_interop_pkg_resources_iter_entry_pointsr s !
G4 Kgh///
:
:
:CHHSh&H'''
((E7
C C'''''' )platforminspectr jaraco.pathr pytestmarkintegration
pytestmarkskipifsystemr r r