2014-09-01 33 views
7

是否可以向conda配方添加来自特定binstar频道的构建要求?conda构建要求:从特定频道添加软件包

例如,我想为ffmpeg-devel创建一个配方,它需要7zip。但似乎只有0123a频道的7za有效。我试图把trent/7zatrent 7za,但他们都没有工作。

package: 
name: ffmpeg-dev 
version: 2.3.3 

source: 
fn: ffmpeg-20140827-git-8c1b942-win64-dev.7z 
url: http://ffmpeg.zeranoe.com/builds/win64/dev/ffmpeg-20140827-git-8c1b942-win64-dev.7z [win] 
sha1: 1aaf45274229cba7fe723a4118ca243e77cb4587 

requirements: 
build: 
    - trent/7za 
    - ffmpeg-dev 
run: 
    - ffmpeg-dev 

about: 
home: https://www.ffmpeg.org/ 
license: "Various (see Copyright file from the aspell6-en source)" 
summary: "A complete, cross-platform solution to record, convert and stream au 

回答

6

这还不可能,但它是我们要添加的功能。现在,您需要在构建之前将通道添加到您的配置中,例如

conda config --add channels trent 
+0

是否存在跟踪此功能的问题? – astrojuanlu 2015-05-09 13:53:34

+0

https://github.com/conda/conda/issues/988 – asmeurer 2015-05-11 17:27:31

相关问题