Commit 19ec012a authored by PJ Eby's avatar PJ Eby

Misc. doc fixes

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042381
parent d488ba4a
...@@ -365,10 +365,11 @@ Locating Plugins ...@@ -365,10 +365,11 @@ Locating Plugins
Extensible applications will sometimes have a "plugin directory" or a set of Extensible applications will sometimes have a "plugin directory" or a set of
plugin directories, from which they want to load entry points or other plugin directories, from which they want to load entry points or other
metadata. The ``find_plugins()`` method allows you to do this, by metadata. The ``find_plugins()`` method allows you to do this, by scanning an
environment for the newest version of each project that can be safely loaded
without conflicts or missing requirements.
``find_plugins(plugin_env, full_env=None, fallback=True)`` ``find_plugins(plugin_env, full_env=None, fallback=True)``
Scan `plugin_env` and identify which distributions could be added to this Scan `plugin_env` and identify which distributions could be added to this
working set without version conflicts or missing requirements. working set without version conflicts or missing requirements.
...@@ -418,12 +419,12 @@ metadata. The ``find_plugins()`` method allows you to do this, by ...@@ -418,12 +419,12 @@ metadata. The ``find_plugins()`` method allows you to do this, by
plugin is tried, until a working version is found. If false, the resolution plugin is tried, until a working version is found. If false, the resolution
process continues with the next plugin project name. process continues with the next plugin project name.
Some applications may have stricter fallback requirements than others. For Some applications may have stricter fallback requirements than others. For
example, an application that has a database schema or persistent objects example, an application that has a database schema or persistent objects
may not be able to safely downgrade a version of a package. Others may want may not be able to safely downgrade a version of a package. Others may want
to ensure that a new plugin configuration is either 100% good or else to ensure that a new plugin configuration is either 100% good or else
revert to a known-good configuration. (That is, they may wish to revert to revert to a known-good configuration. (That is, they may wish to revert to
a known configuration if the `error_info` return value is non-empty.) a known configuration if the `error_info` return value is non-empty.)
Note that this algorithm gives precedence to satisfying the dependencies of Note that this algorithm gives precedence to satisfying the dependencies of
alphabetically prior project names in case of version conflicts. If two alphabetically prior project names in case of version conflicts. If two
......
...@@ -959,6 +959,14 @@ the desired staging area if it's not the default. ...@@ -959,6 +959,14 @@ the desired staging area if it's not the default.
There are several options to control the precise behavior of the ``develop`` There are several options to control the precise behavior of the ``develop``
command; see the section on the `develop`_ command below for more details. command; see the section on the `develop`_ command below for more details.
Note that you can also apply setuptools commands to non-setuptools projects,
using commands like this::
python -c "import setuptools; execfile('setup.py')" develop
That is, you can simply list the normal setup commands and options following
the quoted part.
Distributing a ``setuptools``-based project Distributing a ``setuptools``-based project
=========================================== ===========================================
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment