[Distutils] PATCH: setuptools-0.4a2 resource_filename prob

Phillip J. Eby pje at telecommunity.com
Tue Jun 14 03:42:00 CEST 2005

At 07:33 PM 6/13/2005 -0400, Ryan Tomayko wrote:
>Ran into a minor issue with resource_filename:
>    Traceback (most recent call last):
>      File "pkg_resources.py", line 388, in resource_filename
>      File "pkg_resources.py", line 728, in get_resource_filename
>      File "pkg_resources.py", line 740, in _extract_resource
>      File "pkg_resources.py", line 569, in resource_isdir
>    NameError: global name 'resource_name' is not defined

Fixed in 0.4a3, along with the __file__ problem.

I haven't done anything yet on implementing 'legacy.py', as there are still 
some details to think about.

More information about the Distutils-SIG mailing list