Skip to content

Commit ea6aed7

Browse files
committed
Fix remaining typos from the packaging episode
Move the demo admonition up
1 parent cc4dd48 commit ea6aed7

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

content/packaging.rst

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ test before trying to upload a package to PyPI or test-PyPI
134134

135135

136136

137-
Exercises 1
138-
-----------
137+
Exercise 1
138+
----------
139139

140140
.. challenge:: Packaging-1
141141

@@ -163,6 +163,11 @@ Exercises 1
163163
Sharing packages via PyPI
164164
-------------------------
165165

166+
.. demo::
167+
168+
Most people will watch and observe this, due to the speed with which we will
169+
move.
170+
166171
Once we are able to pip-install the example package locally, we are ready for
167172
upload.
168173

@@ -214,14 +219,15 @@ And use twine to upload the distribution files to test-PyPI::
214219

215220

216221
#. Under **Token name** write something memorable.
217-
It should remind you the *purpose* such as
218-
or the *name of the computer* so you can delete it later.
222+
It should remind you the *purpose*
223+
or the *name of the computer*, such that when you are done
224+
using it, you can safely delete it.
219225
#. Under **Scope** select ``Entire account (all projects)``.
220226
#. Click on **Create token**.
221227
#. Click on **Copy token** once a long string which starts
222228
with ``pypi-`` is generated.
223229

224-
Paste that token back into terminal where ``twine upload ...`` is running and press ENTER.
230+
Paste that token back into the terminal where ``twine upload ...`` is running and press ENTER.
225231

226232
Once this is done, create yet another virtual environment and try to install from test-PyPI (adapt ``myname``).
227233

@@ -273,10 +279,6 @@ If you upload packages to PyPI or test PyPI often you can create an API token an
273279
Building a conda package and share it
274280
-------------------------------------
275281

276-
.. demo::
277-
278-
Most people will watch and observe this, due to speed which we will
279-
move.
280282

281283
.. callout:: Prerequisites
282284

0 commit comments

Comments
 (0)