Commits

Antonio Cuni  committed 36167b2

(lac, antocuni) put the pypy dir in front of sys.path, to be sure that "import pypy" really finds the current package (and not, e.g., another pypy which is in PYTHONPATH)

  • Participants
  • Parent commits 2059ff1
  • Branches documentation-cleanup

Comments (0)

Files changed (2)

File pypy/doc/getting-started.rst

 
 .. _`downloading them from the download page`: http://pypy.org/download.html
 
-If you choose to use mercurial,
-first make sure you have ``subversion`` installed.
 You must issue the following command on your
 command line, DOS box, or terminal::
 
     hg clone http://bitbucket.org/pypy/pypy pypy
 
-If you get an error like this::
-
-    abort: repository [svn]http://codespeak.net/svn/pypy/build/testrunner not found!
-
-it probably means that your mercurial version is too old. You need at least
-Mercurial 1.6 to clone the PyPy repository.
-
 This will clone the repository and place it into a directory
 named ``pypy``, and will get you the PyPy source in
 ``pypy/pypy`` and documentation files in ``pypy/pypy/doc``.

File pypy/doc/pypyconfig.py

 
 def setup(app):
     import sys, os
-    sys.path.append(os.path.abspath("../../"))
+    sys.path.insert(0, os.path.abspath("../../"))
     from pypy.config import makerestdoc
     import py
     role = makerestdoc.register_config_role(py.path.local())