As described in section 1.2, building and installing a module
distribution using the Distutils is usually one simple command:
python setup.py install On Unix, you'd run this command from a
shell prompt; on Windows, you have to open a command prompt
window (``DOS box'') and do it there; on Mac OS X, you open a
Terminal window to get a shell prompt. You should always run the
setup command from the distribution root directory, i.e. the
top-level subdirectory that the module source distribution
unpacks into. For example, if you've just downloaded a module
source distribution foo-1.0.tar.gz onto a Unix system, the
normal thing to do is: gunzip -c foo-1.0.tar.gz | tar xf - #
unpacks into directory foo-1.0 cd foo-1.0 python setup.py
install On Windows, you'd probably download foo-1.0.zip. If you
downloaded the archive file to C:\Temp, then it would unpack
into C:\Temp\foo-1.0; you can use either a archive manipulator
with a graphical user interface (such as WinZip) or a command-
line tool (such as unzip or pkunzip) t