aboutsummaryrefslogtreecommitdiffstats
path: root/pkg_resources.py
Commit message (Collapse)AuthorAgeFilesLines
* Moved pkg_resources into its own package.Jason R. Coombs2014-12-241-2966/+0
|
* Silence PEP440Warning by default unless invoking easy_installDonald Stufft2014-12-181-0/+7
|
* Add a PEP440Warning to make it easier to silence these warningsDonald Stufft2014-12-181-1/+11
|
* Don't warn on empty non PEP 440 versionsDonald Stufft2014-12-171-9/+17
| | | | | | Empty versions which are not PEP 440 are more likely to be the fault of setuptools internals rather than anything a user has done so these warnings are needless spam in that situation.
* Add a warning when version is parsed as legacyDonald Stufft2014-12-131-0/+11
|
* Define a __hash__ on the packaging.version.Version subclassesDonald Stufft2014-12-151-0/+3
| | | | | | | In Python 3.x a subclass will not inherent the __hash__ method from the parent classes if the subclass defines a __eq__ method. This means that without defining our own __hash__ the SetuptoolsVersion classes are unhashable.
* Add more compatability shims to SetuptoolsVersionDonald Stufft2014-12-141-0/+40
| | | | | | | * Enables indexing the SetuptoolsVersion objects, triggering the legacy behavior warning. * Enables comparing the SetuptoolsVersion object to a tuple, again triggering the legacy behavior warning.
* Restore iterating over Version objects for compat with buildoutDonald Stufft2014-12-131-2/+69
|
* Always use the vendored copy of packagingDonald Stufft2014-11-191-8/+3
|
* Upgrade packaging to 14.3Donald Stufft2014-11-191-1/+3
|
* Merge branch 'master' into use-packagingDonald Stufft2014-11-191-3/+16
|\ | | | | | | | | | | | | | | | | Conflicts: .hgtags CHANGES.txt ez_setup.py setuptools.egg-info/requires.txt setuptools/version.py
| * Fix VersionConflict test failureMarc Abramowitz2014-10-111-1/+1
| | | | | | | | | | | | | | | | | | Fixes `TypeError: 'NoneType' object is not iterable` error at pkg_resources.py:632 Fixes issue #270 --HG-- branch : BB-270_fix_VersionConflict_test_failure_2
| * Add a couple of comments to help me understand.Jason R. Coombs2014-10-111-0/+5
| |
| * Update commentJason R. Coombs2014-10-111-2/+3
| |
| * Extract variablesJason R. Coombs2014-10-111-3/+3
| |
| * Remove TODO comment, now doneJason R. Coombs2014-10-111-1/+0
| |
| * Make VersionConflict report who is requiring packageMarc Abramowitz2014-10-101-2/+10
| | | | | | | | | | | | | | fixes issue 268 --HG-- branch : BB-268_make_VersionConflict_report_who_required_package_3
* | Prefer packaging library if available.Jason R. Coombs2014-09-271-10/+14
| |
* | Avoid trailing commentsJason R. Coombs2014-09-271-1/+2
| |
* | Implement PEP 440 by using the packaging libraryDonald Stufft2014-09-251-119/+42
|/
* Remove execfile compatibility - unnecessary on Python 2.6+5.8Jason R. Coombs2014-09-181-7/+3
| | | | | --HG-- extra : amend_source : 8a0dcd07e62a327647c834a44fe73b8ebc7b53b9
* Use the term 'string_types', following the pattern in sixJason R. Coombs2014-09-181-7/+8
| | | | | --HG-- extra : amend_source : 3a4aeb2627549c3dfec15067579eccc8e1314de2
* next function and io module are available on Python 2.6Jason R. Coombs2014-09-181-6/+2
|
* Use PY3/PY2 indicators to reliably select behavior. Fixes #237Jason R. Coombs2014-09-181-8/+9
| | | | | --HG-- extra : amend_source : 33f3d298acd39933ccf60810902feb2a5d51c793
* Remove conditional import for frozenset (available in Python 2.6+)Jason R. Coombs2014-09-181-4/+0
|
* Add indicators for PY2 vs. PY3Jason R. Coombs2014-09-181-0/+3
| | | | | --HG-- extra : rebase_source : 549637a713aba52da4c87f1a84436832eba82f1e
* Rename argument for consistencyJason R. Coombs2014-09-091-2/+2
| | | | | --HG-- extra : amend_source : 006c17fc01743ef7f646bf54a166cbaeae92ab75
* Move sister functions into proximityJason R. Coombs2014-09-091-9/+11
|
* Use MemoizedZipManifests for all operations. Fixes #240.5.7Jason R. Coombs2014-08-151-5/+1
|
* Normalize whitespace per more modern style conventions.Jason R. Coombs2014-07-051-41/+55
|
* Avoid trailing comments in pkg_resources.Jason R. Coombs2014-07-051-8/+15
| | | | | --HG-- extra : histedit_source : fba32276bb6acd7b5e44ff596407d10c94c618a9
* Remove commented codeJason R. Coombs2014-07-051-5/+0
| | | | | --HG-- extra : histedit_source : 7600ecd3914abc4767d4296f62b038a6397df673
* Move imports into headerJason R. Coombs2014-07-051-8/+6
| | | | | | --HG-- extra : amend_source : 371b48777dba5d8a4d62b5899944471752f830bd extra : histedit_source : 0739a1da7f11a5f6e348a34b203a9328d0bc0f22
* Make memoized zip manifests opt-in using the ↵Jason R. Coombs2014-07-051-1/+5
| | | | PKG_RESOURCES_CACHE_ZIP_MANIFESTS environment variable. Ref #154.
* Split MemoizedZipManifests from ZipManifests. Ref #154.Jason R. Coombs2014-07-051-15/+23
|
* Create zip_manifests as a class attribute rather than a globalJason R. Coombs2014-07-051-2/+2
| | | | | --HG-- extra : amend_source : 7754d23956c4157235dca41e90f05c29691078ee
* Use a namedtuple to avoid numeric indexesJason R. Coombs2014-06-141-3/+6
|
* Stat is never reusedJason R. Coombs2014-06-141-3/+3
|
* Use a more appropriate name and invoke .load directly.Jason R. Coombs2014-06-141-3/+2
|
* Remove documentation which seems irrelevant to this method.Jason R. Coombs2014-06-141-14/+2
|
* Use direct voiceJason R. Coombs2014-06-141-2/+2
|
* Rewrite construct/append loop with simple iterator.Jason R. Coombs2014-06-141-6/+8
|
* Implement 'build_manifest' as a classmethod. Rename to 'build' because ↵Jason R. Coombs2014-06-141-2/+3
| | | | Manifests is already in the classname.
* Expose a method describing what it does, and alias that to 'call'.Jason R. Coombs2014-06-141-1/+8
|
* Subclass dict rather that wrap and proxy.Jason R. Coombs2014-06-141-7/+4
|
* Remove excess whitespaceJason R. Coombs2014-06-141-1/+1
|
* Must add zipinfo as a propertyPhilip Thiem2014-05-171-0/+4
| | | | | --HG-- extra : rebase_source : 2ae5fa38bd5c9d37b44a010879f2b3a4867c0ee4
* caching the zip manifests Fixes #154Philip Thiem2014-04-161-29/+42
| | | | | --HG-- extra : rebase_source : 0f32792e01b6a1b746a1e07ffa4d7a85eeda1595
* Suppress arguments to __new__. ZipFile doesn't want them, and object ↵Jason R. Coombs2014-05-281-1/+1
| | | | | | | deprecates them. --HG-- extra : amend_source : e41a2567b4174ef2eff09f3aa3f2a7faf214e054
* Update ContextualZipFile to use a single constructorJason R. Coombs2014-05-171-6/+5
|