Re: [Numpy-discussion] NumPy-Discussion Digest, Vol 65, Issue 165
Good for us Feds! (But I'm sure some people will think it's a waste of
money) Not sure how that impacts our building here, but actually the
landscaping is not too bad considering where we are. I don't know what's
native in our front planting.
---------------------------------------------------------------------------------------------------------
Jeff Starn, Groundwater Specialist
U.S. Geological Survey
101 Pitkin Street
East Hartford, CT 06108
(860) 291-6746
jjstarn@usgs.gov
"Our observation of the planets' regular motion was the first triumph of
empirical science over irrational dogma. We named them after the gods
just to be safe."
--Jon Stewart
---------------------------------------------------------------------------------------------------------
From:
numpy-discussion-request@scipy.org
To:
numpy-discussion@scipy.org
Date:
02/22/2012 08:52 AM
Subject:
NumPy-Discussion Digest, Vol 65, Issue 165
Sent by:
numpy-discussion-bounces@scipy.org
Send NumPy-Discussion mailing list submissions to
numpy-discussion@scipy.org
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.scipy.org/mailman/listinfo/numpy-discussion
or, via email, send a message with subject or body 'help' to
numpy-discussion-request@scipy.org
You can reach the person managing the list at
numpy-discussion-owner@scipy.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of NumPy-Discussion digest..."
Today's Topics:
1. Where is arrayobject.h? (Neal Becker)
2. Re: Where is arrayobject.h? (V. Armando Sol?)
3. Re: Proposed Roadmap Overview (Gael Varoquaux)
4. Live coding demonstration (alan@ajackson.org)
5. Re: Live coding demonstration (Flavio Coelho)
6. Re: Proposed Roadmap Overview (Neal Becker)
7. Re: Proposed Roadmap Overview (Perry Greenfield)
8. Re: Live coding demonstration (Fahredd?n Basegmez)
----------------------------------------------------------------------
Message: 1
Date: Tue, 21 Feb 2012 13:26:17 -0500
From: Neal Becker
What is the correct way to find the installed location of arrayobject.h?
On fedora, I had been using: (via scons):
import distutils.sysconfig PYTHONINC = distutils.sysconfig.get_python_inc() PYTHONLIB = distutils.sysconfig.get_python_lib(1)
NUMPYINC = PYTHONLIB + '/numpy/core/include'
But on ubuntu, this fails. It seems numpy was installed into /usr/local/lib/..., while PYTHONLIB expands to /usr/lib/python2.7/dist-packages.
Is there a universal method?
I use:
import numpy
numpy.get_include()
If that is universal I cannot tell.
Armando
------------------------------
Message: 3
Date: Tue, 21 Feb 2012 23:18:53 +0100
From: Gael Varoquaux
I think the comments about the developer audience NumPy will attract are important. There may be lots of C++ developers out there, but the intersection of (truly competent in C++) and (likely to involve oneself in NumPy development) may well be quite small.
That's a very valid concern. It is reminiscent of a possible cause to our
lack of contributors to Mayavi: contributing to Mayavi requires knowing
VTK. One of the major benefits of Mayavi is that it makes it is to use
the power of VTK without understanding it well. The intersection of the
people interested in using Mayavi and able to contribute to it is almost
empty.
This is stricking to me, because I know a lot of who know VTK well. Most
of them couldn't care less for Mayavi: they are happy coding directly in
VTK in C++. This is also a reason why I don't code UIs any more: I simply
cannot find the resource to maintain them in proportion with the number
of users that they garner. A sad statement.
Gael
------------------------------
Message: 4
Date: Tue, 21 Feb 2012 20:31:27 -0600
From:
This is the sort of programming environment I would love to have in python.
http://flowingdata.com/2012/02/20/live-coding-and-inventing-on-principle/
-- ----------------------------------------------------------------------- | Alan K. Jackson | To see a World in a Grain of Sand | | alan@ajackson.org | And a Heaven in a Wild Flower, | | www.ajackson.org | Hold Infinity in the palm of your hand | | Houston, Texas | And Eternity in an hour. - Blake | ----------------------------------------------------------------------- _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
-- Fl?vio Code?o Coelho ================ +55(21) 3799-5567 Professor Escola de Matem?tica Aplicada Funda??o Get?lio Vargas Rio de Janeiro - RJ Brasil
participants (1)
-
Jeffrey Starn