Skip to content

Commit

Permalink
Merge pull request #1215 from restlessronin/conda-install-doc
Browse files Browse the repository at this point in the history
add conda install doc to end-to-end tutorial
  • Loading branch information
seeM authored Nov 12, 2022
2 parents 3f840f3 + 51138aa commit d9a1739
Showing 1 changed file with 24 additions and 1 deletion.
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

0 comments on commit d9a1739

Please sign in to comment.