Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add conda installation docs to end-to-end tutorial #1215

Merged
merged 1 commit into from
Nov 12, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion nbs/tutorials/tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1371,13 +1371,36 @@
"To upload your project to pypi, just type `nbdev_pypi` in your project root directory. Once it's complete, a link to your project on pypi is displayed."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Upload to conda\n",
"\n",
"Similar to `pip install` support, we have provided an anaconda compliant installer to upload your project to [anaconda](https://anaconda.org). Once uploaded, your package can be installed by typing `conda install -c your_anaconda_username your-project`.\n",
"\n",
"You need to register at anaconda (fill out the form to `Sign Up`) which will create a username and password. You will then need to install the following packages\n",
"\n",
"```\n",
"pip install anaconda-client conda-build conda-verify\n",
"```\n",
"\n",
"Before running the anaconda uploader, you need to login to conda using the CLI command (you will be prompted to enter your username and password)\n",
"\n",
"```\n",
"anaconda login\n",
"```\n",
"\n",
"To upload to anaconda, just type `nbdev_conda` in your project root directory."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Upload to pypi and conda\n",
"\n",
"The command `nbdev_release` from the root of your nbdev repo will bump the version of your module and upload your project to both conda and pypi."
"The command `nbdev_release_both` from the root of your nbdev repo will upload your project to both conda and pypi."
]
},
{
Expand Down