我正在尝试将 Python 模块(wsamdata)构建为 conda 包。conda-build失败并显示错误消息(完整输出:https://pastebin.com/sKXNEcB6)
RuntimeError: Setuptools downloading is disabled in conda build.
Be sure to add all dependencies in the meta.yaml url=https://pypi.org/simple/click/
Run Code Online (Sandbox Code Playgroud)
click是一个依赖项,因此我将其包含在我的meta.yaml(见下文)中,所以看到这条消息我有点困惑。
package:
name: wsamdata
version: 0.6.0
source:
git_rev: v0.6.0
git_url: https://github.com/kinverarity1/wsamdata
requirements:
build:
- python
- pip
- setuptools
- numpy
- pandas
- geopandas
- sqlparse
- click
- cx_Oracle
- pillow
- sqlalchemy
- python-sa-gwdata>=0.5.4
- lasio
run:
- python
- numpy
- pandas
- geopandas …Run Code Online (Sandbox Code Playgroud)