-
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
grayskullpip3 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.ymlfile inside the folder. Now tweak themeta.ymlfile inside the package folder. You can refermeta.ymlfile insideexamplefolder 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.
Add your Python Package to conda-forge
Athul R T
|
Jul 21, 2021
min read