Sophie

Sophie

distrib > Mandriva > current > i586 > by-pkgid > ae0a4f27f26602dc31c3bf35e18b5b19 > files > 763

python-enthought-chaco-3.4.0-2mdv2010.2.i586.rpm




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>Installing and Building Chaco &mdash; Chaco v3.4.0 documentation</title>
    <link rel="stylesheet" href="../_static/default.css" type="text/css" />
    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '../',
        VERSION:     '3.4.0',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="../_static/jquery.js"></script>
    <script type="text/javascript" src="../_static/underscore.js"></script>
    <script type="text/javascript" src="../_static/doctools.js"></script>
    <link rel="shortcut icon" href="../_static/et.ico"/>
    <link rel="top" title="Chaco v3.4.0 documentation" href="../index.html" />
    <link rel="up" title="User Manual" href="index.html" />
    <link rel="next" title="Introduction" href="introduction.html" />
    <link rel="prev" title="User Manual" href="index.html" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="introduction.html" title="Introduction"
             accesskey="N">next</a></li>
        <li class="right" >
          <a href="index.html" title="User Manual"
             accesskey="P">previous</a> |</li>
        <li><a href="../index.html">Chaco v3.4.0 documentation</a> &raquo;</li>
          <li><a href="index.html" accesskey="U">User Manual</a> &raquo;</li>
  
    <li><a href="#">Installing and Building Chaco</a></li>
  

      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="installing-and-building-chaco">
<span id="installation"></span><h1>Installing and Building Chaco<a class="headerlink" href="#installing-and-building-chaco" title="Permalink to this headline">¶</a></h1>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">(8/28/08) This section is still incomplete.  For the time being, the most
up-to-date information can be found on the <a class="reference external" href="http://svn.enthought.com/enthought/">ETS Wiki</a>, and,
more specifically, the <a class="reference external" href="https://svn.enthought.com/enthought/wiki/Install">Install pages</a>.</p>
</div>
<p>Chaco is one of the packages in the Enthought Tool Suite.  It can be installed
as part of ETS or as a separate package.  Even when it is installed as a
standalone package, it depends on a few other packages.</p>
<div class="section" id="installing-via-epd">
<h2>Installing via EPD<a class="headerlink" href="#installing-via-epd" title="Permalink to this headline">¶</a></h2>
<p>Chaco and the rest of ETS are installed as part of the <a class="reference external" href="http://www.enthought.com/epd">Enthought Python
Distribution (EPD)</a>.  If you have installed
EPD, then you already have Chaco!</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">Enthought Python Distribution is free for academic and personal use, and
fee-based for commercial and government use.</p>
</div>
</div>
<div class="section" id="easy-install">
<h2>easy_install<a class="headerlink" href="#easy-install" title="Permalink to this headline">¶</a></h2>
<p>Chaco and its dependencies are available as binary eggs for Windows and Mac OS
X from the <a class="reference external" href="http://pypi.python.org/pypi">Python Package Index</a>.</p>
<p>Chaco depends on Numpy and either wxPython or Qt. These packages are not
installed by the default installation command. If you do not have these
packages installed, use the following command to install Chaco:</p>
<blockquote>
<div><strong class="command">easy_install Chaco[nonets]</strong></div></blockquote>
<p>If you <em>do</em> have Numpy and either wxPython or Qt installed, you can use a
simpler command to install Chaco:</p>
<blockquote>
<div><strong class="command">easy_install Chaco</strong></div></blockquote>
<p>Because eggs do not distinguish between various distributions of Linux,
Enthought hosts its own egg repository for Linux eggs.  See the <a class="reference external" href="https://svn.enthought.com/enthought/wiki/Install#UsingEnthoughtsEggRepo">ETS wiki
page on our egg repo</a> for
instructions for installing pre-built binary eggs for your specific
distribution of Linux.</p>
<p>For systems that don&#8217;t have binary eggs, it is also possible to build Chaco
from source, since PyPI hosts the source tarballs for all dependencies.</p>
</div>
<div class="section" id="building-from-source">
<h2>Building from Source<a class="headerlink" href="#building-from-source" title="Permalink to this headline">¶</a></h2>
<p>Chaco itself is not very hard to build from source; there are only a few
C extensions and they build with most modern compilers.  Frequently the more
difficult to build piece is actually the Enable package on which Chaco
depends.</p>
<p>On most platforms, in order to build Enable, you need Swig &gt; 1.3.30 and
wxPython &gt; 2.8.  If you are on OS X, you also need a recent Pyrex.</p>
<div class="section" id="obtaining-the-source">
<h3>Obtaining the source<a class="headerlink" href="#obtaining-the-source" title="Permalink to this headline">¶</a></h3>
<p>You can get Chaco and its dependencies from PyPI as source tarballs, or
you can download the source directly from Enthought&#8217;s Subversion server.
The URL is:</p>
<blockquote>
<div><a class="reference external" href="https://svn.enthought.com/svn/enthought/Chaco/trunk">https://svn.enthought.com/svn/enthought/Chaco/trunk</a></div></blockquote>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">This build instructions section is currently under construction.  Please see
the <a class="reference external" href="https://svn.enthought.com/enthought/wiki/Build">ETS Install From Source</a> wiki page for more
information on building Chaco and the rest of ETS on your platform.</p>
</div>
</div>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
            <p class="logo"><a href="../index.html">
              <img class="logo" src="../_static/e-logo-rev.png" alt="Logo"/>
            </a></p>
<h3>Page Contents</h3>
<ul>
<li><a class="reference internal" href="#">Installing and Building Chaco</a><ul>
<li><a class="reference internal" href="#installing-via-epd">Installing via EPD</a></li>
<li><a class="reference internal" href="#easy-install">easy_install</a></li>
<li><a class="reference internal" href="#building-from-source">Building from Source</a><ul>
<li><a class="reference internal" href="#obtaining-the-source">Obtaining the source</a></li>
</ul>
</li>
</ul>
</li>
</ul>

  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="../_sources/user_manual/installation.txt"
           rel="nofollow">Show Source</a></li>
  </ul>
<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" size="18" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="introduction.html" title="Introduction"
             >next</a></li>
        <li class="right" >
          <a href="index.html" title="User Manual"
             >previous</a> |</li>
        <li><a href="../index.html">Chaco v3.4.0 documentation</a> &raquo;</li>
          <li><a href="index.html" >User Manual</a> &raquo;</li>
  
    <li><a href="#">Installing and Building Chaco</a></li>
  

      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2008, Enthought, Inc..
      Last updated on Mar 02, 2011.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
    </div>
  </body>
</html>