[Distutils] PATCH: setuptools-0.4a2 resource_filename prob

Ryan Tomayko rtomayko at gmail.com
Tue Jun 14 13:00:39 CEST 2005

On Jun 13, 2005, at 9:42 PM, Phillip J. Eby wrote:
> 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.

No prob. I'm not in a big rush or anything. I just wanted to raise  
the issue sooner than later.

Ryan Tomayko
                                  rtomayko at gmail.com

More information about the Distutils-SIG mailing list