1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211
|
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html> <head>
<title>Installing Epydoc</title>
<link rel="stylesheet" href="epydoc.css" type="text/css"/>
</head>
<!-- $Id: installing.html,v 1.9 2003/07/22 03:13:09 edloper Exp $ -->
<body>
<h1>Installing Epydoc</h1>
<ol>
<li> <a href="#download">Downloading Epydoc</a> </li>
<li> <a href="#rpm">Installing from the RPM File</a> </li>
<li> <a href="#win">Installing from the Windows Installer</a> </li>
<li> <a href="#src">Installing from the Source Distribution</a> </li>
<li> <a href="#nomake">Installing from the Source Distribution (without
make)</a> </li>
<li> <a href="#debian">Installing on Debian</a> </li>
</ol>
<a name="download"></a>
<h2> Downloading Epydoc </h2>
<p> Epydoc can be downloaded from the <a
href="http://sourceforge.net/project/showfiles.php?group_id=32455">SourceForge
download page</a>. Epydoc is available in five formats: </p>
<ul>
<li> RPM (<code>.noarch.rpm</code>) </li>
<li> Windows installer (<code>.win32.exe</code>) </li>
<li> Source install (<code>.tar.gz</code>) </li>
<li> Source install (<code>.zip</code>) </li>
<li> Source RPM (<code>.src.rpm</code>) </li>
</ul>
<p> If you are installing on RedHat, I recommend that you use the RPM
file. If you are installing on Windows, I recommended that you use
the windows installer. Otherwise, you should use one of the source
install files. </p>
<a name="rpm"></a>
<h2> Installing from the RPM File </h2>
<ol>
<li> Download the RPM file to a directory of your choice.
<li> Use <code>rpm</code> to install the new package.
<div class="screen"><pre>
<code class="prompt">[/tmp]$</code> <code class="user">su</code>
Password:
<code class="prompt">[/tmp]#</code> <code class="user">rpm -i epydoc-2.0.noarch.rpm</code>
</pre></div></li>
<li> Once epydoc is installed, you can delete the RPM file.
<div class="screen"><pre>
<code class="prompt">[/tmp]#</code> <code class="user">rm epydoc-2.0.rpm</code>
</pre></div> </li>
</ol>
<a name="win"></a>
<h2> Installing from the Windows Installer </h2>
<ol>
<li> Download and run <code>epydoc-2.0.win32.exe</code>. </li>
<li> Follow the on-screen instructions. Epydoc will be installed in
the <code>epydoc</code> subdirectory of your Python installation
directory (typically <code>C:\Python22\</code>). </li>
<li> The windows installer creates two scripts in the
<code>Scripts</code> subdirectory of your Python installation
directory: <code>epydoc.pyw</code> opens the graphical user
interface, and <code>epydoc.py</code> calls the command line
interface. If you'd like, you can create shortcuts from these
scripts to more convenient locations (such as your desktop or start
menu). </li>
<li> Once epydoc is installed, you can delete
<code>epydoc-2.0.win32.exe</code>. </li>
</ol>
<a name="src"></a>
<h2> Installing from the Source Distribution (using make)</h2>
<ol>
<li> Download an epydoc source distribution
to a directory of your choice, and uncompress it.
<div class="screen"><pre>
<code class="prompt">[/tmp]$</code> <code class="user">wget -q http://prdownloads.sourceforge.net/epydoc/epydoc-2.0.tar.gz</code>
<code class="prompt">[/tmp]$</code> <code class="user">gunzip epydoc-2.0.tar.gz</code>
<code class="prompt">[/tmp]$</code> <code class="user">tar -xvf epydoc-2.0.tar</code>
</pre></div></li>
<li> Use "<code>make install</code>" in the <code>eydoc-2.0/</code>
directory to install epydoc.
<div class="screen"><pre>
<code class="prompt">[/tmp]$</code> <code class="user">cd epydoc-2.0/</code>
<code class="prompt">[/tmp/epydoc-2.0]$</code> <code class="user">su</code>
Password:
<code class="prompt">[/tmp/epydoc-2.0]#</code> <code class="user">make install</code>
running install
running build
<i>[...]</i>
copying build/scripts/epydoc -> /usr/bin
changing mode of /usr/bin/epydoc to 100775
</pre></div></li>
<li> If you'd like to keep a local copy of the documentation, then use
"<code>make installdocs</code>". By default, this will install the
documentation to <code>/usr/share/doc/</code> and the man pages to
<code>/usr/share/man/</code>. If you would prefer to install
documentation to different directories (such as
<code>/usr/lib/doc</code>), then edit the <code>MAN</code> and
<code>DOC</code> variables at the top of <code>Makefile</code> before
running "<code>make installdocs</code>".
<div class="screen"><pre>
<code class="prompt">[/tmp/epydoc-2.0]#</code> <code class="user">make installdocs</code>
</pre></div></li>
<li> Once epydoc is installed, you can delete the installation
directory and the source distribution file.
<div class="screen"><pre>
<code class="prompt">[/tmp/epydoc-2.0]#</code> <code class="user">cd ..</code>
<code class="prompt">[/tmp]#</code> <code class="user">rm -r epydoc-2.0</code>
<code class="prompt">[/tmp]#</code> <code class="user">rm epydoc-2.0.tar</code>
</pre></div> </li>
</ol>
<a name="nomake"></a>
<h2> Installing from the Source Distribution (without make)</h2>
<ol>
<li> Download an epydoc source distribution
to a directory of your choice, and uncompress it.
<div class="screen"><pre>
<code class="prompt">[/tmp]$</code> <code class="user">wget -q http://prdownloads.sourceforge.net/epydoc/epydoc-2.0.tar.gz</code>
<code class="prompt">[/tmp]$</code> <code class="user">gunzip epydoc-2.0.tar.gz</code>
<code class="prompt">[/tmp]$</code> <code class="user">tar -xvf epydoc-2.0.tar</code>
</pre></div></li>
<li> Use the <code>setup.py</code> script in the
<code>eydoc-2.0/</code> directory to install epydoc.
<div class="screen"><pre>
<code class="prompt">[/tmp]$</code> <code class="user">cd epydoc-2.0/</code>
<code class="prompt">[/tmp/epydoc-2.0]$</code> <code class="user">su</code>
Password:
<code class="prompt">[/tmp/epydoc-2.0]#</code> <code class="user">python setup.py install</code>
running install
running build
<i>[...]</i>
copying build/scripts/epydoc -> /usr/bin
changing mode of /usr/bin/epydoc to 100775
<code class="prompt">[/tmp/epydoc-2.0]#</code> <code class="user">cd ..</code>
<code class="prompt">[/tmp]#</code>
</pre></div></li>
<li> If you'd like to keep a local copy of the documentation, then
copy it to a permanant location, such as <code>/usr/share/doc/</code>.
You may also want to copy the man pages to a permanat location, such
as <code>/usr/share/man/</code>.
<div class="screen"><pre>
<code class="prompt">[/tmp]#</code> <code class="user">cp -r epydoc-2.0/doc/ /usr/share/doc/epydoc/</code>
<code class="prompt">[/tmp]#</code> <code class="user">cp epydoc-2.0/man/* /usr/share/man/</code>
</pre></div> </li>
<li> Once epydoc is installed, you can delete the installation
directory and the source distribution file.
<div class="screen"><pre>
<code class="prompt">[/tmp]#</code> <code class="user">rm -r epydoc-2.0</code>
<code class="prompt">[/tmp]#</code> <code class="user">rm epydoc-2.0.tar</code>
</pre></div> </li>
</ol>
<a name="debian"></a>
<h2> Installing on Debian </h2>
<p> Epydoc 1.1 is available as an unstable debian package. Epydoc 2.0
has not yet been packaged for debian; please use one of the other
install methods. </p>
<table width="100%" class="navbox" cellpadding="1" cellspacing="0">
<tr>
<td align="center" width="20%">
<a class="nav" href="index.html">[Epydoc]</a></td>
<!-- <td align="center" width="20%">
<a class="nav" href="installing.html">[Installing]</a></td>-->
<td align="center" width="20%">
<a class="nav" href="using.html">[Using]</a></td>
<td align="center" width="20%">
<a class="nav" href="epytext.html">[Epytext]</a></td>
<td align="center" width="20%">
<a class="nav" href="http://www.cis.upenn.edu/~edloper/">[Author]</a></td>
<td align="center" width="20%">
<A href="http://sourceforge.net/projects/epydoc">
<IMG src="sflogo.png"
width="88" height="26" border="0" alt="SourceForge"
align="top"/></A></td>
</tr>
</table>
<font size="-1">
<!-- hhmts start --> Last modified: Tue Jul 22 03:01:30 XXX 2003 <!-- hhmts end -->
</font>
</body>
</html>
|