Mercurial > pymonkey
diff docs/rendered/index.html @ 106:1e6523de9df1
Fixed docs to represent the much-simplified build process, fixed the test target to work w/ default build options, moved doctest output dir into build dir.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Sun, 16 Aug 2009 12:53:46 -0700 |
parents | e455f0f00e98 |
children | 699d03db6614 |
line wrap: on
line diff
--- a/docs/rendered/index.html Sun Aug 16 11:44:49 2009 -0700 +++ b/docs/rendered/index.html Sun Aug 16 12:53:46 2009 -0700 @@ -101,25 +101,17 @@ before, so he wanted to give it a try.</p> </li> </ul> -<div class="section" id="building-and-testing"> -<h2>Building and Testing<a class="headerlink" href="#building-and-testing" title="Permalink to this headline">¶</a></h2> -<p>You can either build SpiderMonkey off the mozilla-central HG -repository, or off a mirror I made of its SpiderMonkey directory. The -latter can be obtained here:</p> -<blockquote> -<a class="reference" href="http://hg.toolness.com/spidermonkey/">http://hg.toolness.com/spidermonkey/</a></blockquote> -<p>Just HG clone that repository in the root of your pymonkey repository -and read the instructions in the <tt class="docutils literal"><span class="pre">README</span></tt> file to build SpiderMonkey.</p> -<p>Then come back to the root of your pymonkey repository and run:</p> -<div class="highlight-python"><pre>python setup.py build</pre> +<div class="section" id="building-testing-and-installing"> +<h2>Building, Testing, and Installing<a class="headerlink" href="#building-testing-and-installing" title="Permalink to this headline">¶</a></h2> +<p>From the root of your pymonkey repository, run:</p> +<div class="highlight-python"><pre>python setup.py build test</pre> </div> +<p>This will build the C extension and run its test suite to ensure that +everything works properly.</p> <p>Then run:</p> <div class="highlight-python"><pre>sudo python setup.py install</pre> </div> <p>Note that if you’re on Windows, you won’t need the <tt class="docutils literal"><span class="pre">sudo</span></tt> bit.</p> -<p>You can run the test suite by entering:</p> -<div class="highlight-python"><pre>python setup.py test</pre> -</div> </div> <div class="section" id="challenges"> <h2>Challenges<a class="headerlink" href="#challenges" title="Permalink to this headline">¶</a></h2> @@ -155,7 +147,7 @@ <h3><a href="">Table Of Contents</a></h3> <ul> <li><a class="reference" href="">Pymonkey Documentation</a><ul> -<li><a class="reference" href="#building-and-testing">Building and Testing</a></li> +<li><a class="reference" href="#building-testing-and-installing">Building, Testing, and Installing</a></li> <li><a class="reference" href="#challenges">Challenges</a></li> <li><a class="reference" href="#indices-and-tables">Indices and Tables</a></li> </ul>