使用twine进行Python pkg上传还有优势吗?
Python中的使用twine进行Python pkg上传还有优势吗?,python,python-2.7,twine,Python,Python 2.7,Twine,Python中的twine包用于使用HTTPs将内容上载到PyPi 我已经在使用Python2.7.9了,twinereadme说,“直到最近Python2.7.9才停止使用HTTP。” 这是否意味着当我上传python setup.py时,连接已经安全了?如果答案是肯定的,那么twine是否为上传提供了额外的安全优势 $ python --version Python 2.7.10 $ cat /Library/Frameworks/Python.framework/Versions/2.7
twine
包用于使用HTTPs将内容上载到PyPi
我已经在使用Python2.7.9了,twine
readme说,“直到最近Python2.7.9才停止使用HTTP。”
这是否意味着当我上传python setup.py
时,连接已经安全了?如果答案是肯定的,那么twine
是否为上传提供了额外的安全优势
$ python --version
Python 2.7.10
$ cat /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/config.py
class PyPIRCCommand(Command):
"""Base command that knows how to handle the .pypirc file
"""
DEFAULT_REPOSITORY = 'https://pypi.python.org/pypi'
$ cat /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/upload.py
repository = self.repository or self.DEFAULT_REPOSITORY
...
request = Request(self.repository, data=body, headers=headers)
所以我想这是真的,distutils现在真的使用HTTPS
但twine还允许您在上传包之前使用GPG密钥对包进行签名