当使用conda build构建conda包并且我的代码使用纯python库时,我需要在meta.yaml文件的build/host/run中放置什么?

当使用conda build构建conda包并且我的代码使用纯python库时,我需要在meta.yaml文件的build/host/run中放置什么?,python,conda-build,Python,Conda Build,假设我有一个使用pandas、numpy和matplotlib的python包。如果我查看他们的meta.yaml文件,我会在“需求”部分看到很多依赖项。例如,像make这样的编译器。我是否还需要在我自己的meta.yaml包中命名build and host部分中的所有这些依赖项,或者如果我只写以下内容就足够了: Requirements: Host: - python 3.8 Build: - python 3.8 Run: - pandas - numpy - matplotlib

假设我有一个使用pandas、numpy和matplotlib的python包。如果我查看他们的meta.yaml文件,我会在“需求”部分看到很多依赖项。例如,像make这样的编译器。我是否还需要在我自己的meta.yaml包中命名build and host部分中的所有这些依赖项,或者如果我只写以下内容就足够了:

Requirements:
Host: 
- python 3.8
Build: 
- python 3.8
Run:
- pandas
- numpy
- matplotlib

您可以只指定包的python依赖项

下面是一个虚构的例子:

包:
姓名:foobar
版本:0.1
资料来源:
git_网址:https://github.com/greenfish/foobar
git_标签:v0.1
建造:
编号:0
诺奇:python
脚本:{{PYTHON}}-m pip安装--无deps-vv
要求:
主持人:
-蟒蛇
-皮普
运行:
-蟒蛇
-熊猫>=1.0
-努比
测试:
进口:
-福巴
关于:
主页:http://greenfish-foobar.org
许可证:BSD-3-1条款
许可证文件:license.txt
概述:此软件包适用于您的所有foobar需求