[Ifeffit] python 2.6 wrapper

Matt Newville newville at cars.uchicago.edu
Fri Nov 6 10:46:46 CST 2009

Hi Carmelo, Carlo,

As Carlo says, on linux there should be no problem with the older
build system....  I'm using python2.6 and Ifeffit on linux.

So, I'll assume you're asking about Windows.   I do not yet have an
executable installer for Python2.6 on Windows.  But, if you're brave,
I have something for you to try.  In fact, just this past week, as
part of a move to a new Windows build system  (see
http://cars9.uchicago.edu/ifeffit/MingwBuild), I've moved from using a
C extension for Python to using Python's ctypes library.  This means
that the Ifeffit-Python interface is in pure Python and uses the DLL
directly, which is much better than the previous situation.

I've tested this with python 2.6 and it works for me on both Windows
and linux, with very minor differences between them.   The result
(Ifefffit.py attached) should be viewed as "beta testing" stage -- If
you try it out, I'd love to hear about any issues you have with it.  I
don't have a nice installer for this, but you should be able to put
this in any folder that Python will find it.  If you don't have
Ifeffit installed to C:\Program Files\Ifeffit, you may need to alter
the top of the script (the set_environ function).



On Fri, Nov 6, 2009 at 3:50 AM, Carmelo Prestipino
<carmelo.prestipino at esrf.fr> wrote:
> Dear All
> I upgraded my my python version on 2.6, I was wondering if is it available a
> new Ifeffit wrapper for this version?
> Best regards
> Carmelo
> --
> ---------------------------------------
> Dr. Carmelo Prestipino
> European Synchrotron Radiation Facility
> BP220, 38043 Grenoble Cedex,
> Tel: +33 (0)4 38 88 19 29
> ---------------------------------------
> _______________________________________________
> Ifeffit mailing list
> Ifeffit at millenia.cars.aps.anl.gov
> http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Ifeffit.py
Type: application/octet-stream
Size: 9196 bytes
Desc: not available
URL: <http://millenia.cars.aps.anl.gov/pipermail/ifeffit/attachments/20091106/2b2a4abf/attachment.obj>

More information about the Ifeffit mailing list