Current File : //usr/share/doc/python-py-1.4.32/html/install.html

<!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>installation info in a nutshell &mdash; py 1.4.32 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:     '1.4.32',
        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="top" title="py 1.4.32 documentation" href="index.html" />
    <link rel="next" title="py.path" href="path.html" />
    <link rel="prev" title="Welcome to py’s documentation!" href="index.html" /> 
  </head>
  <body>
    <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="path.html" title="py.path"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="index.html" title="Welcome to py’s documentation!"
             accesskey="P">previous</a> |</li>
        <li><a href="index.html">py 1.4.32 documentation</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="installation-info-in-a-nutshell">
<h1>installation info in a nutshell<a class="headerlink" href="#installation-info-in-a-nutshell" title="Permalink to this headline">¶</a></h1>
<p><strong>PyPI name</strong>: <a class="reference external" href="http://pypi.python.org/pypi/py/">py</a></p>
<p><strong>Pythons</strong>: CPython 2.6, 2.7, 3.3, 3.4, PyPy-2.3</p>
<p><strong>Operating systems</strong>: Linux, Windows, OSX, Unix</p>
<p><strong>Requirements</strong>: <a class="reference external" href="http://pypi.python.org/pypi/setuptools">setuptools</a> or <a class="reference external" href="http://pypi.python.org/pypi/distribute">Distribute</a></p>
<p><strong>Installers</strong>: <tt class="docutils literal"><span class="pre">easy_install</span></tt> and <tt class="docutils literal"><span class="pre">pip</span></tt></p>
<p><strong>hg repository</strong>: <a class="reference external" href="https://bitbucket.org/hpk42/py">https://bitbucket.org/hpk42/py</a></p>
<div class="section" id="easy-install-or-pip-py">
<h2>easy install or pip <tt class="docutils literal"><span class="pre">py</span></tt><a class="headerlink" href="#easy-install-or-pip-py" title="Permalink to this headline">¶</a></h2>
<p>Both <a class="reference external" href="http://pypi.python.org/pypi/distribute">Distribute</a> and <a class="reference external" href="http://pypi.python.org/pypi/setuptools">setuptools</a> provide the <tt class="docutils literal"><span class="pre">easy_install</span></tt>
installation tool with which you can type into a command line window:</p>
<div class="highlight-python"><pre>easy_install -U py</pre>
</div>
<p>to install the latest release of the py lib.  The <tt class="docutils literal"><span class="pre">-U</span></tt> switch
will trigger an upgrade if you already have an older version installed.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">As of version 1.4 py does not contain py.test anymore - you
need to install the new <a href="#id3"><span class="problematic" id="id4">`pytest`_</span></a> distribution.</p>
</div>
</div>
<div class="section" id="working-from-version-control-or-a-tarball">
<h2>Working from version control or a tarball<a class="headerlink" href="#working-from-version-control-or-a-tarball" title="Permalink to this headline">¶</a></h2>
<p>To follow development or start experiments, checkout the
complete code and documentation source with <a class="reference external" href="http://mercurial.selenic.com/wiki/">mercurial</a>:</p>
<div class="highlight-python"><pre>hg clone https://bitbucket.org/hpk42/py</pre>
</div>
<p>Development takes place on the &#8216;trunk&#8217; branch.</p>
<p>You can also go to the python package index and
download and unpack a TAR file:</p>
<div class="highlight-python"><pre>http://pypi.python.org/pypi/py/</pre>
</div>
</div>
<div class="section" id="activating-a-checkout-with-setuptools">
<h2>activating a checkout with setuptools<a class="headerlink" href="#activating-a-checkout-with-setuptools" title="Permalink to this headline">¶</a></h2>
<p>With a working <a class="reference external" href="http://pypi.python.org/pypi/distribute">Distribute</a> or <a class="reference external" href="http://pypi.python.org/pypi/setuptools">setuptools</a> installation you can type:</p>
<div class="highlight-python"><pre>python setup.py develop</pre>
</div>
<p>in order to work inline with the tools and the lib of your checkout.</p>
</div>
<div class="section" id="mailing-list-and-issue-tracker">
<h2>Mailing list and issue tracker<a class="headerlink" href="#mailing-list-and-issue-tracker" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><a class="reference external" href="http://codespeak.net/mailman/listinfo/py-dev">py-dev developers list</a> and <a class="reference external" href="http://codespeak.net/mailman/listinfo/py-svn">commit mailing list</a>.</li>
<li>#pylib on irc.freenode.net IRC channel for random questions.</li>
<li><a class="reference external" href="http://bitbucket.org/hpk42/py/issues/">bitbucket issue tracker</a> use this bitbucket issue tracker to report
bugs or request features.</li>
</ul>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
  <h3><a href="index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">installation info in a nutshell</a><ul>
<li><a class="reference internal" href="#easy-install-or-pip-py">easy install or pip <tt class="docutils literal"><span class="pre">py</span></tt></a></li>
<li><a class="reference internal" href="#working-from-version-control-or-a-tarball">Working from version control or a tarball</a></li>
<li><a class="reference internal" href="#activating-a-checkout-with-setuptools">activating a checkout with setuptools</a></li>
<li><a class="reference internal" href="#mailing-list-and-issue-tracker">Mailing list and issue tracker</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="index.html"
                        title="previous chapter">Welcome to py&#8217;s documentation!</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="path.html"
                        title="next chapter">py.path</a></p>
  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="_sources/install.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" />
      <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="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="path.html" title="py.path"
             >next</a> |</li>
        <li class="right" >
          <a href="index.html" title="Welcome to py’s documentation!"
             >previous</a> |</li>
        <li><a href="index.html">py 1.4.32 documentation</a> &raquo;</li> 
      </ul>
    </div>

    <div class="footer">
        &copy; Copyright 2010, holger krekel et. al..
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
    </div>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-7597274-14']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>

  </body>
</html>