diff options
| author | PJ Eby <distutils-sig@python.org> | 2005-08-07 01:03:36 +0000 |
|---|---|---|
| committer | PJ Eby <distutils-sig@python.org> | 2005-08-07 01:03:36 +0000 |
| commit | 57f7bd7e62e6b0ab53bcb33f91abe3ca9917e782 (patch) | |
| tree | a5f039a161f5ce6bc815bb59403400f27fe92a45 /pkg_resources.txt | |
| parent | 899e59ff5150705852f15f90fddbfedf7544bec1 (diff) | |
| download | python-setuptools-git-57f7bd7e62e6b0ab53bcb33f91abe3ca9917e782.tar.gz | |
Renamed AvailableDistributions -> Environment. Add sketch of pkg_resources
manual outline.
--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041184
Diffstat (limited to 'pkg_resources.txt')
| -rwxr-xr-x | pkg_resources.txt | 133 |
1 files changed, 133 insertions, 0 deletions
diff --git a/pkg_resources.txt b/pkg_resources.txt new file mode 100755 index 00000000..f7a17bd6 --- /dev/null +++ b/pkg_resources.txt @@ -0,0 +1,133 @@ +============================================================= +Package Discovery and Resource Access using ``pkg_resources`` +============================================================= + +The ``pkg_resources`` module, distributed with ``setuptools``, provides +features for Python libraries to access resource files, and for extensible +applications and frameworks to automatically discover plugins. It also +provides runtime support for using C extensions that are inside zipfile +eggs, support for merging packages that have separately-distributed modules or +subpackages, and APIs for managing Python's current "working set" of active +packages. + + +.. contents:: **Table of Contents** + + +-------- +Overview +-------- + +XXX + + +----------------- +Developer's Guide +----------------- + + Accessing Resources + Finding and Activating Package Distributions + get_provider() + require() + WorkingSet + iter_distributions + Running Scripts + Configuration + Namespace Packages + Extensible Applications and Frameworks + Locating entry points + Activation listeners + Metadata access + Extended Discovery and Installation + Supporting Custom PEP 302 Implementations + + +------------- +API Reference +------------- + + +``WorkingSet`` Objects +====================== + +Listeners + + +``Environment`` Objects +======================= + +XXX + + +``EntryPoint`` Objects +====================== + +XXX + + +``Requirement`` Objects +======================= + +XXX Syntax, parse_requirments, Requirement.parse, etc. + + +``Distribution`` Objects +======================== + +XXX + + +``ResourceManager`` Objects +=========================== + +XXX + + +Exceptions +========== + +XXX ResolutionError, VersionConflict, DistributionNotFound, UnknownExtra + + +Utility Functions +================= + + +Parsing Utilities +----------------- + +yield_lines + XXX + +split_sections + XXX + +parse_version + XXX + +safe_name + XXX + +safe_version + XXX + + +Platform Utilities +------------------ + +get_platform + XXX + +compatible_platforms + XXX + + +File/Path Utilities +------------------- + +ensure_directory + XXX + +normalize_path + XXX + |
