summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Use compat's StringIO. Should fix bitbucket #213Matthew Iversen2014-06-021-3/+2
| | | | | | | https://bitbucket.org/pypa/setuptools/issue/213/regression-setuptools-37-installation --HG-- extra : source : 182f68beacf5e436609fb7d1064a18279cbbd24a
* Added tag 3.7 for changeset 49bd27eebf21Jason R. Coombs2014-06-011-0/+1
|
* Merge (preferring custom constructor for selecting the canonical ↵3.7Jason R. Coombs2014-05-280-0/+0
|\ | | | | | | implementation on modern Pythons
| * simplify ContextualZipFile implementation and avoid DeprecationWarningsJurko Gospodnetić2014-05-282-26/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ContextualZipFile tried to be smart and have its __new__ method return zipfile.ZipFile instances on Python versions supporting the zipfile.ZipFile context manager interface (i.e. only on Python [2.7, 3.0> & 3.2+) while on others it would return an actual ContextualZipFile instance. The new implementation seems much simpler and avoids a DeprecationWarning on Python [3.0, 3.2>. There zipFile.ZipFile's __new__ method implementation is actually inherited from object, and calling object.__new__ with extra parameters has been deprecated since Python 2.6 (it has even been converted to an error since Python 3.3). Notes on why there were no related problems in other Python versions: * Python versions prior to 2.5 were not affected because they did not yet deprecate passing extra parameters to object.__new__. * Python version 2.6 was not affected because there zipfile.ZipFile was implemented as an old-style class and therefore did not get its __new__ method called in the first place. * Python [2.7, 3.0> & 3.2+ - explained above. --HG-- extra : source : 9388cc525f1919672fb916b0e62f80ca581072b7
* | Suppress arguments to __new__. ZipFile doesn't want them, and object ↵Jason R. Coombs2014-05-282-2/+2
|/ | | | | | | deprecates them. --HG-- extra : amend_source : e41a2567b4174ef2eff09f3aa3f2a7faf214e054
* Added tag 3.7b1 for changeset 292dfca15d33Jason R. Coombs2014-05-271-0/+1
|
* Update changelog3.7b1Jason R. Coombs2014-05-271-0/+6
|
* Normalize whitespaceJason R. Coombs2014-05-231-17/+17
|
* Include the build launcher script in setuptools sdist. This helps address ↵Jason R. Coombs2014-05-211-0/+1
| | | | the requirement that all sources be included.
* Use context managerJason R. Coombs2014-05-171-25/+22
| | | | | --HG-- extra : amend_source : 5e98bee2918d9eeb073c8c896a849c5f68da6634
* Patch globals in a function. This technique bypasses the linter warnings ↵Jason R. Coombs2014-05-171-5/+16
| | | | about the names not being present, and allows for better documentation.
* Fix NameError (is this code ever used?).Jason R. Coombs2014-05-171-1/+2
| | | | | --HG-- extra : amend_source : 4361459883522692c4d70715135439819d981d7a
* Modernize syntaxJason R. Coombs2014-05-171-59/+16
| | | | | --HG-- extra : amend_source : eeaee0372ea8d1d39475a722234c03f6a0247722
* Use context manager for brevityJason R. Coombs2014-05-171-4/+1
|
* Use ContextualZipFile and contextlib.closing for archiveutilJason R. Coombs2014-05-171-8/+4
|
* Clean up whitespaceJason R. Coombs2014-05-171-47/+7
|
* Update ContextualZipFile to use a single constructorJason R. Coombs2014-05-172-12/+10
|
* Use context managers in pkg_resourcesJason R. Coombs2014-05-171-10/+5
|
* Use ContextualZipFile for context manager supportJason R. Coombs2014-05-171-5/+22
|
* Replace get_zip_class with a specialized constructor.Jason R. Coombs2014-05-171-9/+17
|
* Use context managerJason R. Coombs2014-05-171-4/+1
|
* Refactor testJason R. Coombs2014-05-171-2/+2
|
* Actually call close on exitJason R. Coombs2014-05-171-1/+1
|
* Use iterables for getting best downloaderJason R. Coombs2014-05-171-6/+4
|
* Move import to the topJason R. Coombs2014-05-171-4/+5
|
* Use context managers to reliably close filesJason R. Coombs2014-05-171-22/+10
|
* Restore Python 2 compatibility.Jason R. Coombs2014-05-171-1/+1
|
* Update requires.txt to match new, predictable order.Jason R. Coombs2014-05-171-2/+1
|
* Use StringIO to write out requirements. Use more common convention of adding ↵Jason R. Coombs2014-05-171-4/+12
| | | | newline to each line of the file, not just intervening lines.
* Write requirements in a deterministic order.Jason R. Coombs2014-05-171-1/+2
|
* Extract variableJason R. Coombs2014-05-171-1/+2
|
* Add whitespace for readability.Jason R. Coombs2014-05-171-1/+1
|
* Must create files for tests, else they are remoed from manifestsJason R. Coombs2014-05-171-0/+3
|
* Must create files for tests, else they are remoed from manifestsPhilip Thiem2014-05-171-6/+9
| | | | | --HG-- extra : rebase_source : c22b55cde69bbf7fc6a075bcd8797017797c6225
* est_manifest_is_written_with_utf8_encoding should use the filelist's append, ↵Philip Thiem2014-05-171-1/+1
| | | | | | | NOT filelist.files.append --HG-- extra : rebase_source : cdf0df0a11b96a60c29c10483579e6e043a7fcd1
* Remove unused importJason R. Coombs2014-05-171-1/+0
|
* Convert quiet to a context manager, so its comment is no longer complaining ↵Jason R. Coombs2014-05-171-45/+16
| | | | and to simplify the code.
* Use PY3 and PY2 throughoutJason R. Coombs2014-05-1710-43/+44
|
* Add a PY2 also.Jason R. Coombs2014-05-171-1/+2
|
* Compute PY3 directly and switch on that for clarity.Jason R. Coombs2014-05-171-4/+3
|
* with_statement is available naturally in Python 2.6Jason R. Coombs2014-05-172-7/+6
|
* Merge 4 out of 5 commits from Philip Thiem's unicode_try_2. Ref #193Jason R. Coombs2014-05-173-11/+74
|\
| * In corporate the old unicode with the spirit of what the FileList updating.Philip Thiem2014-05-171-6/+25
| | | | | | | | | | --HG-- extra : source : 199c917b8a0be209144878872269c3bd08936d6a
| * Starting a unicode_utils module.Philip Thiem2014-05-171-0/+41
| | | | | | | | | | --HG-- extra : source : 2e47fa11a272ed61f7c1bbf88aae27e81040fe93
| * with_statements and output utf-8 outputPhilip Thiem2014-05-171-6/+9
| | | | | | | | | | | | | | | | | | | | *Since py2.5 has been dropped, we can use future imports to make use of with statements. *End goal was to always decode to utf-8 in write_file on 307 --HG-- extra : rebase_source : 502ea7128f4e3b843b16c6d64d6d0b2ac56ce87d
| * Merge in test changes from previous tryPhilip Thiem2014-05-171-8/+16
| | | | | | | | | | --HG-- extra : rebase_source : 0dba3308549833dc7fc5b242e8ae3a4ec9f3c119
* | Backed out changeset: 1ceaffff2d9b (restoring b0a2fcc5275a). Ref #193Jason R. Coombs2014-05-151-2/+1
| | | | | | | | | | --HG-- extra : rebase_source : 5ca0514bbe3ec025094ea8f39921722d0ab3dd05
* | Merge changes from Pull Request 50Jason R. Coombs2014-05-172-9/+17
|\ \ | |/ |/|