Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make memoized zip manifests opt-in using the ↵ | Jason R. Coombs | 2014-07-05 | 1 | -1/+5 |
| | | | | PKG_RESOURCES_CACHE_ZIP_MANIFESTS environment variable. Ref #154. | ||||
* | Split MemoizedZipManifests from ZipManifests. Ref #154. | Jason R. Coombs | 2014-07-05 | 1 | -15/+23 |
| | |||||
* | Create zip_manifests as a class attribute rather than a global | Jason R. Coombs | 2014-07-05 | 1 | -2/+2 |
| | | | | | --HG-- extra : amend_source : 7754d23956c4157235dca41e90f05c29691078ee | ||||
* | Use a namedtuple to avoid numeric indexes | Jason R. Coombs | 2014-06-14 | 1 | -3/+6 |
| | |||||
* | Stat is never reused | Jason R. Coombs | 2014-06-14 | 1 | -3/+3 |
| | |||||
* | Use a more appropriate name and invoke .load directly. | Jason R. Coombs | 2014-06-14 | 1 | -3/+2 |
| | |||||
* | Remove documentation which seems irrelevant to this method. | Jason R. Coombs | 2014-06-14 | 1 | -14/+2 |
| | |||||
* | Use direct voice | Jason R. Coombs | 2014-06-14 | 1 | -2/+2 |
| | |||||
* | Rewrite construct/append loop with simple iterator. | Jason R. Coombs | 2014-06-14 | 1 | -6/+8 |
| | |||||
* | Implement 'build_manifest' as a classmethod. Rename to 'build' because ↵ | Jason R. Coombs | 2014-06-14 | 1 | -2/+3 |
| | | | | Manifests is already in the classname. | ||||
* | Expose a method describing what it does, and alias that to 'call'. | Jason R. Coombs | 2014-06-14 | 1 | -1/+8 |
| | |||||
* | Subclass dict rather that wrap and proxy. | Jason R. Coombs | 2014-06-14 | 1 | -7/+4 |
| | |||||
* | Remove excess whitespace | Jason R. Coombs | 2014-06-14 | 1 | -1/+1 |
| | |||||
* | Must add zipinfo as a property | Philip Thiem | 2014-05-17 | 1 | -0/+4 |
| | | | | | --HG-- extra : rebase_source : 2ae5fa38bd5c9d37b44a010879f2b3a4867c0ee4 | ||||
* | caching the zip manifests Fixes #154 | Philip Thiem | 2014-04-16 | 1 | -29/+42 |
| | | | | | --HG-- extra : rebase_source : 0f32792e01b6a1b746a1e07ffa4d7a85eeda1595 | ||||
* | Suppress arguments to __new__. ZipFile doesn't want them, and object ↵ | Jason R. Coombs | 2014-05-28 | 1 | -1/+1 |
| | | | | | | | deprecates them. --HG-- extra : amend_source : e41a2567b4174ef2eff09f3aa3f2a7faf214e054 | ||||
* | Update ContextualZipFile to use a single constructor | Jason R. Coombs | 2014-05-17 | 1 | -6/+5 |
| | |||||
* | Use context managers in pkg_resources | Jason R. Coombs | 2014-05-17 | 1 | -10/+5 |
| | |||||
* | Use ContextualZipFile for context manager support | Jason R. Coombs | 2014-05-17 | 1 | -5/+22 |
| | |||||
* | Use context manager | Jason R. Coombs | 2014-05-17 | 1 | -4/+1 |
| | |||||
* | Use modern syntax for octal values | Jason R. Coombs | 2014-05-05 | 1 | -2/+2 |
| | |||||
* | Avoid trailing comments | Jason R. Coombs | 2014-05-05 | 1 | -47/+92 |
| | |||||
* | Fix spacing in __all__ | Jason R. Coombs | 2014-05-05 | 1 | -3/+4 |
| | |||||
* | Now this syntax fits nicely on one line | Jason R. Coombs | 2014-05-05 | 1 | -4/+1 |
| | |||||
* | Remove unnecessary list comprehension | Jason R. Coombs | 2014-05-05 | 1 | -2/+2 |
| | |||||
* | Reindent more long lines. Other minor syntax modernization. | Jason R. Coombs | 2014-05-05 | 1 | -21/+39 |
| | |||||
* | Reindent long lines in marker impl | Jason R. Coombs | 2014-05-05 | 1 | -12/+35 |
| | |||||
* | Use simpler syntax to get the same info | Jason R. Coombs | 2014-05-05 | 1 | -2/+2 |
| | |||||
* | Reindent long line | Jason R. Coombs | 2014-05-05 | 1 | -1/+2 |
| | |||||
* | Reformat for consistency | Jason R. Coombs | 2014-05-05 | 1 | -1/+8 |
| | |||||
* | Rewrite hashcmp using modern syntax | Jason R. Coombs | 2014-05-05 | 1 | -5/+6 |
| | |||||
* | Merge pkg_resources.Environment.__getitem__() code cleanup (pull request #47 ↵ | Jason R. Coombs | 2014-05-05 | 1 | -22/+10 |
|\ | | | | | | | and subsequent changes). | ||||
| * | Remove _sort_dists (unused) | Jason R. Coombs | 2014-05-05 | 1 | -6/+0 |
| | | |||||
| * | Correct sort order by using list.sort with support for 'key' and 'reverse'. ↵ | Jason R. Coombs | 2014-05-05 | 1 | -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. Coombs | 2014-05-04 | 1 | -49/+3 |
| | | |||||
| * | pkg_resources.Environment.__getitem__() code cleanup | Jurko Gospodnetić | 2014-04-15 | 1 | -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. Coombs | 2014-05-04 | 1 | -115/+115 |
|/ | | | | convention). | ||||
* | Don't eagerly import namespace packages. This was the big reason for | PJ Eby | 2006-04-14 | 1 | -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. Coombs | 2014-02-09 | 1 | -2/+0 |
| | |||||
* | Neglected to remove another reference to the global 'working_set' | Jason R. Coombs | 2014-02-09 | 1 | -1/+1 |
| | |||||
* | I checked this syntax, then failed to update the code before committing. | Jason R. Coombs | 2014-02-09 | 1 | -1/+1 |
| | |||||
* | Moved master working set construction into classmethods of WorkingSet. | Jason R. Coombs | 2014-02-09 | 1 | -27/+44 |
| | |||||
* | Simplify syntax of for loop | Jason R. Coombs | 2014-02-09 | 1 | -3/+3 |
| | |||||
* | Move comments | Jason R. Coombs | 2014-02-09 | 1 | -6/+13 |
| | |||||
* | More succinctly implement declare_state. | Jason R. Coombs | 2014-02-09 | 1 | -4/+4 |
| | |||||
* | Backed out changeset: ef949e6e6de1, which was itself a backout of the fix ↵ | Jason R. Coombs | 2014-01-27 | 1 | -10/+29 |
| | | | | for Distribute #323, so this backout restores that fix and also Fixes #141. | ||||
* | Use native decorator syntax in pkg_resources | Jason R. Coombs | 2014-01-06 | 1 | -28/+13 |
| | |||||
* | convert "find_in_zip" into "find_eggs_in_zip" to prevent it from walking whl ↵ | Marcus Smith | 2014-01-04 | 1 | -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 Arahesis | 2013-12-20 | 1 | -27/+27 |
| | | | | not containing parser module. | ||||
* | Remove compatibility functions for platform information. | Jason R. Coombs | 2013-12-08 | 1 | -20/+4 |
| |