summaryrefslogtreecommitdiff
path: root/pkg_resources
Commit message (Collapse)AuthorAgeFilesLines
* Combine separate VendorImporters into a single one in pkg_resources.externJason R. Coombs2016-01-022-1/+1
| | | | | --HG-- branch : feature/issue-229
* Pop the module off the stack, preventing the 'Version' class from having a ↵Jason R. Coombs2016-01-021-2/+1
| | | | | | | different manifestation in packaging than in pkg_resources. --HG-- branch : feature/issue-229
* Make VendorImporter more genericJason R. Coombs2016-01-021-13/+20
| | | | | --HG-- branch : feature/issue-229
* Create a PEP 302 importer for managing conditional import of vendored ↵Jason R. Coombs2016-01-022-45/+42
| | | | | | | packages from the 'extern' namespace. This technique avoids the use of 'imp' and works even when setuptools is installed as a zipped egg. Ref #229. --HG-- branch : feature/issue-229
* Move extern.packaging into a package to enable package-relative imports to ↵Jason R. Coombs2016-01-011-0/+0
| | | | | | | resolve propertly. Ref #229. --HG-- branch : feature/issue-229
* Use the same technique in pkg_resources, relying on an 'extern' module to ↵Jason R. Coombs2015-12-314-11/+50
| | | | | | | resolve the conditional import. --HG-- branch : feature/issue-229
* Update vendoring technique to match that used for packaging. Ref #229.Jason R. Coombs2015-12-311-3/+1
| | | | | --HG-- branch : feature/issue-229
* Merge with master. Ref #229.Jason R. Coombs2015-12-319-184/+508
|\ | | | | | | | | --HG-- branch : feature/issue-229
| * Fixes #475: correct a typo in metadata environment marker evaluationlsenta2015-12-161-1/+1
| |
| * Remove deprecated use of 'U' in io.open mode parameter. Fixes #472.Jason R. Coombs2015-12-091-1/+1
| |
| * Avoid errors when metadata directory is broken. Ref #419.Jason R. Coombs2015-12-081-1/+1
| |
| * Read metadata as utf-8; Fixes failure when LC_ALL=CJason R. Coombs2015-12-011-1/+1
| |
| * Leave _version unset if no metadata version was found.Jason R. Coombs2015-12-011-1/+2
| |
| * Re-use metadata loading functionality from Provider. Fixes #469.Jason R. Coombs2015-12-011-16/+7
| |
| * Add test for regression on Python 3 when LANG=C and there is non-ascii in ↵Jason R. Coombs2015-12-011-1/+5
| | | | | | | | the metadata file before the version. Ref #469.
| * Always use Python 3 map in pkg_resourcesJason R. Coombs2015-11-301-0/+1
| |
| * Always use Python 3 filter in pkg_resourcesJason R. Coombs2015-11-301-0/+2
| |
| * Merge Pull Request #144Jason R. Coombs2015-11-282-10/+103
| |\
| | * Rename method as _version_from_metadata.Jason R. Coombs2015-11-281-5/+5
| | |
| | * Encapsulate egg-info special behavior in EggInfoDistribution class.Jason R. Coombs2015-11-281-20/+26
| | |
| | * Extract method for _version_from_egg_info.Jason R. Coombs2015-11-281-15/+24
| | |
| | * Add docstringJason R. Coombs2015-11-281-0/+4
| | |
| | * Return None when no version is encountered.Jason R. Coombs2015-11-281-2/+2
| | |
| | * Use partition to avoid integer literalsJason R. Coombs2015-11-281-1/+2
| | |
| | * Rewrite _version_from_file using iterables and filtersJason R. Coombs2015-11-281-5/+5
| | |
| | * Merge with latest testsJason R. Coombs2015-11-281-0/+52
| | |\
| | | * Rewrite test to use distutils' install_egg_info to generate the metadata.Jason R. Coombs2015-11-281-10/+11
| | | |
| | | * Rewrite test to simply create the egg_info.Jason R. Coombs2015-11-281-80/+35
| | | |
| | | * Rename test to match intention.Jason R. Coombs2015-11-281-1/+1
| | | |
| | | * Move test into pkg_resources testsJason R. Coombs2015-11-281-0/+96
| | | |
| | * | Look deeper at .egg-info files for package name and version information when ↵Eric Larson2015-09-011-7/+28
| | |/ | | | | | | | | | available.
| * | Back out 435b1b762fba. The change breaks detection of zip eggs. Reopens #462.Jason R. Coombs2015-11-241-1/+0
| | |
| * | Only detect a path as an unpacked egg if it also has an EGG-INFO directory. ↵Jason R. Coombs2015-11-221-0/+1
| | | | | | | | | | | | Fixes #462.
| * | Extract function for detecting unpacked egg. Ref #462.Jason R. Coombs2015-11-221-5/+12
| |/
| * Merge pull request #28 from rouge8/platform_python_implementationJason R. Coombs2015-11-012-0/+4
| |\ | | | | | | Add support for python_platform_implementation environment marker
| | * Add support for python_platform_implementation environment markerAndy Freeland2015-09-102-0/+4
| | | | | | | | | | | | | | | | | | This patch adds support for the 'python_platform_implementation' environment marker as defined by PEP-0426: https://www.python.org/dev/peps/pep-0426/#environment-markers
| * | Extract a a method to encapsulate behavior and documentation. Rewrite for ↵Jason R. Coombs2015-11-011-6/+13
| | | | | | | | | | | | loop as legacy-style dictionary comprehension.
| * | Fix "dictionary changed size during iteration"Vadim Markovtsev2015-11-011-1/+1
| | | | | | | | | env is being modified at the same time as being iterated which leads to RuntimeError: dictionary changed size during iteration.
| * | Dropping support for Python 3.2 and earlier Python 3 versions. Currently ↵Jason R. Coombs2015-10-221-0/+7
| | | | | | | | | | | | only log a warning, but future versions will fail.
| * | Simplify implementation of Requirement.parse.Jason R. Coombs2015-09-271-6/+2
| |/
| * Upgrade packaging to 15.3Donald Stufft2015-08-014-4/+26
| |
| * Merge fixJason R. Coombs2015-06-081-6/+12
| |\
| | * Backed out unintended changes made in f572ec9, restoring use of 'imp' module ↵Jason R. Coombs2015-06-081-6/+12
| | | | | | | | | | | | for dynamic module creation originally committed in 06ac3674 and 4c121bd24f.
| * | Add test capturing possible violation in expectation due to new Python ↵Jason R. Coombs2015-06-071-0/+16
| | | | | | | | | | | | 2.7.10 release. Ref #380.
| * | Remove now deprecated test capturing failure of range comparison operators ↵Jason R. Coombs2015-06-071-3/+0
| | | | | | | | | | | | (Ref #380).
| * | Merged in jamezpolley/setuptools (pull request #134)Jason R. Coombs2015-06-071-0/+4
| |\ \ | | | | | | | | | | | | Expand the range of valid operators to include comparators
| | * | Expand the range of valid operators to include comparatorsJames Polley2015-05-221-0/+4
| | | |
| * | | Add tests capturing expectation for range comparison operators (Ref #380).Jason R. Coombs2015-06-071-0/+6
| | | |
| * | | Issue #378: Do not use internal importlib._bootstrap module.Arfrever Frehtes Taifersar Arahesis2015-05-281-8/+8
| |/ /
| * | Extract variable for clarity.Jason R. Coombs2015-05-031-3/+2
| |/