If you want to build conda packages for PyPI packages, the recommended way is to use conda skeleton pypi package
and use conda build package
on the recipe that it creates. To install the package, use conda install --use-local package
(here and elsewhere, package
is the name of the PyPI package you wish to install).
You will need to update the recipe each time the package is updated.
You can also use pip
to install these packages. There are two disadvantages: firstly, these packages won't be managed by conda at all. Secondly, these packages will not work if your default python version is different from the python version you are using in conda.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…