diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2016-12-09 08:16:33 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2016-12-09 08:53:50 -0500 |
| commit | f14930e66601b462699c44384c482cd966f53b8f (patch) | |
| tree | bea29134419118c1bcb95ca589da5a8e2372e089 /docs/pkg_resources.txt | |
| parent | ac9997648d89131412eacbb198e2d3a7c97f69e4 (diff) | |
| download | python-setuptools-git-f14930e66601b462699c44384c482cd966f53b8f.tar.gz | |
Drop support for Python 2.6, removing lots of compatibility code for a leaner, cleaner codebase. Fixes #878.
Diffstat (limited to 'docs/pkg_resources.txt')
| -rw-r--r-- | docs/pkg_resources.txt | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/docs/pkg_resources.txt b/docs/pkg_resources.txt index e8412b33..c504412d 100644 --- a/docs/pkg_resources.txt +++ b/docs/pkg_resources.txt @@ -622,8 +622,8 @@ Requirements Parsing The "markers" in a requirement are used to specify when a requirement should be installed -- the requirement will be installed if the marker evaluates as true in the current environment. For example, specifying - ``argparse;python_version<"2.7"`` will not install in an Python 2.7 or 3.3 - environment, but will in a Python 2.6 environment. + ``argparse;python_version<"3.0"`` will not install in an Python 3 + environment, but will in a Python 2 environment. ``Requirement`` Methods and Attributes -------------------------------------- @@ -1660,19 +1660,7 @@ PEP 302 Utilities ----------------- ``get_importer(path_item)`` - Retrieve a PEP 302 "importer" for the given path item (which need not - actually be on ``sys.path``). This routine simulates the PEP 302 protocol - for obtaining an "importer" object. It first checks for an importer for - the path item in ``sys.path_importer_cache``, and if not found it calls - each of the ``sys.path_hooks`` and caches the result if a good importer is - found. If no importer is found, this routine returns an ``ImpWrapper`` - instance that wraps the builtin import machinery as a PEP 302-compliant - "importer" object. This ``ImpWrapper`` is *not* cached; instead a new - instance is returned each time. - - (Note: When run under Python 2.5, this function is simply an alias for - ``pkgutil.get_importer()``, and instead of ``pkg_resources.ImpWrapper`` - instances, it may return ``pkgutil.ImpImporter`` instances.) + A deprecated alias for ``pkgutil.get_importer()`` File/Path Utilities |
