[Numpy-discussion] numscons and Python 2.7 problems

Vincent Davis vincent@vincentdavis....
Mon Jun 28 08:37:06 CDT 2010


On Fri, Jun 25, 2010 at 12:05 PM, Christoph Gohlke <cgohlke@uci.edu> wrote:>
>
> On 6/7/2010 1:58 PM, Charles R Harris wrote:
>>
>>
>> On Mon, Jun 7, 2010 at 2:07 PM, Christoph Gohlke <cgohlke@uci.edu
>> <mailto:cgohlke@uci.edu>> wrote:
>>
>>     Dear NumPy developers,
>>
>>     I was trying to build numpy 2.0.dev and scipy 0.9.dev using numscons
>>     0.12.dev and Python 2.7b2 (32 bit) on Windows 7 64 bit and ran into two
>>     problems.
>>
>>
>>     First, Python 2.7's UserDict is now a new-style class
>>     (http://docs.python.org/dev/whatsnew/2.7.html). Apparently scons 1.2,
>>     which is part of numscons, is not compatible with this change and an
>>     AttributeError is thrown:
>>
>>
>> I wonder sometimes if it is worth supporting python versions 2.x > 2.6.
>> The developers seem intent on breaking the API as much as possible and
>> support could become a burden. At least 3.x has a policy of keeping the
>> API intact.  I'm only half joking here,.
>>
>
> Good news: Python's 2.7 UserDict has been reverted to an old-style class
> after release candidate 2. See discussion at
> <http://mail.python.org/pipermail/python-dev/2010-June/thread.html#100885>

I just successfully built from source numpy on todays 2.7 snapshot
with the following command.
LDFLAGS="-arch x86_64" FFLAGS="-arch x86_64" py27 setupscons.py scons

Vincent

>
> Christoph
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>


More information about the NumPy-Discussion mailing list