Sophie

Sophie

distrib > Mandriva > current > x86_64 > media > contrib-updates > by-pkgid > d49411d98c5501352528beaec338f359 > files > 51

python-pygraphviz-1.0-0.rc5mdv2010.1.x86_64.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 &mdash; PyGraphviz v1.0.dev1780 documentation</title>
    <link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '#',
        VERSION:     '1.0.dev1780',
        COLLAPSE_MODINDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  false
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="search" type="application/opensearchdescription+xml"
          title="Search within PyGraphviz v1.0.dev1780 documentation"
          href="_static/opensearch.xml"/>
    <link rel="top" title="PyGraphviz v1.0.dev1780 documentation" href="index.html" />
    <link rel="next" title="Tutorial" href="tutorial.html" />
    <link rel="prev" title="PyGraphviz documentation" href="contents.html" /> 
  </head>
  <body>
<div style="color: black;background-color: white; font-size: 3.2em; text-align: left; padding: 15px 10px 10px 15px">
PyGraphviz
</div>

    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="tutorial.html" title="Tutorial"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="contents.html" title="PyGraphviz documentation"
             accesskey="P">previous</a> |</li>
        <li><a href="index.html">PyGraphviz Home </a> |&nbsp;</li>
        <li><a href="search.html">Search </a> |&nbsp;</li>
        <li><a href="download.html">Download </a> |&nbsp;</li>
        <li><a href="http://networkx.lanl.gov/trac/wiki/PyGraphviz">Developer Site</a>  |&nbsp;</li>
        <li><a href="contents.html">Documentation </a> &raquo;</li>
 
      </ul>
    </div>

<p>This documentation is for version <b>1.0.dev1780</b>, which is
  not released yet.</p>


      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
            <h3><a href="contents.html">Table Of Contents</a></h3>
            <ul>
<li><a class="reference external" href="#">Installing</a><ul>
<li><a class="reference external" href="#quick-install">Quick Install</a></li>
<li><a class="reference external" href="#installing-from-source">Installing from Source</a><ul>
<li><a class="reference external" href="#source-archive-file">Source Archive File</a></li>
<li><a class="reference external" href="#svn-repository">SVN Repository</a></li>
</ul>
</li>
<li><a class="reference external" href="#requirements">Requirements</a><ul>
<li><a class="reference external" href="#graphviz">GraphViz</a></li>
<li><a class="reference external" href="#python">Python</a><ul>
<li><a class="reference external" href="#windows">Windows</a></li>
<li><a class="reference external" href="#osx">OSX</a></li>
<li><a class="reference external" href="#linux">Linux</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>

            <h4>Previous topic</h4>
            <p class="topless"><a href="contents.html"
                                  title="previous chapter">PyGraphviz documentation</a></p>
            <h4>Next topic</h4>
            <p class="topless"><a href="tutorial.html"
                                  title="next chapter">Tutorial</a></p>
          <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="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="installing">
<h1>Installing<a class="headerlink" href="#installing" title="Permalink to this headline">¶</a></h1>
<div class="section" id="quick-install">
<h2>Quick Install<a class="headerlink" href="#quick-install" title="Permalink to this headline">¶</a></h2>
<p>Get PyGraphviz from the Python Package Index at
<a class="reference external" href="http://pypi.python.org/pypi/pygraphviz">http://pypi.python.org/pypi/pygraphviz</a></p>
<p>or install it with:</p>
<div class="highlight-python"><pre>easy_install pygraphviz</pre>
</div>
<p>and an attempt will be made to find and install an appropriate version
that matches your operating system and Python version.</p>
<p>More download options are at <a class="reference external" href="http://networkx.lanl.gov/download.html">http://networkx.lanl.gov/download.html</a></p>
</div>
<div class="section" id="installing-from-source">
<h2>Installing from Source<a class="headerlink" href="#installing-from-source" title="Permalink to this headline">¶</a></h2>
<p>You can install from source by downloading a source archive file
(tar.gz or zip) or by checking out the source files from the
Subversion repository.</p>
<div class="section" id="source-archive-file">
<h3>Source Archive File<a class="headerlink" href="#source-archive-file" title="Permalink to this headline">¶</a></h3>
<blockquote>
<ol class="arabic simple">
<li>Download the source (tar.gz or zip file).</li>
<li>Unpack and change directory to pygraphviz-&#8220;version&#8221;</li>
<li>Run &#8220;python setup.py install&#8221; to build and install</li>
<li>(optional) Run &#8220;python setup_egg.py nosetests&#8221; to execute the tests</li>
</ol>
</blockquote>
</div>
<div class="section" id="svn-repository">
<h3>SVN Repository<a class="headerlink" href="#svn-repository" title="Permalink to this headline">¶</a></h3>
<blockquote>
<ol class="arabic">
<li><p class="first">Check out the PyGraphviz trunk:</p>
<div class="highlight-python"><pre>svn co https://networkx.lanl.gov/svn/pygraphviz/trunk pygraphviz</pre>
</div>
</li>
<li><p class="first">Change directory to &#8220;pygraphviz&#8221;</p>
</li>
<li><p class="first">Run &#8220;python setup.py install&#8221; to build and install</p>
</li>
<li><p class="first">(optional) Run &#8220;python setup_egg.py nosetests&#8221; to execute the tests</p>
</li>
</ol>
</blockquote>
<p>If you don&#8217;t have permission to install software on your
system, you can install into another directory using
the &#8211;prefix or &#8211;home flags to setup.py.</p>
<p>For example</p>
<div class="highlight-python"><pre>python setup.py install --prefix=/home/username/python
or
python setup.py install --home=~</pre>
</div>
<p>If you didn&#8217;t install in the standard Python site-packages directory
you will need to set your PYTHONPATH variable to the alternate location.
See <a class="reference external" href="http://docs.python.org/inst/search-path.html">http://docs.python.org/inst/search-path.html</a> for further details.</p>
</div>
</div>
<div class="section" id="requirements">
<h2>Requirements<a class="headerlink" href="#requirements" title="Permalink to this headline">¶</a></h2>
<div class="section" id="graphviz">
<h3>GraphViz<a class="headerlink" href="#graphviz" title="Permalink to this headline">¶</a></h3>
<p>To use PyGraphviz you need GraphViz version 2.0 or later.
Some versions have known bugs that have been fixed; get the latest
release available for best results.</p>
<blockquote>
<ul class="simple">
<li>Official site: <a class="reference external" href="http://www.graphviz.org">http://www.graphviz.org</a></li>
</ul>
</blockquote>
</div>
<div class="section" id="python">
<h3>Python<a class="headerlink" href="#python" title="Permalink to this headline">¶</a></h3>
<p>To use PyGraphviz you need Python version 2.4 or later <a class="reference external" href="http://www.python.org/">http://www.python.org/</a></p>
<p>The easiest way to get Python and most optional packages is to install
the Enthought Python distribution
<a class="reference external" href="http://www.enthought.com/products/epd.php">http://www.enthought.com/products/epd.php</a></p>
<p>Other options are</p>
<div class="section" id="windows">
<h4>Windows<a class="headerlink" href="#windows" title="Permalink to this headline">¶</a></h4>
<blockquote>
<ul class="simple">
<li>Official Python site version:  <a class="reference external" href="http://www.python.org/download/">http://www.python.org/download/</a></li>
<li>ActiveState version:  <a class="reference external" href="http://activestate.com/Products/ActivePython/">http://activestate.com/Products/ActivePython/</a></li>
</ul>
</blockquote>
</div>
<div class="section" id="osx">
<h4>OSX<a class="headerlink" href="#osx" title="Permalink to this headline">¶</a></h4>
<p>OSX 10.5 ships with Python version 2.5.  If you
have an older version we encourage you to download
a newer release. Pre-built Python packages are available from</p>
<blockquote>
<ul class="simple">
<li>Official Python site version  <a class="reference external" href="http://www.python.org/download/">http://www.python.org/download/</a></li>
<li>Pythonmac  <a class="reference external" href="http://www.pythonmac.org/packages/">http://www.pythonmac.org/packages/</a></li>
<li>ActiveState <a class="reference external" href="http://activestate.com/Products/ActivePython/">http://activestate.com/Products/ActivePython/</a></li>
</ul>
</blockquote>
<p>If you are using Fink or MacPorts, Python is available through both
of those package systems.</p>
</div>
<div class="section" id="linux">
<h4>Linux<a class="headerlink" href="#linux" title="Permalink to this headline">¶</a></h4>
<p>Python is included in all major Linux distributions</p>
</div>
</div>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="tutorial.html" title="Tutorial"
             >next</a> |</li>
        <li class="right" >
          <a href="contents.html" title="PyGraphviz documentation"
             >previous</a> |</li>
        <li><a href="index.html">PyGraphviz Home </a> |&nbsp;</li>
        <li><a href="search.html">Search </a> |&nbsp;</li>
        <li><a href="download.html">Download </a> |&nbsp;</li>
        <li><a href="http://networkx.lanl.gov/trac/wiki/PyGraphviz">Developer Site</a>  |&nbsp;</li>
        <li><a href="contents.html">Documentation </a> &raquo;</li>
 
      </ul>
    </div>
    <div class="footer">
      &copy; Copyright 2010, Aric Hagberg.
      Last updated on Aug 06, 2010.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.5.
    </div>
  </body>
</html>