summaryrefslogtreecommitdiff
path: root/setuptools/command/upload.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove "upload" and "register" commands.Paul Ganssle2019-11-021-187/+8
| | | | | | The upload and register commands were deprecated over a year ago, in July 2018 (PR GH-1410, discussed in issue GH-1381). It is time to actively remove them in favor of twine.
* Feed the hobgoblins (delint).Jason R. Coombs2018-12-291-2/+2
|
* import internal version of sixOleg Sharov2018-11-131-3/+3
|
* Remove bdist_rpm and bdist_dumb commentPaul Ganssle2018-11-121-8/+2
| | | | | | | This comment is not used anywhere and `platform.dist()` is deprecated. See CPython PR #10414: https://github.com/python/cpython/pull/10414 and bpo-35186: https://bugs.python.org/issue35186
* Fix show_response behavior on Python 2Paul Ganssle2018-11-071-3/+5
| | | | | | | The `upload.show_response` feature was not added until Python 3. Rather than backport it, it is now enabled only if supported. This also adds a "smoke test" for the feature.
* Fix bdist_rpm and bdist_dumb in upload_filePaul Ganssle2018-11-071-0/+1
| | | | | This fixes uploads when bdist_rpm or bdist_dumb are the command, both of which insert a comment about what platform they are built for.
* Fix gpg signature code in upload_filePaul Ganssle2018-11-071-0/+1
| | | | | | | | This fixes an issue where `distutils.spawn.spawn` was not available in the ported upload_file, which is only used when signing the data. This also adds a test that the gpg signature command is invoked and included in the uploaded data.
* Use get_metadata_version in upload_filePaul Ganssle2018-11-071-1/+1
| | | | | | | Previously this value was hard-coded to '1.0', which was inaccurate for many packages. Fixes #1381
* Add upload_file to setuptools.command.uploadPaul Ganssle2018-11-071-1/+146
|
* Deprecate upload and register commandsDustin Ingram2018-07-081-0/+11
|
* Infer the username using getpass.getuser() if no username is resolved from ↵Jason R. Coombs2017-02-021-0/+4
| | | | .pypirc.
* Simplify logic by eliminating retries in password prompt and returning ↵Jason R. Coombs2016-04-241-10/+4
| | | | results directly.
* Add carriage return for symmetryJason R. Coombs2016-04-241-1/+2
|
* Move import to headerJason R. Coombs2016-04-241-1/+1
|
* Prompt for password on upload.Brooks Kindle2016-04-231-6/+26
| | | | | | | | | | | | The upload command wasn't prompting for a password. If there was no password specified in ~/.pypirc, the upload command, python setup.py sdist upload would fail and raise a TypeError. The workaround for this was to use python setup.py sdist register upload since the register command does prompt for a password. This commit ensures that the upload command prompts for a password if not given one by ~/.pypirc or the register command.
* Override upload command to load passwords from keyring when available and ↵20.1Jason R. Coombs2016-02-111-0/+23
| | | | not otherwise specified.
* Remove upload command (no longer relevant on Python 2.6+Jason R. Coombs2013-11-241-183/+0
|
* Merge1.1.4Jason R. Coombs2013-09-071-1/+1
|\
| * Fix boolean test, incorrectly changed. Off-by-one errors are particularly ↵Jason R. Coombs2013-09-071-1/+1
| | | | | | | | ugly with booleans ;) Fixes #77
* | Correct AttributeError in upload command on Python 2.4. Fixes #76Jason R. Coombs2013-09-031-1/+1
| |
* | Remove unused variableJason R. Coombs2013-09-031-1/+0
|/
* Use isinstance for type comparisonJason R. Coombs2013-09-031-1/+1
|
* Remove import *Jason R. Coombs2013-09-031-4/+4
|
* Merge Python 3 native support from distributeJason R. Coombs2013-06-181-10/+9
|\ | | | | | | | | --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-2/+3
| |\ | | | | | | | | | | | | --HG-- branch : distribute
| * \ Merge with upstreamJason R. Coombs2013-06-181-1/+1
| |\ \ | | | | | | | | | | | | | | | | --HG-- branch : distribute
| * | | Changes to support 2.x and 3.x in the same codebase.Vinay Sajip2011-06-201-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 7d3608edee54a43789f0574d702fb839628b5071
* | | | Update some URLs.Arfrever Frehtes Taifersar Arahesis2013-06-111-1/+1
| |_|/ |/| |
* | | Fix some ResourceWarnings.Arfrever Frehtes Taifersar Arahesis2012-12-291-2/+3
| |/ |/| | | | | | | | | --HG-- branch : distribute extra : rebase_source : 31ac3f0135d8cfe0fabc274f1649d1c99eba2868
* | Fix typo in protocol_version. Thanks aclark!Jason R. Coombs2012-04-161-1/+1
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : ab90cfb5cae3189b8d0c71c43992bc0273a7587a
* | Reverting 1a1ab844f03e due to issue 250Guy Rozendorn (guyr@infinidat.com)2011-10-071-74/+2
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 0dca5e604c96429f07c4d7786d3a0991c42c129d
* | Revert 8d1cb51a01b6 because of issue #250Guy Rozendorn (guyr@infinidat.com)2011-10-071-4/+1
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 842a0d796e6e3cd5ecf312dd5c3ff2bb35d601a5
* | Issue #246guyroz2011-09-221-1/+3
| | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : e14172505ff8938f00f51de4f29a8fb2834ac933
* | Issue #244 raises ValueError in upload and register commands if using a ↵guyroz2011-09-201-2/+76
|/ | | | | | | | section without a repository value --HG-- branch : distribute extra : rebase_source : e57437a8ac03832ed8170c902996423a27235856
* Apply patch from pjenvey. Closes #3.Hanno Schlichting2009-07-161-1/+3
| | | | | | --HG-- branch : distribute extra : rebase_source : 3a61d0692c74559b140c179dcc5f4ac4905bb982
* Fix for http://bugs.python.org/setuptools/issue5 (backport from trunk)PJ Eby2008-08-211-1/+4
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4065945
* The default ``--index-url`` is now ``http://pypi.python.org/simple``, toPJ Eby2007-09-041-1/+1
| | | | | | | | | use the Python Package Index's new simpler (and faster!) REST API. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4057965
* Fix broken error message for socket error during upload.PJ Eby2006-07-101-1/+1
| | | | | | | | (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4050530
* Fix typoPJ Eby2006-03-291-1/+1
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4043431
* Added ``--identity`` option to ``upload`` command.PJ Eby2006-03-291-1/+10
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4043427
* Thanks to Richard Jones, we no longer need to fake out PyPI with a '.zip'PJ Eby2005-08-211-5/+2
| | | | | | | | extension for eggs. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041213
* Add informative comment when uploading eggs, to help distinguish them fromPJ Eby2005-07-091-1/+2
| | | | | | | | source archives. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041104
* Add upload support to setuptools, and make default downloads of setuptoolsPJ Eby2005-07-071-0/+171
come from PyPI/python.org rather than from telecommunity.com. Bump to version 0.5a7. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041090