Buildout找不到Pypi Plone附加组件依赖项的链接 [英] Buildout can't find the links for the dependecies of Pypi Plone add-ons

查看:87
本文介绍了Buildout找不到Pypi Plone附加组件依赖项的链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I'm trying to install some add-ons to Plone but buildout can't find the links for the dependencies.

buildout.cnfg中包含以下内容

I have the following in my 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'.

我遵循了设置指南 我所做的唯一区别是将index = https://pypi.python.org/simple/添加到buildout.cnfg并添加了没有执行任何操作的plone.recipe.zope2instance = 4.4.0,我添加了

I followed the Setup Guide The only differences I made were to add index = https://pypi.python.org/simple/to the buildout.cnfg and to add plone.recipe.zope2instance = 4.4.0 which didn't do anything and I added the link to find-links which didn't do anything either

Plone
Pillow
collective.addthis
collective.cart.shopping

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

The first 3 install but before I added index = https://pypi.python.org/simple/ only Plone and Pillow would install. The original error is Here

推荐答案

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

getpaid.yoma.batching is not hosted on pypi.org.

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

try to search for it and you won't find any results: https://pypi.org/search/?q=getpaid.yoma.batching

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

you can add it to your buildout as a development egg using mr.developer:

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

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

or you can make a private release of the egg on a custom eggserver or apache/nginx with directory listing (using find-links)

这篇关于Buildout找不到Pypi Plone附加组件依赖项的链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆