Just a small fix to make the setuptools.tests.test_resources.DistroTests.testCollection pass on OSX (and other non-win32 platforms): diff -r1.25 test_resources.py 26c26 < ad = Environment([], python=None) ---
ad = Environment([], platform='win32', python=None)
Without this the Environment uses the get_platform() result, and Distribution.from_filename("FooPkg-1.4-py2.4-win32.egg") is not added to the environment. (Maybe some can_add() tests would help?) Cheers, Ashley
At 09:53 AM 9/29/2005 +1000, Ashley Walsh wrote:
Just a small fix to make the setuptools.tests.test_resources.DistroTests.testCollection pass on OSX (and other non-win32 platforms):
diff -r1.25 test_resources.py 26c26 < ad = Environment([], python=None) ---
ad = Environment([], platform='win32', python=None)
Without this the Environment uses the get_platform() result, and Distribution.from_filename("FooPkg-1.4-py2.4-win32.egg") is not added to the environment. (Maybe some can_add() tests would help?)
platform=None will also work. I'll fix in the next release.
participants (2)
-
Ashley Walsh
-
Phillip J. Eby