Buildout找不到Pypi Plone附加组件依赖项的链接

时间:2018-07-07 09:36:07

标签: python pip plone pypi buildout

我正在尝试向Plone安装一些附件,但是buildout找不到依赖项的链接。

buildout.cnfg中包含以下内容

find-links +=
http://dist.plone.org/release/5.0.4
http://getpaid.googlecode.com/files/yoma.batching-0.2.2-getpaid.zip

index = https://pypi.python.org/simple/
eggs =
    Plone
    Pillow
    collective.addthis
    collective.cart.shopping
    Products.PloneGetPaid

我跑步时

bin/buildout

我明白了

Getting distribution for 'plone.recipe.zope2instance==4.4.0'.
warning: no previously-included files matching '*pyc' found anywhere in distribution
Got plone.recipe.zope2instance 4.4.0.
Installing instance.
Couldn't find index page for 'getpaid.yoma.batching' (maybe misspelled?)
Getting distribution for 'getpaid.yoma.batching'.
Couldn't find index page for 'getpaid.yoma.batching' (maybe misspelled?)
While:
  Installing instance.
  Getting distribution for 'getpaid.yoma.batching'.
Error: Couldn't find a distribution for 'getpaid.yoma.batching'.

我关注了Setup Guide 我所做的唯一区别是将index = https://pypi.python.org/simple/添加到buildout.cnfg并添加了plone.recipe.zope2instance = 4.4.0,它什么都没做,而我又添加了link到查找链接,但没有做任何事情任何一个


Plone
Pillow
collective.addthis
collective.cart.shopping

前3个安装,但在我添加index = https://pypi.python.org/simple/之前,只有Plone和Pillow会安装。原始错误为Here

1 个答案:

答案 0 :(得分:1)

getpaid.yoma.batching不在pypi.org上托管。

尝试搜索它,您将找不到任何结果: https://pypi.org/search/?q=getpaid.yoma.batching

您可以使用mr.developer将其作为开发鸡蛋添加到您的扩展物中:

getpaid.yoma.batching               = git https://github.com/collective/getpaid.yoma.batching.git

或者您可以在带有目录列表的自定义eggserver或apache / nginx上私下发布鸡蛋(使用查找链接)