summaryrefslogtreecommitdiff
path: root/pkg_resources
Commit message (Collapse)AuthorAgeFilesLines
* 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
|/
* Replace ValueErrors containing implicit contract about the structure of the ↵Jason R. Coombs2015-05-031-16/+15
| | | | message with a RequirementParseError explicitly joining arguments for the string representation.
* Restore compatibility for Python 3.2 and earlier.Jason R. Coombs2015-04-261-1/+6
|
* Remove use of deprecated imp module, avoiding deprecation warnings.Jason R. Coombs2015-04-261-6/+7
|
* Partial appears to behave differently on Python 2.6. Also, this syntax is ↵15.2Jason R. Coombs2015-04-261-2/+2
| | | | more congruent and easier to read.
* Use _call_aside to signal early that the function is called immediately.Jason R. Coombs2015-04-261-6/+13
|
* Declare variables for nicer linting.Jason R. Coombs2015-04-261-0/+6
|
* Extract function for initializing the master working set. Fixes #373.Jason R. Coombs2015-04-261-17/+31
|
* Bump packaging version to 15.1Jason R. Coombs2015-04-153-30/+22
|