summaryrefslogtreecommitdiff
path: root/pkg_resources.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge second phase of fix for #3750.6.46Jason R. Coombs2013-06-291-0/+26
|\ | | | | | | | | --HG-- branch : distribute
| * Also protect against group-writable filesJason R. Coombs2013-06-241-2/+3
| | | | | | | | | | --HG-- branch : distribute
| * Issue a UserWarning when the egg cache directory is likely to be vulnerable ↵Jason R. Coombs2013-06-211-0/+25
| | | | | | | | | | | | | | to security issues per #375. --HG-- branch : distribute
* | Correct reference to self.loader.Jason R. Coombs2013-05-241-2/+2
| | | | | | | | | | --HG-- branch : distribute
* | Reapply with unix file endings, to make a better diffPhilip Thiem2013-02-161-8/+38
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 8fdc661ab1dd38af6d692df15ff65392860a60d1
* | Backout the pkg_resources.py fixPhilip Thiem2013-02-161-41/+10
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : d144d2afc763c9ed6420d32bad3015075d265226
* | Seems to be an issue with using ZipFile as a context on python 3.1Philip Thiem2013-02-161-1/+5
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : d81c62a1c2efbeefc848979e07b16506213c0949
* | minor cleanupsPhilip Thiem2013-02-051-3/+4
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : a872a0ee0700a60994fea3417193998d9e9456a3
* | This changes distribute to use zipfile for obtaining a manifest of zip filesPhilip Thiem2013-02-021-11/+37
|/ | | | | | | | | | instead of zipimpot._zip_directory_cache. As I don't see any place that the cache is being clear, should in effect remove the zipimport private variable dependency --HG-- branch : distribute extra : rebase_source : 275dd3d5a2f55dba541f7f12a1bf8ee7c3465825
* Fix AttributeError on underscore-prefixed method name.Jason R. Coombs2013-05-121-1/+1
| | | | | | --HG-- branch : distribute extra : rebase_source : 8ceb2c2f067a60225bb83817a8584d93f489a3d0
* Fix for yet unpublished issue to ensure that get_resource_filename always ↵Jason R. Coombs2013-05-111-1/+8
| | | | | | | | re-extracts the content of a temporary filename if it does not match that of the source content. --HG-- branch : distribute extra : rebase_source : 5605ee258010cde1237db058b770c62264c215e2
* Extract method to determine if a temporary file is current.Jason R. Coombs2013-05-111-10/+15
| | | | | | --HG-- branch : distribute extra : rebase_source : ec2c1860f0ce9abbc3ea999aa54304ea9cc6ecd7
* Extract static method for calculating size and timestamp on a zip resourceJason R. Coombs2013-05-111-7/+11
| | | | | | --HG-- branch : distribute extra : rebase_source : 3acd099bb90d9abf4d3b265946e0c59b8edcae6e
* Verified that not isinstance(IOError(), os.error), so there's no value in ↵Jason R. Coombs2013-05-111-3/+3
| | | | | | | | this statement being in the try block. --HG-- branch : distribute extra : rebase_source : 79dc86f2251503336feaa3d3f99c744d0ea45887
* Backed out changeset: d0a8d1a83053Jason R. Coombs2013-02-161-1/+3
| | | | | | | | In the discussion in #278, it became clear that the deviance in behavior from setuptools is problemmatic. For compatibility, defer to the setuptools version scheme as specifically intended. --HG-- branch : distribute extra : rebase_source : 1d5cc8c216f974b247e2dc84d8d40c868d6d3639
* Close issue #341: 0.6.33 fails to build under python 2.40.6.34Tres Seaver2012-12-301-5/+6
| | | | | | --HG-- branch : distribute extra : rebase_source : 065aad71143a72cb6abd3064e0e947fc4568422f
* Harden fix for issue #341 against exceptins.Tres Seaver2012-12-291-6/+8
| | | | | | --HG-- branch : distribute extra : rebase_source : 5cb7f22523a741e678b03a699f0ef09f09ed8070
* Issue #341: Fix a ResourceWarning.Arfrever Frehtes Taifersar Arahesis2012-12-291-1/+3
| | | | | | --HG-- branch : distribute extra : rebase_source : 63fc40de80b49769d8463e04c1590ea4b1e751fc
* Clean handling of _frozen_importlib / importlib._bootstrap.Arfrever Frehtes Taifersar Arahesis2012-12-181-20/+12
| | | | | | --HG-- branch : distribute extra : rebase_source : 52fd775f637dfa40c401ef590708ffeaf47fd3a9
* Update changelog and add comment to registering of SourceFileLoaderJason R. Coombs2012-12-171-0/+3
| | | | | | --HG-- branch : distribute extra : rebase_source : 2701f50b3375f9c2f2378ff22f274aade0b03107
* Fix issue with version detectionJason R. Coombs2012-12-171-1/+1
| | | | | | --HG-- branch : distribute extra : rebase_source : 7e9dfc000ca44eaed1054d72144408530ec49741
* Resave with excess whitespace removedJason R. Coombs2012-12-171-7/+7
| | | | | | --HG-- branch : distribute extra : rebase_source : 5ed95bbd6e5742422dba402aa88707287be44d2e
* Minimize impact of namespace package support for CPython 3.3.Dirkjan Ochtman2012-12-171-5/+1
| | | | | | | | | This solves a regression with an admittedly obscure use case involving Mercurial's demandimport implementation, but it also seems like neater code. --HG-- branch : distribute extra : rebase_source : 10fb05d0391607140ced288a2c134f4463eddf5a
* Backed out changeset: 98a9f9dcce0e; Fixes #335.Jason R. Coombs2012-11-261-41/+19
| | | | | | --HG-- branch : distribute extra : rebase_source : 3f4ff1c880688e6dd72d2fa8fab3c07e7f486a7e
* MergeJason R. Coombs2012-11-241-19/+41
|\ | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : c0f43d4688762927683ef5f0d4a3e879190dae72
| * Fixes and adds a regression test for #323; required adding some new keyword ↵Erik Bray2012-09-111-19/+41
| | | | | | | | | | | | | | | | arguments to existing pkg_resources methods. Also had to update how __path__ is handled for namespace packages to ensure that when a new egg distribution containing a namespace package is placed on sys.path, the entries in __path__ are in the same order they would have been in had that egg been on the path when pkg_resources was first imported --HG-- branch : distribute extra : rebase_source : 63a120c9397f6619d2768ec982e5c6b664c97e40
* | move Python < 2.6 fallback into _markerlibDaniel Holth2012-08-271-10/+1
|/ | | | | | --HG-- branch : distribute extra : rebase_source : 901265cef35594b3ab20ae4ba3b270a5da6f9ea7
* impractical to support _markerlib on Python < 2.6 (no compile(ast))Daniel Holth2012-08-271-3/+3
| | | | | | --HG-- branch : distribute extra : rebase_source : c5019294d83fab26bc393fe72f086d0b13b1e337
* Python < 2.5 doesn't support tuple arguments to .endswith()Daniel Holth2012-08-261-1/+1
| | | | | | --HG-- branch : distribute extra : rebase_source : c22d5cf00d0f5f053104ff81e60be4701ca27ad8
* add markerlib as _markerlibDaniel Holth2012-08-251-2/+2
| | | | | | --HG-- branch : distribute extra : rebase_source : b9d8fa81db6c6fc3d89db54a70778eb3e8396e17
* use frozenset; 'empty marker' heuristicDaniel Holth2012-07-231-3/+4
| | | | | | --HG-- branch : distribute extra : rebase_source : ebe5e94ea2a4dbea2754bef5d056f65f85fe6423
* test .dist-info distributionsDaniel Holth2012-07-071-15/+1
| | | | | | --HG-- branch : distribute extra : rebase_source : ea6870d73aa69f2deacc50beb2e257d3c21073e4
* handle missing provides-extra or requires-distDaniel Holth2012-06-301-2/+2
| | | | | | --HG-- branch : distribute extra : rebase_source : 99392449586f9f299abfd1627ba60b9752caf26d
* update docstringDaniel Holth2012-06-301-2/+3
| | | | | | --HG-- branch : distribute extra : rebase_source : ee1bf5fd6c851fa3d9c87c1132f0864a811f09e5
* simplify Requires-Dist pre-parserDaniel Holth2012-06-301-20/+9
| | | | | | --HG-- branch : distribute extra : rebase_source : 10900b24f80bc412881812fcea4e54e473a86068
* add missing == to prefix-less Requires-Dist version specifiersDaniel Holth2012-06-291-6/+31
| | | | | | --HG-- branch : distribute extra : rebase_source : 131e2f27792688da5dd1f8bf984939ab51403a64
* use markerlibDaniel Holth2012-06-291-1/+1
| | | | | | --HG-- branch : distribute extra : rebase_source : a684fafb1aeb44954bdb8604a77fcc8d1549648c
* implement environment markersDaniel Holth2012-06-291-10/+36
| | | | | | --HG-- branch : distribute extra : rebase_source : 16af7be95f787ab5de573388270b97cda6c9cea7
* find .dist-info distributions as wellDaniel Holth2012-06-221-4/+57
| | | | | | --HG-- branch : distribute extra : rebase_source : 9ec6872c031166c66743ee87d7018161aa415fb1
* Fix support for namespace packages with CPython 3.3.Arfrever Frehtes Taifersar Arahesis2012-05-021-0/+8
| | | | | | --HG-- branch : distribute extra : rebase_source : 3d6c103fefe30d3115dacca58c1a08fd26d0d8fa
* Add support for CPython 3.3.Arfrever Frehtes Taifersar Arahesis2012-05-021-0/+16
| | | | | | --HG-- branch : distribute extra : rebase_source : b2b90c6df17a19e6e9b876f13a9c3239e41fa141
* workaround a cache issue refers #258Tarek Ziade2011-11-171-0/+4
| | | | | | --HG-- branch : distribute extra : rebase_source : c8897b0541098e34f4347621f54ed79ef32be229
* Issue #208: fixing parse_version and post-release tagsguyroz2011-09-171-3/+1
| | | | | | | | including tests --HG-- branch : distribute extra : rebase_source : f953ba35614c338161249d6d74c7cda08acdf32b
* Update the child's __path__ in declare_namespace, even if the parent isAurelien Bompard2011-06-011-4/+4
| | | | | | | | already a namespace package -- fixes #204 --HG-- branch : distribute extra : rebase_source : 48e1ed2309ae053b8987a664231e72c35a0bbb40
* Adds some missing bits to the sandbox fix--need to actually save/restore the ↵Erik Bray2011-05-201-0/+1
| | | | | | | | pkg_resources state. --HG-- branch : distribute extra : rebase_source : 961ca56f30a6aabb5d24eff3cabb527d1be93ae4
* save the working set stateTarek Ziade2011-05-201-10/+46
| | | | | | --HG-- branch : distribute extra : rebase_source : 001d8f0f0c467b664751fffc42b1b1c344654e93
* Don't try to import the parent of a namespace package in declare_namespace ↵Aurelien Bompard2011-05-171-5/+6
| | | | | | | | -- fixes #204 --HG-- branch : distribute extra : rebase_source : 1644e937b2d0b2fae58e27740d0fddfe082586cd
* avoiding name collisions when looking for md5 in fragmentTarek Ziade2010-05-251-1/+1
| | | | | | --HG-- branch : distribute extra : rebase_source : 8b9469b9b9b4d8769ee5e6655aa1b75c207905b8
* using urlparse to extract the fragmentTarek Ziade2010-05-251-3/+10
| | | | | | --HG-- branch : distribute extra : rebase_source : a377df45aa49dd8eb33c52875b590401c5ddbef8
* fixed issue 163 : don't include md5 when comparing two distributions, and scanChristophe Combelles2010-05-191-2/+5
| | | | | | | | index links before external page links. --HG-- branch : distribute extra : rebase_source : d190057280e7cb27317eb4aa40e75f1c851ed6e5