Message231019
I was able to reproduce the behavior you saw with an older Debian system. The following patch to the apsw setup.py file seems to fix the problem:
--- apsw-3.8.7.1-r1/setup.py 2014-11-04 19:23:36.000000000 -0800
+++ apsw-3.8.7.1-r1_PATCHED/setup.py 2014-11-11 02:01:16.000000000 -0800
@@ -628,7 +628,7 @@
elif part.startswith("-D"):
part=part[2:]
if '=' in part:
- part=part.split('=', 1)
+ part=tuple(part.split('=', 1))
else:
part=(part, '1')
ext.define_macros.append(part)
Also, requiring a tuple is the documented behavior of Distutils:
https://docs.python.org/2/distutils/apiref.html#distutils.core.Extension
I agree that the issue should be closed and am closing it. |
|
Date |
User |
Action |
Args |
2014-11-11 10:10:12 | ned.deily | set | recipients:
+ ned.deily, lemburg, ncoghlan, pitrou, mark, eric.araujo, dstufft |
2014-11-11 10:10:12 | ned.deily | set | messageid: <1415700612.22.0.212116875031.issue22846@psf.upfronthosting.co.za> |
2014-11-11 10:10:12 | ned.deily | link | issue22846 messages |
2014-11-11 10:10:12 | ned.deily | create | |
|