summaryrefslogtreecommitdiff
path: root/setuptools/command/upload_docs.py
Commit message (Collapse)AuthorAgeFilesLines
* Provide forward compatibility for Warehouse as the default repository for ↵Jason R. Coombs2016-09-011-0/+5
| | | | the upload command.
* Use isinstance() instead of type() for a typecheck.stepshal2016-07-141-1/+1
|
* Return content type in _build_multipartJason R. Coombs2016-05-311-3/+4
|
* Replace _build_parts with map and flatten.Jason R. Coombs2016-05-311-10/+9
|
* Normalize indentJason R. Coombs2016-05-311-16/+16
|
* Extract method for _build_partJason R. Coombs2016-05-311-2/+7
|
* Extract method for _build_multipartJason R. Coombs2016-05-311-10/+16
|
* Extract method for _build_parts.Jason R. Coombs2016-05-311-21/+27
|
* Use bytes literals and simpler encoding logic when constructing multipart postJason R. Coombs2016-05-311-20/+14
|
* Use context for closing fileJason R. Coombs2016-05-311-3/+2
|
* Upload_docs should also resolve passwords from keyring same as upload command.Jason R. Coombs2016-02-121-1/+1
|
* Remove unused importJason R. Coombs2016-02-121-1/+0
|
* Modeling after Astropy's technique for bundling libraries, the imports are ↵Jason R. Coombs2015-12-311-8/+2
| | | | | | | now much cleaner. Thanks @embray. Ref #229. --HG-- branch : feature/issue-229
* Update vendoring technique to match that used for packaging. Ref #229.Jason R. Coombs2015-12-311-2/+8
| | | | | --HG-- branch : feature/issue-229
* Merge with master. Ref #229.Jason R. Coombs2015-12-311-2/+1
|\ | | | | | | | | --HG-- branch : feature/issue-229
| * Use except/as, now supported by Python 2.6Jason R. Coombs2015-01-041-2/+1
| |
* | Use six for Python 2 compatibilityJason R. Coombs2014-07-051-8/+10
|/ | | | | | --HG-- branch : feature/issue-229 extra : source : 7b1997ececc5772798ce33a0f8e77387cb55a977
* Fixed PEP 8 compliancy of the setuptools.command packageAlex Grönholm2014-06-181-10/+8
|
* Correct regression in upload_docs in syntax adjustment. Fixes #124.Jason R. Coombs2013-12-151-1/+1
|
* Use ternary operator to select encoding error behavior.Jason R. Coombs2013-11-271-4/+1
|
* Use PY3 indicatorJason R. Coombs2013-11-271-1/+1
|
* Fix pyflakes warningsJason R. Coombs2013-11-271-4/+3
|
* Use PY3 from compat moduleJason R. Coombs2013-11-271-4/+2
|
* upload module is no moreJason R. Coombs2013-11-271-5/+1
|
* Merged upstream changes.Vinay Sajip2013-06-191-1/+3
|\ | | | | | | | | --HG-- branch : single-codebase
| * Merge Python 3 native support from distributeJason R. Coombs2013-06-181-5/+7
| |\ | | | | | | | | | | | | --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-55/+73
| | |\ | | | | | | | | | | | | | | | | --HG-- branch : distribute
| | * | Changes to support 2.x and 3.x in the same codebase.Vinay Sajip2011-06-201-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 7d3608edee54a43789f0574d702fb839628b5071
* | | | Misc. updates following 2to3 checks.Vinay Sajip2013-06-171-2/+2
| | | | | | | | | | | | | | | | | | | | --HG-- branch : single-codebase
* | | | Initial commit. All tests pass on 2.7, 3.2 and 3.3, though there are some ↵Vinay Sajip2013-06-151-6/+12
|/ / / | | | | | | | | | | | | | | | | | | atexit errors in the multiprocessing module in 2.7/3.2 (seemingly unrelated to setuptools). --HG-- branch : single-codebase
* | | Update some URLs (packages.python.org -> pythonhosted.org).Arfrever Frehtes Taifersar Arahesis2013-06-111-2/+2
| |/ |/|
* | Fix some ResourceWarnings.Arfrever Frehtes Taifersar Arahesis2012-12-291-1/+3
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 31ac3f0135d8cfe0fabc274f1649d1c99eba2868
* | Rid unused import.Stefan H. Holek2012-11-121-1/+0
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 5d7f72cc77b6143cc4f36cb111a39c8af62f5b1e
* | Can't use 'surrogateescape' in upload_docs either.Stefan H. Holek2012-11-121-6/+2
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 6e262cc5a15434bda3543868b29ea9d69c51e238
* | Python 3.0 has no surrogateescape.stefan@epy2012-11-051-1/+1
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 83635f70b89fafb65f630947430b5c315cd9c80a
* | Miscellaneous updates to the upload_docs command.Stefan H. Holek2012-10-191-54/+74
|/ | | | | | | | | | | | a) upload_docs now runs build_sphinx to generate documentation. b) The temporary ZIP file is properly disposed of. c) Auth credentials now work under Python 3. Fixes #326. hg record cannot split hunks, thus the large commit. --HG-- branch : distribute extra : rebase_source : 76d81880a2aaeb5b94a1d2388cb838068e4f64e3
* make sure all tests passes on all python versions fixes #149Tarek Ziade2010-05-061-1/+5
| | | | | | --HG-- branch : distribute extra : rebase_source : 6288f4fcf65083b9d4ffb0ea8b35af44e699b4d5
* using a py3 marker instead of a try..exceptTarek Ziade2010-04-051-2/+5
| | | | | | --HG-- branch : distribute extra : rebase_source : e3ccffb120f1fdaddfa0746c0a592d6fbaf0dcd1
* proper fix to avoid a syntax error on 2.5Tarek Ziade2010-04-051-2/+2
| | | | | | --HG-- branch : distribute extra : rebase_source : 320da069dcb5d4c3ffb94e6e4f0e78a1bef8a305
* auth=b'Basic ' will throw a SyntaxError on 2.5Tarek Ziade2010-04-051-1/+1
| | | | | | --HG-- branch : distribute extra : rebase_source : cbac0260bc300fc00ce3517ecd96d5bedc5cd896
* Add some compatibility code for upload_docs so it will work in both"Brett Cannon ext:(%22)2010-01-171-18/+30
| | | | | | | | | | | | | Python 2 and Python 3. At this point in manual testing, Python 2.6 still works fine, but Python 3 is getting a 200 from the upload which is not what is wanted; a 301 is what is expected for a successful upload. But at least Python 3 is not throwing any more exceptions. --HG-- branch : distribute extra : rebase_source : 00020ec37fec743077e9614f8b0141aab41cc932
* Use more reasonable variable names."Brett Cannon ext:(%22)2010-01-171-4/+4
| | | | | | --HG-- branch : distribute extra : rebase_source : f05e05486f624a3234e19af2d5b108e80b82df10
* Rename variable 'http' to 'conn' as httplib is renamed http in Python"Brett Cannon ext:(%22)2010-01-171-10/+10
| | | | | | | | 3. --HG-- branch : distribute extra : rebase_source : 50d0da5b2e099c4bfe55ad81dce0f73edb4f994c
* Add back in a missing space between "Basic" and the base64-encoded"Brett Cannon ext:(%22)2010-01-171-2/+2
| | | | | | | | credentials for uploading docs. --HG-- branch : distribute extra : rebase_source : 0de13aa44d415d7afef4218190ef0742999630ff
* Change upload_docs so that its use of base64 does not fail under"Brett Cannon ext:(%22)2010-01-171-2/+8
| | | | | | | | | | | | | | Python 3. While base64 accepts a string in Python 2, the module in Python 3 only works with bytes. Changed the code so that base64.encodebytes() is used, else catch the AttributeError and use base64.encodestring(). Not fully tested yet as there is another failure farther down under under Python 3. --HG-- branch : distribute extra : rebase_source : 37078c416d98ee7f6dff1715731ab3f0c186b6cf
* Fixed empty folder issue during upload_docs.Alice Bevan-McGregor2009-11-151-1/+1
| | | | | | --HG-- branch : distribute extra : rebase_source : b1e08e29f75d14970b7d4d57692c2e0013449637
* Added a upload_docs command to upload project documentation to PyPI's ↵Jannis Leidel2009-10-071-0/+153
packages.python.org --HG-- branch : distribute extra : rebase_source : e8d62df101ab017b71ec9c923f64bc3494ba8979