diff options
| author | Casey Duncan <casey.duncan@gmail.com> | 2010-11-17 23:19:32 -0700 |
|---|---|---|
| committer | Casey Duncan <casey.duncan@gmail.com> | 2010-11-17 23:19:32 -0700 |
| commit | 1dac8634852998dffdc335c89d017a889fd820af (patch) | |
| tree | 686f83bc01d9ac2f62d9e23e81ef6d38d08e720d | |
| parent | 42247963d8ddf569e0e73040d90bca7c803323c4 (diff) | |
| download | pyramid-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.rst | 11 |
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 |
