<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Yang Yang wrote:
<blockquote
cite="mid...@ms..."
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
/* Page Definitions */
@page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;
layout-grid:15.6pt;}
div.Section1
{page:Section1;}
-->
</style>
<div class="Section1" style="">
<p class="MsoNormal"><font face="Arial" size="1"><span
style="font-size: 9pt; font-family: Arial;" lang="EN-US"> I
have a long annoying problem: how can I make the installer compile for
numarray
instead of Numeric? For compatibility reason I have both on my machine
and
prefer numarray (and an installer</span></font><font face="Wingdings"
size="1"><span style="font-size: 9pt; font-family: Wingdings;"
lang="EN-US">J</span></font><font face="Arial" size="1"><span
style="font-size: 9pt; font-family: Arial;" lang="EN-US">).
It seems the installer detects the presence of Numeric prior to
numarray. Is
there any configuration available? Thanks.<o:p></o:p></span></font></p>
</div>
</blockquote>
The matplotlib setup.py file looks for both Numeric and Numarray and
sets the build configuration to 'both', if you have them. This is your
situation, so you should have access to both of them. If it is not
finding Numarray, then you'll have to modify your PYTHONPATH variable
to point to the numarray library. Also make sure you have the numarray
include files.<br>
<br>
To use numarray, set the numerix keyword to numarray in your
.matplotlibrc file.<br>
<br>
-- Paul<br>
<pre class="moz-signature" cols="72">--
Paul Barrett, PhD Space Telescope Science Institute
Phone: 410-338-4475 ESS/Science Software Branch
FAX: 410-338-4767 Baltimore, MD 21218
</pre>
</body>
</html>
|