Skip to content

Commit 975ce17

Browse files
authored
Merge pull request #1427 from russedavid/update-pypi-auth-documentation
Update pypi auth documentation in 'End to end walkthrough': tutorial.ipynb
2 parents cc84dfd + 4baa6d1 commit 975ce17

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nbs/tutorials/tutorial.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1356,12 +1356,12 @@
13561356
"cell_type": "markdown",
13571357
"metadata": {},
13581358
"source": [
1359-
"If you want people to be able to install your project by just typing `pip install your-project` then you need to upload it to [pypi](https://pypi.org/). The good news is, we've already created a fully pypi compliant installer for your project! So all you need to do is register at pypi (click \"Register\" on pypi) if you haven't previously done so, and then create a file called `~/.pypirc` with your login details. It should have these contents:\n",
1359+
"If you want people to be able to install your project by just typing `pip install your-project` then you need to upload it to [pypi](https://pypi.org/). The good news is, we've already created a fully pypi compliant installer for your project! So all you need to do is register at pypi (click \"Register\" on pypi) if you haven't previously done so, generate an API token (go to [Account settings](https://pypi.org/manage/account/) and click \"Add API token\") and then create a file called `~/.pypirc` with your token details. It should have these contents:\n",
13601360
"\n",
13611361
"```\n",
13621362
"[pypi]\n",
1363-
"username = your_pypi_username\n",
1364-
"password = your_pypi_password\n",
1363+
"username = __token__\n",
1364+
"password = your_pypi_token\n",
13651365
"```\n",
13661366
"\n",
13671367
"Another thing you will need is `twine`, so you should run once\n",

0 commit comments

Comments
 (0)