是否可以将来自特定binstar频道的构建要求添加到conda配方中?
例如,我想为ffmpeg-devel创建配方,需要7zip。但似乎只有7zatrent
频道有效。我尝试放置trent/7za
,trent 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
目前尚不可能,但这是我们要添加的功能。目前,您需要在构建之前将通道添加到配置中,例如
conda config --add channels trent
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句