# HG changeset patch # User Maciej Fijalkowski <fijall@gmail.com> # Date 1368121329 -7200 # Thu May 09 19:42:09 2013 +0200 # Branch extradoc # Node ID bcb031cb8e50423fd69506bb67103962aad303dc # Parent e26be3cf2cf654859082d5d086962021fb7b1cfd update the website diff --git a/compat.html b/compat.html --- a/compat.html +++ b/compat.html @@ -51,8 +51,7 @@ already accepted in the main python in newer versions). It supports most of the commonly used Python <a class="reference external" href="http://docs.python.org/library/">standard library modules</a>; details below.</p> <p>PyPy has <strong>alpha/beta-level</strong> support for the <a class="reference external" href="http://docs.python.org/c-api/">CPython C API</a>, however, as of -2.0 beta2 -release this feature is not yet complete. Many libraries will require +2.0 release this feature is not yet complete. Many libraries will require a bit of effort to work, but there are known success stories. Check out PyPy blog for updates, as well as the <a class="reference external" href="https://bitbucket.org/pypy/compatibility/wiki/Home">Compatibility Wiki</a>.</p> <p>C extensions need to be recompiled for PyPy in order to work. Depending on diff --git a/download.html b/download.html --- a/download.html +++ b/download.html @@ -48,11 +48,12 @@ <h1 class="title">Download and install</h1> <p class="download-menu">There are <a class="reference external" href="http://buildbot.pypy.org/nightly/trunk/">nightly binary builds</a> available. Those builds are not always as stable as the release, but they contain numerous bugfixes and -performance improvements.</p> -<p>Here are the binaries of the current release — <strong>PyPy 2.0 beta2</strong> — (<a class="reference external" href="http://doc.pypy.org/en/latest/release-2.0.0-beta2.html">what's -new in PyPy 2.0 beta2?</a>) for x86 Linux, Mac OS/X, Windows. There is also -<strong>PyPy 2.0 alpha ARM</strong> for ARM.</p> -<p>You can also find here the older 1.9 release.</p> +performance improvements. <strong>Note that the OS X nightly builds +(but not the release) are slightly +miscompiled due to buildslave being old. Contributions are welcomed</strong>.</p> +<p>Here are the binaries of the current release — <strong>PyPy 2.0</strong> — (<a class="reference external" href="http://doc.pypy.org/en/latest/release-2.0.0.html">what's +new in PyPy 2.0?</a>) for x86 Linux, Mac OS/X, Windows. ARM support in +2.0 is alpha-level.</p> <ul class="download-menu simple"> <li>Download<ul> <li><a class="reference internal" href="#default-with-a-jit-compiler">Default (with a JIT Compiler)</a></li> @@ -70,37 +71,38 @@ x86 CPUs that have the <a class="reference external" href="http://en.wikipedia.org/wiki/SSE2">SSE2</a> instruction set (most of them do, nowadays), or on x86-64 CPUs. They also contain <a class="reference external" href="http://www.stackless.com/">stackless</a> extensions, like <a class="reference external" href="http://codespeak.net/svn/greenlet/trunk/doc/greenlet.txt">greenlets</a>. -(This is the official release 2.0 beta2 and 1.9; +(This is the official release 2.0; for the most up-to-date version see below.)</p> </div> -<div class="section" id="beta2"> -<h1>2.0 beta2</h1> +<div class="section" id="id1"> +<h1>2.0</h1> +<p>Note that linux binaries are dynamically linked and might not be usable due +to a sad story of linux binary compatibility. We recommend either building from +source or downloading your PyPy from your release vendor. <a class="reference external" href="http://packages.ubuntu.com/raring/pypy">Ubuntu</a> (<a class="reference external" href="https://launchpad.net/~pypy/+archive/ppa">PPA</a>), +<a class="reference external" href="http://packages.debian.org/experimental/pypy">Debian</a>, <a class="reference external" href="https://github.com/mxcl/homebrew/blob/master/Library/Formula/pypy.rb">Homebrew</a>, +<a class="reference external" href="http://fedoraproject.org/wiki/Features/PyPyStack">Fedora</a>, <a class="reference external" href="http://packages.gentoo.org/package/dev-python/pypy">Gentoo</a> and <a class="reference external" href="https://wiki.archlinux.org/index.php/PyPy">Arch</a> are known to package PyPy, with various +degrees of being up-to-date. If you feel +like trying a statically linked binary (which we do not recommend using +in production due to potential future security issues), you can find +<a class="reference external" href="http://buildbot.pypy.org/nightly/release-2.0.x/pypy-c-jit-63916-eb5983d848f1-linux.tar.bz2">32bit Linux</a> and <a class="reference external" href="http://buildbot.pypy.org/nightly/release-2.0.x/pypy-c-jit-63916-eb5983d848f1-linux64.tar.bz2">64bit Linux</a>.</p> <ul class="simple"> -<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy-2.0-beta2-linux.tar.bz2">Linux binary (32bit)</a></li> -<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy-2.0-beta2-linux64-libc2.15.tar.bz2">Linux binary (64bit) (libc 2.15)</a></li> -<li>Linux binary (64bit) (libc 2.13) (not available yet)</li> -<li>Linux ARM binary (not available yet)</li> -<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy-2.0-beta2-osx64.tar.bz2">Mac OS/X binary (64bit)</a></li> -<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy-2.0-beta2-win32.zip">Windows binary (32bit)</a> (you might need the <a class="reference external" href="http://www.microsoft.com/en-us/download/details.aspx?id=5582">VS 2008 runtime library +<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy-2.0-linux.tar.bz2">Linux binary (32bit)</a></li> +<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy-2.0-linux64.tar.bz2">Linux binary (64bit) (libc 2.15)</a></li> +<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy-2.0-osx64.tar.bz2">Mac OS/X binary (64bit)</a> (still building, the link might be broken)</li> +<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy-2.0-win32.zip">Windows binary (32bit)</a> (you might need the <a class="reference external" href="http://www.microsoft.com/en-us/download/details.aspx?id=5582">VS 2008 runtime library installer vcredist_x86.exe</a>.)</li> +<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy-2.0-src.tar.bz2">Source (unix line endings)</a></li> +<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy-2.0-src.zip">Source (also unix line endings, sorry)</a></li> </ul> </div> -<div class="section" id="alpha-arm"> -<h1>2.0 alpha ARM</h1> +<div class="section" id="for-arm-alpha"> +<h1>2.0 for ARM alpha</h1> +<p><strong>Note:</strong> the following builds are alpha quality, for testing mostly</p> <ul class="simple"> <li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy-2.0-alpha-arm-armel.tar.bz2">Linux binary (32bit, armel)</a></li> <li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy-2.0-alpha-arm-armhf.tar.bz2">Linux binary (32bit, armhf)</a></li> <li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy-upstream_2.0~alpha+arm_armhf.deb">Linux deb for raspbian (raspberry pi)</a></li> </ul> -</div> -<div class="section" id="id8"> -<h1>1.9</h1> -<ul class="simple"> -<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy-1.9-linux.tar.bz2">Linux binary (32bit)</a></li> -<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy-1.9-linux64.tar.bz2">Linux binary (64bit)</a></li> -<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy-1.9-osx64.tar.bz2">Mac OS/X binary (64bit)</a></li> -<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy-1.9-win32.zip">Windows binary (32bit)</a> (you may need the <a class="reference external" href="http://www.microsoft.com/en-us/download/details.aspx?id=5582">VS 2008 runtime library installer vcredist_x86.exe</a>)</li> -</ul> <p>If your CPU is really old, it may not have SSE2. In this case, you need to <a class="reference internal" href="#translate">translate</a> yourself with the option <tt class="docutils literal"><span class="pre">--jit-backend=x86-without-sse2</span></tt>.</p> </div> @@ -110,11 +112,8 @@ <ul class="simple"> <li>The most up-to-date <a class="reference external" href="http://buildbot.pypy.org/nightly/trunk/">nightly build</a> with a JIT, if the official release is too old for what you want to do. If the nightly build does -not work for you, you might have more luck using <a class="reference external" href="http://baroquesoftware.com/nightlies/">alternative nightly build</a>, +not work for you, you might have more luck using <a href="#id17"><span class="problematic" id="id18">`alternative nightly build`_</span></a>, however linux binary distribution is hard.</li> -<li>No JIT: A version without the JIT. Consumes a bit less memory -and may be faster on short-running scripts. (Note that a similar -effect can be obtained by running <tt class="docutils literal">pypy <span class="pre">--jit</span> off</tt>.)</li> <li>Sandboxing: A special safe version. Read the docs about <a class="reference external" href="features.html#sandboxing">sandboxing</a>. (It is also possible to <a class="reference internal" href="#translate">translate</a> a version that includes both sandboxing and the JIT compiler, although as the JIT is relatively @@ -142,14 +141,12 @@ </div> <div class="section" id="building-from-source"> <span id="translate"></span><h1>Building from source</h1> -<p><strong>Warning:</strong> the new gcc 4.8 doesn't compile the release branch of PyPy correctly. -As a workaround, run with <tt class="docutils literal"><span class="pre">CFLAGS=-fno-aggressive-loop-optimizations</span></tt></p> <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="https://bitbucket.org/pypy/pypy/get/release-2.0-beta2.tar.bz2">pypy-2.0b2-src.tar.bz2</a> (sources, Unix line endings)</li> -<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/get/release-2.0-beta2.zip">pypy-2.0b2-src.zip</a> (sources, Unix line endings too, sorry)</li> +<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy-2.0-src.tar.bz2">pypy-2.0-src.tar.bz2</a> (sources, Unix line endings)</li> +<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy-2.0-src.zip">pypy-2.0-src.zip</a> (sources, Unix line endings too, sorry)</li> </ul> <p>Or you can checkout the current trunk using <a class="reference external" href="http://mercurial.selenic.com/">Mercurial</a> (the trunk usually works and is of course more up-to-date):</p> @@ -216,36 +213,30 @@ <h1>Checksums</h1> <p>Here are the checksums for each of the downloads (md5 and sha1):</p> <pre class="literal-block"> -99f062eb516d8b6b5614f2350a65adab pypy-2.0-beta2-linux64-libc2.15.tar.bz2 -61c2d5873ee62823bcf35b2e7086644f pypy-2.0-beta2-linux.tar.bz2 -f7ad21f79c8005b9c00c48e190ec662e pypy-2.0-beta2-osx64.tar.bz2 -3b5250872a5e79034bb1a7c209f39391 pypy-2.0-beta2-win32.zip +f0d051c2b612b64dff496a6c0f3654fb pypy-2.0-win32.zip b9c36b99296c85a590c3e480b05d5a13 pypy-2.0-alpha-arm-armel.tar.bz2 2565ce68b4032eb306d998e722495694 pypy-2.0-alpha-arm-armhf.tar.bz2 b39d98de75f4948bfd2d606a8263ac1f pypy-upstream_2.0~alpha+arm_armhf.deb -201d2cce2557e40c784473b471ee1b6b pypy-1.9-linux64.tar.bz2 -1a08c88642434fc2e0e4256d351f48db pypy-1.9-linux.tar.bz2 -aad9c4b7b827583e37fe8ae0f7cfe0ff pypy-1.9-osx64.tar.bz2 -e7655066baed3c7bbbca7df617817dd5 pypy-1.9-win32.zip 2c9f0054f3b93a6473f10be35277825a pypy-1.8-sandbox-linux64.tar.bz2 009c970b5fa75754ae4c32a5d108a8d4 pypy-1.8-sandbox-linux.tar.bz2 -c6afb6dd3fcc57ba2c4144780a42412f release-2.0-beta2.tar.bz2 (source) -699fe12476a1783d6f91de59f48adc01c93c39df pypy-2.0-beta2-linux64-libc2.15.tar.bz2 -591e661b091ed4849fdf5aab7e73393dea64016b pypy-2.0-beta2-linux.tar.bz2 -ec3d80d7806b0689d9da70ca27c741b1d9cea250 pypy-2.0-beta2-osx64.tar.bz2 -bb0604f32ba0e2af3c585a1af45dc887e0e95d34 pypy-2.0-beta2-win32.zip +4dc82e2240dd2b5be313119672988538 pypy-2.0-src.tar.bz2 +f965b50bc34c97891af77e6b743038f2 pypy-2.0-src.zip +cc3b37b5d59b88cf340c72aaae13dd2bb0337bcc pypy-2.0-win32.zip dc09a293b85ab4f0032f6943815aaf5bbbceb645 pypy-2.0-alpha-arm-armel.tar.bz2 0971c4b668bfd2fcd52aa35087aa995e03bd5842 pypy-2.0-alpha-arm-armhf.tar.bz2 91910eb654ffbe0509bec2a7aeb460984acf8d82 pypy-upstream_2.0~alpha+arm_armhf.deb -51be6b7b802a5239a759e04ae9595082e17c4c70 pypy-1.9-linux64.tar.bz2 -1bc5d2467039b954f9b7395b3ee1b8407ce1c057 pypy-1.9-linux.tar.bz2 -825e15724419fbdb6fe215eeea044f9181883c90 pypy-1.9-osx64.tar.bz2 -4f060f4fab0f07bbc7de0ac8f95275eb08d726a3 pypy-1.9-win32.zip 895aaf7bba5787dd30adda5cc0e0e7fc297c0ca7 pypy-1.8-sandbox-linux64.tar.bz2 be94460bed8b2682880495435c309b6611ae2c31 pypy-1.8-sandbox-linux.tar.bz2 -66d77a7ef98b9bff33a6ac19834c3a598bb9fa97 release-2.0-beta2.tar.bz2 (source) +d694824eeaa6169bce8d112149c9a5c7897534ed pypy-2.0-src.tar.bz2 +dc44cc9141a729ccc39b98432062bbe29c938432 pypy-2.0-src.zip </pre> </div> +<div class="system-messages section"> +<h1>Docutils System Messages</h1> +<div class="system-message" id="id17"> +<p class="system-message-title">System Message: ERROR/3 (<tt class="docutils">[dynamic-text]</tt>, line 105); <em><a href="#id18">backlink</a></em></p> +Unknown target name: “alternative nightly build”.</div> +</div> </div> <div id="sidebar"> </div> diff --git a/features.html b/features.html --- a/features.html +++ b/features.html @@ -46,9 +46,9 @@ <div> <div id="main"> <h1 class="title">Features</h1> -<p><strong>PyPy 2.0 beta2</strong> implements <strong>Python 2.7.3</strong> and runs on Intel -<a class="reference external" href="http://en.wikipedia.org/wiki/IA-32">x86 (IA-32)</a> , <a class="reference external" href="http://en.wikipedia.org/wiki/X86_64">x86_64</a> and <a class="reference external" href="http://en.wikipedia.org/wiki/ARM">ARM</a> platforms, with PPC being underway. -It supports all of the core language, passing the Python test suite +<p><strong>PyPy 2.0</strong> implements <strong>Python 2.7.3</strong> and runs on Intel +<a class="reference external" href="http://en.wikipedia.org/wiki/IA-32">x86 (IA-32)</a> , <a class="reference external" href="http://en.wikipedia.org/wiki/X86_64">x86_64</a> and <a class="reference external" href="http://en.wikipedia.org/wiki/ARM">ARM</a> platforms (alpha), with PPC being +underway. It supports all of the core language, passing the Python test suite (with minor modifications that were already accepted in the main python in newer versions). It supports most of the commonly used Python standard library modules. For known differences with CPython, see our diff --git a/index.html b/index.html --- a/index.html +++ b/index.html @@ -64,7 +64,7 @@ <li>As well as other <a class="reference external" href="features.html">features</a>.</li> </ul> </blockquote> -<p class="download"><a class="reference external" href="download.html">Download and try out the PyPy release 2.0 beta2!</a></p> +<p class="download"><a class="reference external" href="download.html">Download and try out the PyPy release 2.0!</a></p> <p>Want to know more? A good place to start is our detailed <a class="reference external" href="http://speed.pypy.org/">speed</a> and <a class="reference external" href="compat.html">compatibility</a> reports!</p> </div> diff --git a/source/download.txt b/source/download.txt --- a/source/download.txt +++ b/source/download.txt @@ -70,7 +70,7 @@ * `Linux binary (32bit)`__ * `Linux binary (64bit) (libc 2.15)`__ -* `Mac OS/X binary (64bit)`__ +* `Mac OS/X binary (64bit)`__ (still building, the link might be broken) * `Windows binary (32bit)`__ (you might need the `VS 2008 runtime library installer vcredist_x86.exe`_.) * `Source (unix line endings)`__