aboutsummaryrefslogtreecommitdiffstats
path: root/pkg_resources.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge Python 3 native support from distributeJason R. Coombs2013-06-181-20/+51
|\ | | | | | | | | --HG-- rename : tests/test_distribute_setup.py => tests/test_ez_setup.py
| * Merge Vinay Sajip's unified Python 2/3 support from distribute 3Jason R. Coombs2013-06-181-53/+97
| |\ | | | | | | | | | | | | --HG-- branch : distribute
| * | Post-merge fixes for Python 3.Vinay Sajip2012-10-101-1/+1
| | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : source : 6b9041dea7b9197f6ea1fb993d7a05dd4f7c580d
| * | Merge with upstreamJason R. Coombs2013-06-181-7/+105
| |\ \ | | | | | | | | | | | | | | | | --HG-- branch : distribute
| * | | Fixed execfile in pkg_resources.Vinay Sajip2011-06-211-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 3148f97cc98edf62e982cb14b4b90527c4fc11fb
| * | | Changes to support 2.x and 3.x in the same codebase.Vinay Sajip2011-06-201-21/+46
| | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 7d3608edee54a43789f0574d702fb839628b5071
* | | | Use new sysconfig module with Python 2.7 or >=3.2.Arfrever Frehtes Taifersar Arahesis2013-06-121-2/+3
| | | |
* | | | Prefer local implementation to markerlib implementation as markerlib ↵Jason R. Coombs2013-06-091-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | implementation is not as complete. --HG-- extra : histedit_source : 3855347db7042dc34032b6bfa7b4c4e5239c1c3f
* | | | Translate NameError into SyntaxError to meet prescribed APIJason R. Coombs2013-06-081-1/+6
| | | | | | | | | | | | | | | | | | | | --HG-- extra : histedit_source : 6ed89212bff75512c980d3fc0f98117510f3b576
* | | | Merge legacy evaluation as a fallback with markerlib-based evaluation of ↵Jason R. Coombs2013-06-081-1/+100
|\ \ \ \ | | | | | | | | | | | | | | | environment markers. Fixes #14
| * | | | Expand documentation on evaluate_marker and indicate its legacy status.Jason R. Coombs2013-06-081-2/+11
| | | | |
* | | | | Use markerlib for markers in 'extras'Jason R. Coombs2013-06-081-79/+9
|/ / / /
* | | | Resave with excess whitespace removedJason R. Coombs2013-06-071-10/+10
| | | |
* | | | Merge changes from distribute 0.6.41Jason R. Coombs2013-05-241-8/+38
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | --HG-- rename : distribute_setup.py => ez_setup.py
| * | | 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
* | | | Merged latest changes from setuptools-0.6 branchJason R. Coombs2013-05-131-15/+137
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | --HG-- rename : doc/formats.txt => docs/formats.txt
| * | | | Backport experimental environment marker support from the trunkpje2013-05-041-15/+137
| | | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : setuptools-0.6
| * | | | Backport fixes for issues 16 & 23 from trunkPJ Eby2009-10-121-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4075386
| * | | | Major updates and fixes include:PJ Eby2009-10-121-34/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix for the Python 2.6.3 build_ext API change * Support for the most recent Sourceforge download link insanity * Support for SVN 1.6 * Stop crashing on certain types of HTTP error * Stop re-trying URLs that already failed retrieval once * Fixes for various dependency management problems such as looping builds, re-downloading packages already present on sys.path (but not in a registered "site" directory), and randomly preferring local -f packages over local installed packages * Prevent lots of spurious "already imported from another path" warnings (e.g. when pkg_resources is imported late) * Ensure C libraries (as opposed to extensions) are also built when doing bdist_egg Other changes: * Misc. documentation fixes * Improved Jython support * Fewer warnings under Python 2.6+ * Warn when 'packages' uses paths instead of package names (because it causes other problems, like spurious "already imported" warnings) * Stop using /usr/bin/sw_vers on Mac OS (replaced w/'platform' module calls) Note: This is NOT a merge from Distribute; upon review, many of the tracker-submitted patches used as a basis for forking were incorrect, incomplete, introduced new bugs, or were not addressing the root causes. (E.g., one of the changes in this patch fixes three superficially unrelated issues in the setuptools bug tracker.) Careful review will be required if you want to merge this work back into Distribute. --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4075385
* | | | | Merge with Distribute 0.6.39Jason R. Coombs2013-05-131-20/+36
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | --HG-- rename : distribute_setup.py => ez_setup.py
| * | | | 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
* | | | | Merge pkg_resourcesJason R. Coombs2013-03-191-17/+20
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : Setuptools-Distribute merge
| * | | | | Remove newlines to simplify mergeJason R. Coombs2013-03-191-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : Setuptools-Distribute merge extra : source : 78b5054a6eefc60e57c76e14d968286fa8aa19c6
| * | | | | Copied changes from setuptools-0.6 for pkg_resources.pyJason R. Coombs2013-03-191-36/+77
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : Setuptools-Distribute merge extra : source : ead8ad8c5e5f750d70b7f040f61c0664a2128c1e
* | | | | Remove special Distribute handling from pkg_resources moduleJason R. Coombs2013-03-031-59/+5
| |/ / / |/| | | | | | | | | | | | | | | | | | | --HG-- branch : Setuptools-Distribute merge extra : source : 57da23339d58d215d98d8877a0e13103f4a8c9b9
* | | | 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