summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCasey Duncan <casey.duncan@gmail.com>2010-11-17 23:19:32 -0700
committerCasey Duncan <casey.duncan@gmail.com>2010-11-17 23:19:32 -0700
commit1dac8634852998dffdc335c89d017a889fd820af (patch)
tree686f83bc01d9ac2f62d9e23e81ef6d38d08e720d
parent42247963d8ddf569e0e73040d90bca7c803323c4 (diff)
downloadpyramid-1dac8634852998dffdc335c89d017a889fd820af.tar.gz
pyramid-1dac8634852998dffdc335c89d017a889fd820af.tar.bz2
pyramid-1dac8634852998dffdc335c89d017a889fd820af.zip
Add note about workaround for missing paster create dependancies
-rw-r--r--docs/narr/project.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/narr/project.rst b/docs/narr/project.rst
index f47e9f293..40c03bbf8 100644
--- a/docs/narr/project.rst
+++ b/docs/narr/project.rst
@@ -145,6 +145,17 @@ project we name ``MyProject``:
name during ``paster create`` by adding the project name to the
command line, e.g. ``paster create -t pyramid_starter MyProject``.
+.. note:: You may encounter an error when using ``paster create``
+ if a dependent Python package is not installed. This will
+ result in a traceback ending in:
+
+ .. code-block:: text
+
+ pkg_resources.DistributionNotFound: <package name>
+
+ Simply run ``bin/easy_install``, with the missing package
+ name from the error message, to workaround this issue.
+
As a result of invoking the ``paster create`` command, a project is
created in a directory named ``MyProject``. That directory is a
:term:`setuptools` :term:`project` directory from which a setuptools