I published a sample python package on Pypi using wheel. I would like to publish the package on my Conda channel using this tutorial.
However when I run:
conda skeleton pypi rutgerhofstepythonpackage
I get the following error:
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
Conda Skeleton Requires a source distribution. Uploading a wheel to pypi is not sufficient.
In addition to a build distribution
python setup.py bdist_wheel --universal
create a source distribution
python setup.py sdist
before uploading to PyPi. I figured this out while trying to manually create the meta.yaml file using this tutorial
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With