diff -r d1d4bcf87e59 Doc/distutils/introduction.rst --- a/Doc/distutils/introduction.rst Sun Apr 06 11:00:15 2014 -0700 +++ b/Doc/distutils/introduction.rst Sun Apr 06 23:30:18 2014 -0500 @@ -51,7 +51,9 @@ careful about putting arbitrarily expensive operations in your setup script. Unlike, say, Autoconf-style configure scripts, the setup script may be run multiple times in the course of building and installing your module -distribution. +distribution. The setup script should be run from your project location:: + + cd path/to/project; python setup.py command If all you want to do is distribute a module called :mod:`foo`, contained in a file :file:`foo.py`, then your setup script can be as simple as this:: @@ -208,7 +210,7 @@ distribution root the top-level directory of your source tree (or source distribution); the - directory where :file:`setup.py` exists. Generally :file:`setup.py` will be - run from this directory. + directory where :file:`setup.py` exists. In order to make it work + :file:`setup.py` must be run from this directory. diff -r d1d4bcf87e59 Doc/install/index.rst --- a/Doc/install/index.rst Sun Apr 06 11:00:15 2014 -0700 +++ b/Doc/install/index.rst Sun Apr 06 23:30:18 2014 -0500 @@ -104,7 +104,7 @@ distribution will contain a setup script :file:`setup.py`, and a file named :file:`README.txt` or possibly just :file:`README`, which should explain that building and installing the module distribution is a simple matter of running -one command from a terminal:: +one command from the project directory ``cd path/to/project`` in a terminal:: python setup.py install