summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bumped to 5.1 in preparation for next release.5.1Jason R. Coombs2014-06-152-2/+2
|
* necessary to explicitly invoke 'iter' in Python 2Jason R. Coombs2014-06-151-1/+1
|
* Use iterables to determine the best filename to use for changes.Jason R. Coombs2014-06-151-6/+6
|
* Use io.open for changes file as well to support UTF-8 encoding.Jason R. Coombs2014-06-151-2/+2
|
* Merge template loader refactoringJason R. Coombs2014-06-151-14/+16
|\
| * Moved filename resolution into _load_templateJason R. Coombs2014-06-151-7/+8
| | | | | | | | | | --HG-- extra : rebase_source : beb6c57dfd500432304518b9d313d1a98e2614b9
| * Extract embedded function as protected staticmethod.Jason R. Coombs2014-06-151-9/+10
| | | | | | | | | | --HG-- extra : rebase_source : 04b4807ccc7bf95d87797716f5d3488d420fa692
* | Update changelogJason R. Coombs2014-06-151-0/+8
| |
* | Merge issue202 changes. Fixes #202.Jason R. Coombs2014-06-151-41/+181
|\ \
| * | remove instead of fix stale zipimport._zip_directory_cache data on PyPyJurko Gospodnetić2014-06-151-25/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PyPy's zipimport._zip_directory_cache implementation does not support direct item assignment, thus breaking our attempts at silently updating the cached zip archive directory information behind the scene. As a workaround, when using PyPy, we fall back to simply clearing the stale cached information. --HG-- extra : amend_source : 991e30244754d8fac042da56ac4cf0ad1a0f50d5
| * | clear cached zip archive directory data when removing it from cacheJurko Gospodnetić2014-06-041-10/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an extra safety measure to avoid someone holding a reference to this cached data and using its content even after we know that the underlying zip archive has been removed and possibly even replaced. Change suggested by PJ Eby (pje on BitBucket) in a setuptools pull request #51 comment: https://bitbucket.org/pypa/setuptools/pull-request/51/diff#comment-2018183 --HG-- extra : rebase_source : 6de2309bc7446647749cfe78ab00e0230a07f92f
| * | extract function for updating zipimporter cache dataJurko Gospodnetić2014-06-041-14/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | _update_zipimporter_cache() extracted from _uncache() & _replace_zip_directory_cache_data(). Code cleanup done in preparation for adding a bit more detailed cache item clearing logic, so that would not require adding a separate function with yet more code duplication. --HG-- extra : rebase_source : e2e956e042c7cbfabe2c31ecc58a4f76c91f40aa
| * | extract duplicate codeJurko Gospodnetić2014-06-041-13/+18
| | | | | | | | | | | | | | | | | | | | | | | | Extracted code for collecting a list of zipimporter cache entries related to a given path into _collect_zipimporter_cache_entries(). --HG-- extra : rebase_source : 54ab881d794f95467e811511433a2cd31595339e
| * | update zipimporter cache clearing related code commentsJurko Gospodnetić2014-06-041-25/+31
| | | | | | | | | | | | | | | --HG-- extra : rebase_source : c8c77d96880275e34c1580991c2d70486b6d0e00
| * | fix clearing zipimport._zip_directory_cache on pypyJurko Gospodnetić2014-06-021-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pypy uses a custom zipimport._zip_directory_cache implementation class that does not support the complete dict interface, e.g. it does not support the dict.pop() method. For more detailed information see the following links: https://bitbucket.org/pypa/setuptools/issue/202/more-robust-zipimporter-cache-invalidation#comment-10495960 https://bitbucket.org/pypy/pypy/src/dd07756a34a41f674c0cacfbc8ae1d4cc9ea2ae4/pypy/module/zipimport/interp_zipimport.py#cl-99 --HG-- extra : rebase_source : 95cff7946455f0a4422d97eecab11164a9ddef10
| * | remove quick-fix comment for the solution to issue #169.Jurko Gospodnetić2014-05-081-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Although the original problematic use case when we are replacing a zipped egg distribution with another zipped egg distribution is now cleanly handled by fixing all existing zipimport.zipimporter loaders, this fix is still valid for cases when replacing a distribution with a non-zipped egg folder. --HG-- extra : source : efd6a8b82bafdbcfad1971b7e0f470e19191be1a
| * | fix issue202 - update existing zipimporters when replacing a zipped eggJurko Gospodnetić2014-05-081-30/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When replacing a zipped egg distribution with a different zipped egg, we make all existing zipimport.zipimporter loaders valid again instead of having to go hunting them down one by one. This is done by updating their shared zip directory information cache - zipimport._zip_directory_cache. Related to the following project issues: #169 - http://bitbucket.org/pypa/setuptools/issue/168 #202 - http://bitbucket.org/pypa/setuptools/issue/202 --HG-- extra : source : b60beb7792252a39f61d7fc0f58aa04c03ddaba2
* | | Merging integration tests from Doug HellmannJason R. Coombs2014-06-152-0/+106
|\ \ \
| * | | Mark failing tests as xfailJason R. Coombs2014-06-151-0/+3
| | | |
| * | | Remove unused variable and importJason R. Coombs2014-06-151-2/+0
| | | |
| * | | Activate more of the integration tests.Doug Hellmann2014-06-021-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic3cc25a02de71b94a08f0bf64e8d8b01b572a23b --HG-- extra : rebase_source : a49971d71570380f1ef51a88897d72328de337ed
| * | | update .gitignore from .hgignoreDoug Hellmann2014-06-021-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I6789ef2eda75748597c9ae76f2a5389140a9daab --HG-- extra : rebase_source : 48bd79fb7ee229a89a3796df14aadbcca8ace016
| * | | Add integration tests.Doug Hellmann2014-06-021-0/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set up integration tests that install packages to temporary directories. Change-Id: Iec90838fec961228fca24c0decc088de55303350 --HG-- extra : rebase_source : f5219f8411db4b79694a74659e22b0c0b1c771ab
| * | | Have git ignore files created by testsDoug Hellmann2014-06-021-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the tests are run, some packages are installed or created in the current directory. They should never be checked in, so add them to .gitignore. Change-Id: Ic7790ec85c9e2f0fc4bd06b492f75ea6c17ecda4 --HG-- extra : rebase_source : 7ad1502fd5d09d38f521a391e22af46cfce6ea4f
* | | | Ignore the tox folderMatthew Iversen2014-06-021-0/+1
| | | | | | | | | | | | | | | | | | | | --HG-- extra : source : f78ffe97964c6becbf42e946bf6504e8dc09f13b
* | | | Move tests.sh to a tox configMatthew Iversen2014-06-022-67/+5
| | | | | | | | | | | | | | | | | | | | --HG-- extra : source : 0d6a065483104cc9781a3ff72c168f059ec11036
* | | | Bumped to 5.0.3 in preparation for next release.Jason R. Coombs2014-06-152-2/+2
| | | |
* | | | Added tag 5.0.2 for changeset 95996b713722Jason R. Coombs2014-06-151-0/+1
| | | |
* | | | Update changelog5.0.2Jason R. Coombs2014-06-151-0/+6
| | | |
* | | | Include the script template files - fixes #220Monty Taylor2014-06-141-1/+2
| |_|/ |/| | | | | | | | | | | | | | | | | The rename of the script template files to be .tmpl put them into the realm of package data, rather than python files that would be bundled automatically. Include them specifically in package data so that they'll actually be installed.
* | | Bumped to 5.0.2 in preparation for next release.Jason R. Coombs2014-06-142-2/+2
| | |
* | | Added tag 5.0.1 for changeset 871bd7b4326fJason R. Coombs2014-06-141-0/+1
| | |
* | | Bumped to 5.0.1 in preparation for next release.5.0.1Jason R. Coombs2014-06-142-2/+2
| | |
* | | Rename script template to use .tmpl extensions.Jason R. Coombs2014-06-144-2/+9
| | | | | | | | | | | | | | | | | | --HG-- rename : setuptools/script template (dev).py => setuptools/script (dev).tmpl rename : setuptools/script template.py => setuptools/script.tmpl
* | | Bumped to 5.1 in preparation for next release.Jason R. Coombs2014-06-142-2/+2
| | |
* | | Added tag 5.0 for changeset 84d936fd18a9Jason R. Coombs2014-06-141-0/+1
| | |
* | | Bumped to 5.0 in preparation for next release.5.0Jason R. Coombs2014-06-142-2/+2
| | |
* | | Update changelogJason R. Coombs2014-06-141-3/+16
| | |
* | | Update changelogJason R. Coombs2014-06-141-0/+2
|/ /
* | Now that 2to3 is no longer run on the codebase, it's safe for the templates ↵Jason R. Coombs2014-06-143-12/+6
| | | | | | | | to be syntactically incorrect (prior to substitution).
* | Normalize whitespaceJason R. Coombs2014-06-141-13/+7
| |
* | Reorganize importsJason R. Coombs2014-06-141-5/+6
|/
* Bumped to 3.8.2 in preparation for next release.Jason R. Coombs2014-06-142-2/+2
|
* Added tag 3.8.1 for changeset 40744de29b84Jason R. Coombs2014-06-141-0/+1
|
* Bumped to 3.8.1 in preparation for next release.3.8.1Jason R. Coombs2014-06-142-2/+2
|
* Merge with the rest of 3.7.1Jason R. Coombs2014-06-142-0/+7
|\
| * Added tag 3.7.1 for changeset 9b422fc0b8b9Jason R. Coombs2014-06-021-0/+1
| |
| * Update changelog3.7.1Jason R. Coombs2014-06-021-0/+6
| |
| * Bumped to 3.7.1 in preparation for next release.Jason R. Coombs2014-06-022-2/+2
| |
* | Merge with 3.7.1 (Ref #213)Jason R. Coombs2014-06-141-3/+2
|\ \ | |/