我有一个打包为conda和pypi软件包的python库:
我想将它们上传到anaconda cloud。
我已经设法通过以下方式在我的个人频道上上传了conda软件包:
anaconda upload mylibrary-1.0.0-py_0.tar.bz2
但是当我尝试上传Pypi软件包时,出现以下错误:
anaconda upload mylibrary-1.0.0.tar.gz
Using Anaconda API: https://api.anaconda.org Using "myusername" as upload username Processing 'upload mylibrary-1.0.0.tar.gz' Detecting file type... File type is "pypi" Extracting python package attributes for upload Creating package "mylibrary" [ERROR] You already have a conda package named 'mylibrary'. Use a different name for this python package.
是否可以使用相同的名称上传它们,所以我可以使用pip或conda进行安装?我看到的唯一解决方案是将Pypi文件打包为其他名称,这会使用户感到困惑。