I'm installing an egg with easy_install
which requires ruledispatch
. It isn't available in PyPI, and when I use PEAK's version it FTBFS. There is, however, a python-dispatch
package which provides the same functionality as ruledispatch. How can I get easy_install
to stop trying to install ruledispatch, and to allow it to recognize that ruledispatch is already installed as python-ruledispatch?
我正在使用easy_install安装一个鸡蛋,需要使用ruledispatch。它在PyPI中不可用,当我使用PEAK的版本时它就是FTBFS。但是,有一个python-dispatch包提供与ruledispatch相同的功能。如何让easy_install停止尝试安装ruledispatch,并允许它识别已经安装了ruledispatch作为python-ruledispatch?
Running Debian etch with Python 2.4
使用Python 2.4运行Debian蚀刻
1 个解决方案
#1
The path least fiddly is likely:
最不利的路径可能是:
- easy_install --no-deps
- Look at the egginfo of what you just installed
- Install all dependencies except ruledispatch by hand
- Optionally, prod the people responsible to list their stuff on pypi / not have dependencies that the package installer can't possibly satisfy / use dependency_links / use a custom package index / something.
查看刚安装的egginfo
手动安装除ruledispatch之外的所有依赖项
可选地,促使负责人在pypi上列出他们的东西/不具有包安装程序不可能满足的依赖性/使用dependency_links /使用自定义包索引/某事。
If the python-ruledispatch from the .deb is the same as the egg depends on or compatible, this should work.
如果.deb中的python-ruledispatch与egg依赖或兼容,那么这应该可行。
#1
The path least fiddly is likely:
最不利的路径可能是:
- easy_install --no-deps
- Look at the egginfo of what you just installed
- Install all dependencies except ruledispatch by hand
- Optionally, prod the people responsible to list their stuff on pypi / not have dependencies that the package installer can't possibly satisfy / use dependency_links / use a custom package index / something.
查看刚安装的egginfo
手动安装除ruledispatch之外的所有依赖项
可选地,促使负责人在pypi上列出他们的东西/不具有包安装程序不可能满足的依赖性/使用dependency_links /使用自定义包索引/某事。
If the python-ruledispatch from the .deb is the same as the egg depends on or compatible, this should work.
如果.deb中的python-ruledispatch与egg依赖或兼容,那么这应该可行。