You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Delete `dynamic = ["version"]`: This sets up dynamic versioning based on tags stored in your git commit history. We will walk through implementing this in a later lesson.
382
-
2. Add `version = 0.1.0` in the place of `dynamic = ["version"]` which you just deleted. This sets up manual versioning.
382
+
2. Add `version = "0.1.0"` in the place of `dynamic = ["version"]` which you just deleted. This sets up manual versioning.
383
383
3. Fill in the description if it doesn't already exist.
384
384
385
385
```toml
386
386
[project]
387
387
name = "pyospackage"
388
388
# dynamic = ["version"] <- replace this...
389
-
version = 0.1 # with this
389
+
version = "0.1" # with this
390
390
description = 'A simple Python package that adds numbers together' # Add a description of your package if that is not already populated
391
391
```
392
392
@@ -417,8 +417,8 @@ To begin:
417
417
418
418
* Remove support for Python 3.8
419
419
420
-
Also because you are creating a pure Python package, you can
421
-
in this lesson, you can remove the following classifiers:
420
+
Since you are creating a pure Python package in this lesson,
Copy file name to clipboardExpand all lines: tutorials/installable-code.html
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -838,13 +838,13 @@ <h2>Step 4: Modify metadata in your <code class="docutils literal notranslate"><
838
838
<p>Edit the file as follows:</p>
839
839
<olclass="arabic simple">
840
840
<li><p>Delete <codeclass="docutils literal notranslate"><spanclass="pre">dynamic</span><spanclass="pre">=</span><spanclass="pre">["version"]</span></code>: This sets up dynamic versioning based on tags stored in your git commit history. We will walk through implementing this in a later lesson.</p></li>
841
-
<li><p>Add <codeclass="docutils literal notranslate"><spanclass="pre">version</span><spanclass="pre">=</span><spanclass="pre">0.1.0</span></code> in the place of <codeclass="docutils literal notranslate"><spanclass="pre">dynamic</span><spanclass="pre">=</span><spanclass="pre">["version"]</span></code> which you just deleted. This sets up manual versioning.</p></li>
841
+
<li><p>Add <codeclass="docutils literal notranslate"><spanclass="pre">version</span><spanclass="pre">=</span><spanclass="pre">"0.1.0"</span></code> in the place of <codeclass="docutils literal notranslate"><spanclass="pre">dynamic</span><spanclass="pre">=</span><spanclass="pre">["version"]</span></code> which you just deleted. This sets up manual versioning.</p></li>
842
842
<li><p>Fill in the description if it doesn’t already exist.</p></li>
<spanclass="n">version</span><spanclass="w"></span><spanclass="o">=</span><spanclass="w"></span><spanclass="mf">0.1</span><spanclass="w"></span><spanclass="c1"># with this</span>
847
+
<spanclass="n">version</span><spanclass="w"></span><spanclass="o">=</span><spanclass="w"></span><spanclass="s2">"0.1"</span><spanclass="w"></span><spanclass="c1"># with this</span>
848
848
<spanclass="n">description</span><spanclass="w"></span><spanclass="o">=</span><spanclass="w"></span><spanclass="s1">'A simple Python package that adds numbers together'</span><spanclass="w"></span><spanclass="c1"># Add a description of your package if that is not already populated</span>
0 commit comments