
    ?wgt                         d dl Z d dlmZ d dlZd dlZej                  j                  Zej                  j                   e j                         dk7  d      d        Zy)    N)cleandocLinuxz+only demonstrated to fail on Linux in #4399)reasonc                     dt        d      t        d      di}t        j                  j                  ||        g d}|j	                  || dz         |j	                  dg      }d	|v sJ y
)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",
                        ],
                    },
                )
                )zfoo.pyzsetup.py)prefix)pipinstallz-e.z--no-use-pep517)cwdfoozPrint me if you canN)r   jaracopathbuildrun)tmp_pathvenvprojectcmdouts        j/var/www/horilla/myenv/lib/python3.12/site-packages/pkg_resources/tests/test_integration_zope_interface.py,test_interop_pkg_resources_iter_entry_pointsr      s     	 !
G4 KKgh/
:CHHSh&H'
((E7
C C'''    )platforminspectr   jaraco.pathr   pytestmarkintegration
pytestmarkskipifsystemr    r   r   <module>r$      s\       [[$$
 HOO 8  $(	$(r   