康达骷髅失败

时间:2018-04-09 14:42:24

标签: conda python-wheel

我使用wheel在Pypi上发布了一个示例python包。我想使用this教程在我的Conda频道上发布该软件包。

但是当我跑步时: conda skeleton pypi rutgerhofstepythonpackage我收到以下错误:

Warning, the following versions were found for rutgerhofstepythonpackage
0.0.1
0.0.2
0.1.1
Using 0.1.1
Use --version to specify a different version.

Leaving build/test directories:
  Work:  /opt/anaconda3/conda-bld/skeleton_1523284768777/work
  Test:  /opt/anaconda3/conda-bld/skeleton_1523284768777/test_tmp
Leaving build/test environments:
  Test: source activate  /opt/anaconda3/conda-bld/skeleton_1523284768777/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho
  Build:        source activate  /opt/anaconda3/conda-bld/skeleton_1523284768777/_build_env


Error: No source urls found for rutgerhofstepythonpackage

1 个答案:

答案 0 :(得分:2)

Conda Skeleton需要源分发。将轮子上传到pypi是不够的。

除了构建分发 python setup.py bdist_wheel --universal 创建源分发 python setup.py sdist

上传到PyPi之前。我在尝试使用此tutorial

手动创建meta.yaml文件时想到了这一点