[pypy-svn] r72057 - pypy/extradoc/pypy.org
fijal at codespeak.net
fijal at codespeak.net
Wed Mar 10 15:54:34 CET 2010
Author: fijal
Date: Wed Mar 10 15:54:32 2010
New Revision: 72057
Modified:
pypy/extradoc/pypy.org/compat.html
pypy/extradoc/pypy.org/download.html
Log:
oops, sorry, checkin everything
Modified: pypy/extradoc/pypy.org/compat.html
==============================================================================
--- pypy/extradoc/pypy.org/compat.html (original)
+++ pypy/extradoc/pypy.org/compat.html Wed Mar 10 15:54:32 2010
@@ -40,7 +40,7 @@
</ul></div>
-->
<hr class="clear-left" />
- <div id="menu-sub"><a href="index.html">Home</a><span class="menu-sub-sep"> | </span><a href="download.html">Download</a><span class="menu-sub-sep"> | </span><a href="compat.html">Compatibility</a><span class="menu-sub-sep"> | </span><a href="http://speed.pypy.org">Performance</a><span class="menu-sub-sep"> | </span><a href="http://codespeak.net/pypy/trunk/pypy/doc/index.html">Dev Site</a><span class="menu-sub-sep"> | </span><a href="http://morepypy.blogspot.com">Blog</a></div>
+ <div id="menu-sub"><a href="index.html">Home</a><span class="menu-sub-sep"> | </span><a href="features.html">Features</a><span class="menu-sub-sep"> | </span><a href="download.html">Download</a><span class="menu-sub-sep"> | </span><a href="compat.html">Compatibility</a><span class="menu-sub-sep"> | </span><a href="http://speed.pypy.org">Performance</a><span class="menu-sub-sep"> | </span><a href="http://codespeak.net/pypy/trunk/pypy/doc/index.html">Dev Site</a><span class="menu-sub-sep"> | </span><a href="http://morepypy.blogspot.com">Blog</a></div>
<hr class="clear" />
</div>
<div id="content">
@@ -81,6 +81,12 @@
</pre>
<p>The proper fix is:</p>
<pre class="literal-block">
+f = open("filename", "w")
+f.write("stuff")
+f.close()
+</pre>
+<p>or using the <tt class="docutils literal"><span class="pre">with</span></tt> keyword:</p>
+<pre class="literal-block">
with open("filename", "w") as f:
f.write("stuff")
</pre>
@@ -101,6 +107,7 @@
<p>won't work.</p>
</li>
</ul>
+<p>A more complete list is available at <a class="reference external" href="http://codespeak.net/pypy/dist/pypy/doc/cpython_differences.html">our dev site</a>.</p>
</div>
<div id="sidebar">
<ul>
Modified: pypy/extradoc/pypy.org/download.html
==============================================================================
--- pypy/extradoc/pypy.org/download.html (original)
+++ pypy/extradoc/pypy.org/download.html Wed Mar 10 15:54:32 2010
@@ -40,7 +40,7 @@
</ul></div>
-->
<hr class="clear-left" />
- <div id="menu-sub"><a href="index.html">Home</a><span class="menu-sub-sep"> | </span><a href="download.html">Download</a><span class="menu-sub-sep"> | </span><a href="compat.html">Compatibility</a><span class="menu-sub-sep"> | </span><a href="http://speed.pypy.org">Performance</a><span class="menu-sub-sep"> | </span><a href="http://codespeak.net/pypy/trunk/pypy/doc/index.html">Dev Site</a><span class="menu-sub-sep"> | </span><a href="http://morepypy.blogspot.com">Blog</a></div>
+ <div id="menu-sub"><a href="index.html">Home</a><span class="menu-sub-sep"> | </span><a href="features.html">Features</a><span class="menu-sub-sep"> | </span><a href="download.html">Download</a><span class="menu-sub-sep"> | </span><a href="compat.html">Compatibility</a><span class="menu-sub-sep"> | </span><a href="http://speed.pypy.org">Performance</a><span class="menu-sub-sep"> | </span><a href="http://codespeak.net/pypy/trunk/pypy/doc/index.html">Dev Site</a><span class="menu-sub-sep"> | </span><a href="http://morepypy.blogspot.com">Blog</a></div>
<hr class="clear" />
</div>
<div id="content">
@@ -49,17 +49,26 @@
<h1 class="title">Download and install</h1>
<p>Here are the various binaries of <strong>PyPy 1.2</strong> that we provide for x86 Linux,
Mac OS/X or Windows.</p>
-<h2>Warning: site in progress, no binaries available yet</h2>
-<ul class="simple">
+<table class="docutils">
+<colgroup>
+<col width="100%" />
+</colgroup>
+<tbody valign="top">
+<tr><td><ul class="first last simple">
+<li>Download<ul>
<li><a class="reference internal" href="#with-a-jit-compiler">With a JIT Compiler</a> <strong>(recommended!)</strong></li>
<li><a class="reference internal" href="#with-no-jit-compiler">With no JIT Compiler</a></li>
<li><a class="reference internal" href="#sandboxed-version">Sandboxed version</a></li>
<li><a class="reference internal" href="#stackless-version">Stackless version</a></li>
+</ul>
+</li>
+<li><a class="reference internal" href="#installing">Installing</a> (optional)</li>
<li><a class="reference internal" href="#building-from-source">Building from source</a></li>
</ul>
-<p>The release 1.2 of PyPy supports <strong>Python version 2.5</strong>.
-If you are interested in helping
-with 2.6, 2.7 or 3.x features, <a class="reference external" href="http://codespeak.net/mailman/listinfo/pypy-dev">contact us</a>!</p>
+</td>
+</tr>
+</tbody>
+</table>
<div class="section" id="jit-compiler-version">
<span id="with-a-jit-compiler"></span><h1>“JIT Compiler” version</h1>
<p>These binaries include a Just-in-Time compiler. They only work on
@@ -102,7 +111,7 @@
</div>
<div class="section" id="sandbox-version">
<span id="sandboxed-version"></span><h1>“Sandbox” version</h1>
-<p>A special safe version. Read the docs about <a class="reference external" href="sandbox.html">sandboxing</a>. These
+<p>A special safe version. Read the docs about <a class="reference external" href="features.html#sandboxing">sandboxing</a>. These
binaries work on 32-bit <a class="reference external" href="http://en.wikipedia.org/wiki/IA-32">x86 (IA-32)</a> CPUs as well as <a class="reference external" href="http://en.wikipedia.org/wiki/X86-64">x86-64</a> CPUs
in the 32-bit compatibility mode.</p>
<ul class="simple">
@@ -133,20 +142,35 @@
version of PyPy yourself, <a class="reference internal" href="#here-are-hints">here are hints</a>.</p>
<p>For the native 64-bit version, see the issues of the <a class="reference internal" href="#no-jit-version">no jit version.</a>.</p>
</div>
+<div class="section" id="installing">
+<h1>Installing</h1>
+<p>All versions are packaged in a <tt class="docutils literal"><span class="pre">tar.bz2</span></tt> or <tt class="docutils literal"><span class="pre">zip</span></tt> file. When
+uncompressed, they run in-place. On Linux or Mac OS/X, they can also be
+installed by manually moving the files in the following directories:</p>
+<pre class="literal-block">
+/usr/bin/pypy-c
+/usr/share/pypy-1.2/lib-python/*
+/usr/share/pypy-1.2/pypy/*
+</pre>
+<p>You can also install it to <tt class="docutils literal"><span class="pre">/usr/local/bin</span></tt> and <tt class="docutils literal"><span class="pre">/usr/local/share</span></tt>.</p>
+</div>
<div class="section" id="building-from-source">
<span id="translate"></span><h1>Building from source</h1>
<ol class="arabic">
<li><p class="first">Get the source code. The following packages contain the source at
the same revision as the above binaries:</p>
<ul class="simple">
-<li><a class="reference external" href="binaries/pypy-1.2.0.tar.bz2">pypy-1.2.0.tar.bz2</a> (sources, Unix line endings)</li>
-<li><a class="reference external" href="binaries/pypy-1.2.0.zip">pypy-1.2.0.zip</a> (sources, Windows line endings)</li>
+<li><a class="reference external" href="download/pypy-1.2-src.tar.bz2">pypy-1.2-src.tar.bz2</a> (sources, Unix line endings)</li>
+<li><a class="reference external" href="download/pypy-1.2-src.zip">pypy-1.2-src.zip</a> (sources, Windows line endings)</li>
</ul>
<p>Or you can checkout the current trunk using <a class="reference external" href="http://subversion.tigris.org/">Subversion</a> (the trunk
usually works and is of course more up-to-date):</p>
<pre class="literal-block">
svn co http://codespeak.net/svn/pypy/trunk pypy-dist
</pre>
+<p>Windows users trying the tarballs are expected to use MSVC.
+The trunk version contains fixes to support MinGW32. More
+information on <a class="reference external" href="http://codespeak.net/pypy/trunk/pypy/doc/windows.html">our dev site</a>.</p>
</li>
<li><p class="first">Enter the <tt class="docutils literal"><span class="pre">goal</span></tt> directory:</p>
<pre class="literal-block">
@@ -219,4 +243,4 @@
</div>
</div></div></div>
</body>
-</html>
+</html>
\ No newline at end of file
More information about the Pypy-commit
mailing list