Add your Python Package to conda-forge
Tutorial to add your package to conda-forge.
-
Fork conda-recipes repostiory to your github account.
-
Clone the repo to your local system. Checkout to a new branch.
-
Open recipes folder and open terminal there.
-
Install
grayskull
pip3 install grayskull
-
Now run
grayskull pypi <package name>
The package should be in pypi package index.
-
Now you can see a new folder with your package name and
meta.yml
file inside the folder. Now tweak themeta.yml
file inside the package folder. You can refermeta.yml
file insideexample
folder for reference. -
Install conda-smithy if it isn’t installed in your system
conda install -n root -c conda-forge conda-smithy
-
Now open the newly created folder with your package name. Run
conda smithy recipe-lint .
The smithy will show lints, or errors in the meta.yml file. Fix them and update your repository.
-
Now create a PR to conda-recipes repo master branch with title
Adding <package name> recipe
. Wait till the maintainers review and approve it.