[Distutils] setuptools unittests on Mac OS X
Ashley Walsh
ashleywalsh at gmail.com
Thu Sep 29 01:53:43 CEST 2005
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
More information about the Distutils-SIG
mailing list