summaryrefslogtreecommitdiff
path: root/pkg_resources.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Use context managers in pkg_resourcesJason R. Coombs2014-05-171-10/+5
|
* Use ContextualZipFile for context manager supportJason R. Coombs2014-05-171-5/+22
|
* Use context managerJason R. Coombs2014-05-171-4/+1
|
* Use modern syntax for octal valuesJason R. Coombs2014-05-051-2/+2
|
* Avoid trailing commentsJason R. Coombs2014-05-051-47/+92
|
* Fix spacing in __all__Jason R. Coombs2014-05-051-3/+4
|
* Now this syntax fits nicely on one lineJason R. Coombs2014-05-051-4/+1
|
* Remove unnecessary list comprehensionJason R. Coombs2014-05-051-2/+2
|
* Reindent more long lines. Other minor syntax modernization.Jason R. Coombs2014-05-051-21/+39
|
* Reindent long lines in marker implJason R. Coombs2014-05-051-12/+35
|
* Use simpler syntax to get the same infoJason R. Coombs2014-05-051-2/+2
|
* Reindent long lineJason R. Coombs2014-05-051-1/+2
|
* Reformat for consistencyJason R. Coombs2014-05-051-1/+8
|
* Rewrite hashcmp using modern syntaxJason R. Coombs2014-05-051-5/+6
|
* Merge pkg_resources.Environment.__getitem__() code cleanup (pull request #47 ↵Jason R. Coombs2014-05-051-22/+10
|\ | | | | | | and subsequent changes).
| * Remove _sort_dists (unused)Jason R. Coombs2014-05-051-6/+0
| |
| * Correct sort order by using list.sort with support for 'key' and 'reverse'. ↵Jason R. Coombs2014-05-051-2/+2
| | | | | | | | This method is less efficient, but allows the tests to pass.
| * Sort _distmap entries on insert. Obviates need for a cache.Jason R. Coombs2014-05-041-49/+3
| |
| * pkg_resources.Environment.__getitem__() code cleanupJurko Gospodnetić2014-04-151-12/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | Better commented the code, especially the result caching & lazy distribution list sorting strategies implemented there. Added several TODO comments indicating things to look into there in the future. General code cleanup: - stopped reusing the project_name variable for different purposes - added an assertion to detect corrupt distribution list caches --HG-- extra : source : 86ef8f59ef4e1fc253c155b9ca0856497455372d
* | Give comma-separated values a little room to breathe (use common style ↵Jason R. Coombs2014-05-041-115/+115
|/ | | | convention).
* Don't eagerly import namespace packages. This was the big reason forPJ Eby2006-04-141-1/+3
| | | | | | | | | branching to 0.7 now, as I wanted this wart gone before anything went into Python 2.5. But it's gone now, yay! --HG-- extra : source : f3c5c19842064dd4a497baef0171aac54464a484 extra : amend_source : 3f79e71eedfc5f37a1813967bb53cf9d92a11919
* Remove debug code, unintentionally committed.Jason R. Coombs2014-02-091-2/+0
|
* Neglected to remove another reference to the global 'working_set'Jason R. Coombs2014-02-091-1/+1
|
* I checked this syntax, then failed to update the code before committing.Jason R. Coombs2014-02-091-1/+1
|
* Moved master working set construction into classmethods of WorkingSet.Jason R. Coombs2014-02-091-27/+44
|
* Simplify syntax of for loopJason R. Coombs2014-02-091-3/+3
|
* Move commentsJason R. Coombs2014-02-091-6/+13
|
* More succinctly implement declare_state.Jason R. Coombs2014-02-091-4/+4
|
* Backed out changeset: ef949e6e6de1, which was itself a backout of the fix ↵Jason R. Coombs2014-01-271-10/+29
| | | | for Distribute #323, so this backout restores that fix and also Fixes #141.
* Use native decorator syntax in pkg_resourcesJason R. Coombs2014-01-061-28/+13
|
* convert "find_in_zip" into "find_eggs_in_zip" to prevent it from walking whl ↵Marcus Smith2014-01-041-3/+10
| | | | | | | | | | files this specifically prevents a failure when wheels are nested under an egg dir https://bitbucket.org/pypa/setuptools/issue/129 --HG-- branch : zip_path
* Fix NameError during installation with Python implementations (e.g. Jython) ↵Arfrever Frehtes Taifersar Arahesis2013-12-201-27/+27
| | | | not containing parser module.
* Remove compatibility functions for platform information.Jason R. Coombs2013-12-081-20/+4
|