On 2010-01-08 20:23-0500 Hazen Babcock wrote:

> So I was able to get Plplot & Python to work [on Windows] by changing
> "_plplotcmodule.dll" to "_plplotc.pyd" (note "_plplotcmodule.pyd" does
> not work) and making sure the all the PLplot dll's are in my system path.

Glad you discovered that.

>
> On windows we should probably check the version of Python and adjust the
> name accordingly.

The implication of some mailing list results I googled for after seeing your
above post, is that Windows Python has supported *.pyd for many versions. So
that python version check should not be needed.  Therefore, please go ahead
and change our build system so the Windows extension module name is always
_plplotc.pyd.

> Also, we might consider installing the Python binding
> to "C:\PythonX\lib\site-packages\" instead of
> InstallPrefix\lib\site-packages.

That's not what is done on the Unix side of things.  The
$prefix...site-packages installation location in that case allows our users to
build and install PLplot without root privileges.  I assume root privileges
mean nothing on the Windows side of things, but nevertheless I would prefer
to keep the Windows installation location consistent with the Unix
installation location.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to