python-setuptools/fix-sle11-test-failure.patch

16 lines
592 B
Diff
Raw Normal View History

This fixes a test failure on SLE11SP3:
Error is:
AssertionError: error: must supply either home or prefix/exec-prefix -- not both
--- a/setuptools/tests/test_egg_info.py
+++ b/setuptools/tests/test_egg_info.py
@@ -217,7 +217,7 @@ class TestEggInfo(object):
if cmd is None:
cmd = [
'install',
- '--home', env.paths['home'],
+ '--prefix', env.paths['home'],
'--install-lib', env.paths['lib'],
'--install-scripts', env.paths['scripts'],
'--install-data', env.paths['data'],