[Numpy-discussion] Numpy 1.10.0rc2 released

2015-09-28 Thread Charles R Harris
Hi all,

I'm pleased to announce the availability of Numpy 1.10.0rc12. Sources and
32 bit binary packages for Windows may be found at Sourceforge
.
There have been a few fixes since rc1. If there are no more problems I hope
to release the final in a week or so.

Cheers

Chuck
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
https://mail.scipy.org/mailman/listinfo/numpy-discussion


[Numpy-discussion] New version of "scipy lecture notes"

2015-09-28 Thread Gael Varoquaux
Dear Pythonistas,

We have just released a new version of the "scipy lecture notes":
http://www.scipy-lectures.org/

These are a consistent set of materials to learn the core aspects of the
scientific Python ecosystem, from beginner to expert. They are written
and maintained by a set of volunteers and published under a CC-BY
license.

Highlights of the latest version includes:

 * a chapter giving a introduction to statistics in Python
 * a new layout with emphasis on readability including on small devices
 * fully doctesting for Python 2 and 3 compatibility

We hope that you will find these notes useful, for you, your colleagues,
or your students.

Gaƫl

___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
https://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Including .f2py_f2cmap in numpy.distutils?

2015-09-28 Thread Pearu Peterson
Hi,

Currently, .f2py_f2cmap must be located in a directory where setup.py or
f2py.py is called (to be exact, where numpy.f2py.capi_maps is imported).
This location is hardcoded and there is no way to specify the file location
within setup.py scripts.

However, you don't need to use .f2py_f2cmap file for specifying the correct
mapping. Read the code in numpy/f2py/capi_maps.py and you'll find that
inserting the following codelet to setup.py file might work (untested code):

from numpy.f2py.capi_maps import f2c_map
f2c_map['real'].update(sp='float', dp='double', qp='long_double')

HTH,
Pearu


On Fri, Sep 25, 2015 at 10:04 PM, Eric Hermes  wrote:

> Hello,
>
>
>
> I am attempting to set up a numpy.distutils setup.py for a small python
> program that uses a Fortran module. Currently, the setup is able to compile
> and install the program seemingly successfully, but the f2py script
> erroneously maps the data types I am using to float, rather than double. I
> have the proper mapping set up in a .f2py_f2cmap in the source directory,
> but it does not seem to be copied to the build directory at compile time,
> and I cannot figure out how to make it get copied. Is there a simple way to
> do what I am trying to do? Alternatively, is there a way to specify the
> mapping in my setup.py scripts?
>
>
>
> Here's a github repo with the project:
>
>
>
> https://github.com/ehermes/ased3
>
>
>
> Thanks,
>
> Eric Hermes
>
> ___
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> https://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
https://mail.scipy.org/mailman/listinfo/numpy-discussion