| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
| |
``to_filename()`` function that escapes project names and versions for
safe use in constructing egg filenames from a Distribution object's
metadata.
Note that allowing dots may now cause problems for projects with '.' in
the name that were previously installed, since such projects had to be
spelled with a '-' before. The '-' name will no longer match the '.'
project, and there is no real room for backward compatibility here. :(
|
|
|
|
| |
to create correct Requirement instances.
|
|
|
|
|
|
|
| |
that ``0.2-rc1`` is considered an *older* version than ``0.2``, and is equal
to ``0.2rc1``. The idea that a dash *always* meant a post-release version
was highly non-intuitive to setuptools users and Python developers, who
seem to want to use ``-rc`` version numbers a lot.
|
|
|
|
|
|
|
| |
information embedded in the filename, so that system packagers have the
option of including ``PKG-INFO`` files to indicate the presence of a
system-installed egg, without needing to use ``.egg`` directories, zipfiles,
or ``.pth`` manipulation.
|
|
|
|
| |
conflicts from being detected at runtime. (As reported by Ian Bicking.)
|
| |
|
| |
|
|
|
|
|
|
| |
returns a list of the relevant distributions, even if they are found in
the working set rather than the environment. This fixes some problems
in the 0.6a3 release.
|
|
|
|
| |
Bicking on the distutils-sig.
|
| |
|
|
|
|
| |
Also fixed a few bugs.
|
|
|
|
| |
manual outline.
|
| |
|
|
|
|
|
|
| |
Change setuptools to discover setup commands using an entry point group
called "distutils.commands". Thanks to Ian Bicking for the suggestion that
led to designing this super-cool feature.
|
|
|
|
|
| |
support for obtaining project-level resources by making get_provider()
accept Requirement objects.
|
| |
|
|
|
|
|
| |
add ``#egg=project-version`` link support, and docs on how to make your
package available for EasyInstall to find.
|
|
|
|
|
| |
``IMetadataProvider`` interfaces, so you don't need to reference the (no
longer available) ``metadata`` attribute to get at these interfaces.
|
|
|
|
|
|
|
|
|
| |
both have 'project_name' attributes, instead of one having 'name' and the
other 'distname'. Requirements no longer have 'options', they have
'extras'. This is the beginning of the terminology/architecture
refactoring described at:
http://mail.python.org/pipermail/distutils-sig/2005-June/004652.html
|
|
|
|
| |
version checking. Document new options for screen scraping.
|
|
|
|
|
| |
distribution names and versions in arbitrary packages that might be built
using EasyInstall.
|
|
|
|
|
|
| |
Add a ``can_add()`` method that indicates whether a distribution matches
the collection's desired platform and Python version. Fix a bug in
``Distribution.from_filename()`` when the filename has no Python version.
|
|
|
|
|
|
|
|
| |
completes the core dependency resolution engine; all we need now is a way
to turn sys.path entries into "distribution sources" that can list
Distribution objects for inclusion in an instance of
AvailableDistributions, and the 'require("SomePkg>=2.7")' API will be
usable.
|
|
|
|
|
| |
optional dependencies can be included when processing nested dependencies.
Next up: tests for the resolve() algorithm.
|
|
|
|
|
| |
version from PKG-INFO and their dependencies from depends.txt, including
optional dependencies.
|
|
|
|
|
|
|
|
| |
or bomb on cyclic dependencies. (But it's still an untested sketch.)
Added list of things that need to be implemented before dependency
resolution can actually work. Added tests for lower-level parts of the
dependency resolution system, and a hook to support subclasses doing
automatic download of needed dependencies.
|
|
|
|
| |
version meets its version requirements.
|
|
|
|
|
|
|
|
|
| |
distributions; this replaces the previous "iter_distributions()" API.
Added basic platform support to Distribution and AvailableDistributions so
that platform-independent distros as well as local platform-compatible
distros are acceptable. The actual platform scheme is currently delegated
to distutils.util.get_platform(), but needs to be replaced with a better
scheme of some kind, especially for OS X.
|
|
|
|
| |
or version comparisons, but rendered as '_' in egg filenames.
|
|
|
|
|
|
|
| |
can extract its name/version/pythonversion/platform if built from a .egg
filename. Later, distributions will be able to add themselves to sys.path
and request that their dependencies be added as well. Also, added some
real-life version test cases supplied by jemfinch.
|
|
|
|
|
|
| |
distutils' StrictVersion, with the flexibility of LooseVersion. It also
deals heuristically with common concepts like alpha/beta/candidate/rc
and pre/preview, as well as '-' and 'pl' branching schemes.
|
|
distname.egg-info directory instead of EGG-INFO.in; this will be used later
to support development of egg-distributed packages that an application
under development expects to 'require()'. (Thanks to Fred Drake for
pointing out this use case, and Bob Ippolito for helping me figure out how
to support it, although the runtime support doesn't actually exist yet.)
|