Skip to content

Update installable-code.md #230

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

Merged
merged 1 commit into from
Apr 9, 2024
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
4 changes: 2 additions & 2 deletions tutorials/installable-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -379,14 +379,14 @@ path = "src/pyospackage/__about__.py"
Edit the file as follows:

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.
2. Add `version = 0.1.0` in the place of `dynamic = ["version"]` which you just deleted. This sets up manual versioning.
2. Add `version = "0.1.0"` in the place of `dynamic = ["version"]` which you just deleted. This sets up manual versioning.
3. Fill in the description if it doesn't already exist.

```toml
[project]
name = "pyospackage"
# dynamic = ["version"] <- replace this...
version = 0.1 # with this
version = "0.1" # with this
description = 'A simple Python package that adds numbers together' # Add a description of your package if that is not already populated
```

Expand Down