如果我已经正确地理解了内部构建,使用setuptools和setuptools,杂乱无章地抓取HTML页面,希望能找到鸡蛋。这将导致以下问题,如果任何关键主机关闭,并且来自PyPi、自述文件等:
Download error on http://svn.plone.org/svn/collective/ZopeSkel/trunk: timed out -- Some packages may not be found!
Download error on http://svn.plone.org/svn/collective/ZopeSkel/trunk: timed out -- Some packages may not be found!
Download error on http://svn.plone.org/svn/collective/ZopeSkel/trunk: timed out -- Some packages may not be found!
Download error on http://svn.plone.org/svn/collective/ZopeSkel/trunk: timed out -- Some packages may not be found!
Download error on http://svn.plone.org/svn/collective/ZopeSkel/trunk: timed out -- Some packages may not be found!因为每个URL获取都会阻止构建进度,2)长时间运行的超时会使构建过程变得痛苦(耗时数小时)。
如何配置构建
设置的众所周知的URL。
发布于 2012-01-25 23:33:22
若要设置超时5秒,请使用bin/buildout -t 5
发布于 2012-01-25 21:48:05
在allow-hosts部分中设置buildout参数,例如:
[buildout]
allow-hosts =
*.python.org这迫使构建只能在PyPI上查看下载。
https://stackoverflow.com/questions/9005933
复制相似问题