Commit d8c21aa6 authored by PJ Eby's avatar PJ Eby

0.6a1 release of setuptools.

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041242
parent 6a36f2af
...@@ -13,12 +13,16 @@ the appropriate options to ``use_setuptools()``. ...@@ -13,12 +13,16 @@ the appropriate options to ``use_setuptools()``.
This file can also be run as a script to install or upgrade setuptools. This file can also be run as a script to install or upgrade setuptools.
""" """
DEFAULT_VERSION = "0.6a1c2" DEFAULT_VERSION = "0.6a1"
DEFAULT_URL = "http://www.python.org/packages/source/s/setuptools/" DEFAULT_URL = "http://www.python.org/packages/source/s/setuptools/"
md5_data = { md5_data = {
'setuptools-0.5a13-py2.3.egg': '85edcf0ef39bab66e130d3f38f578c86', 'setuptools-0.5a13-py2.3.egg': '85edcf0ef39bab66e130d3f38f578c86',
'setuptools-0.5a13-py2.4.egg': 'ede4be600e3890e06d4ee5e0148e092a', 'setuptools-0.5a13-py2.4.egg': 'ede4be600e3890e06d4ee5e0148e092a',
'setuptools-0.6a1-py2.3.egg': 'ee819a13b924d9696b0d6ca6d1c5833d',
'setuptools-0.6a1-py2.4.egg': '8256b5f1cd9e348ea6877b5ddd56257d',
'setuptools-0.6a1c1-py2.3.egg': '1eaf2ca9fb2417977d5b5042dc50e1f4',
'setuptools-0.6a1c1-py2.4.egg': '5baad71652b3047756ba1dcbf721b1ee',
'setuptools-0.6a1c2-py2.3.egg': '92291ca957044306d96a7b8589c01d87', 'setuptools-0.6a1c2-py2.3.egg': '92291ca957044306d96a7b8589c01d87',
'setuptools-0.6a1c2-py2.4.egg': '5ae6405341eddb5baf93cd6ab178efb1', 'setuptools-0.6a1c2-py2.4.egg': '5ae6405341eddb5baf93cd6ab178efb1',
} }
......
...@@ -18,16 +18,82 @@ packages. ...@@ -18,16 +18,82 @@ packages.
Overview Overview
-------- --------
This section isn't written yet. For now, please check out the extensive `API Eggs are a distribution format for Python modules, similar in concept to Java's
Reference`_ below. "jars" or Ruby's "gems". They differ from previous Python distribution formats
in that they are importable (i.e. they can be added to ``sys.path``), and they
are *discoverable*, meaning that they carry metadata that unambiguously
----------------- identifies their contents and dependencies, and thus can be *automatically*
Developer's Guide found and added to ``sys.path`` in response to simple requests of the form,
----------------- "get me everything I need to use docutils' PDF support".
This section isn't written yet. Currently planned topics include:: The ``pkg_resources`` module provides runtime facilities for finding,
introspecting, activating and using eggs and other "pluggable" distribution
formats. Because these are new concepts in Python (and not that well-
established in other languages either), it helps to have a few special terms
for talking about eggs and how they can be used:
project
A library, framework, script, plugin, application, or collection of data
or other resources, or some combination thereof. Projects are assumed to
have "relatively unique" names, e.g. names registered with PyPI.
release
A snapshot of a project at a particular point in time, denoted by a version
identifier.
distribution
A file or files that represent a particular release.
importable distribution
A file or directory that, if placed on ``sys.path``, allows Python to
import any modules contained within it.
pluggable distribution
An importable distribution whose filename unambiguously identifies its
release (i.e. project and version), and whose contents unamabiguously
specify what releases of other projects will satisfy its runtime
requirements.
extra
An "extra" is an optional feature of a release, that may impose additional
runtime requirements. For example, if docutils PDF support required a
PDF support library to be present, docutils could define its PDF support as
an "extra", and list what other project releases need to be available in
order to provide it.
environment
A collection of distributions potentially available for importing, but not
necessarily active. More than one distribution (i.e. release version) for
a given project may be present in an environment.
working set
A collection of distributions actually available for importing, as on
``sys.path``. At most one distribution (release version) of a given
project may be present in a working set, as otherwise there would be
ambiguity as to what to import.
eggs
Eggs are pluggable distributions in one of the three formats currently
supported by ``pkg_resources``. There are built eggs, development eggs,
and egg links. Built eggs are directories or zipfiles whose name ends
with ``.egg`` and follows the egg naming conventions, and contain an
``EGG-INFO`` subdirectory (zipped or otherwise). Development eggs are
normal directories of Python code with one or more ``ProjectName.egg-info``
subdirectories. And egg links are ``*.egg-link`` files that contain the
name of a built or development egg, to support symbolic linking on
platforms that do not have native symbolic links.
(For more information about these terms and concepts, see also this
`architectural overview`_ of ``pkg_resources`` and Python Eggs in general.)
.. _architectural overview: http://mail.python.org/pipermail/distutils-sig/2005-June/004652.html
.. -----------------
.. Developer's Guide
.. -----------------
.. This section isn't written yet. Currently planned topics include
Accessing Resources Accessing Resources
Finding and Activating Package Distributions Finding and Activating Package Distributions
get_provider() get_provider()
...@@ -43,8 +109,7 @@ This section isn't written yet. Currently planned topics include:: ...@@ -43,8 +109,7 @@ This section isn't written yet. Currently planned topics include::
Metadata access Metadata access
Extended Discovery and Installation Extended Discovery and Installation
Supporting Custom PEP 302 Implementations Supporting Custom PEP 302 Implementations
.. For now, please check out the extensive `API Reference`_ below.
For now, please check out the extensive `API Reference`_ below.
------------- -------------
......
[egg_info]
tag-build=c2
[aliases] [aliases]
binary = bdist_egg upload --show-response binary = bdist_egg upload --show-response
develop = develop develop = develop
......
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