Skip to content

Commit

Permalink
Include name in PEP 621 pyproject.toml examples
Browse files Browse the repository at this point in the history
Fixes #730
  • Loading branch information
messense committed Dec 4, 2021
1 parent b1d11a5 commit 7d08ca3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ To specify python dependencies, add a list `dependencies` in a `[project]` secti

```toml
[project]
name = "my-project"
dependencies = ["flask~=1.1.0", "toml==0.10.0"]
```

Expand All @@ -170,6 +171,7 @@ You can also specify [trove classifiers](https://pypi.org/classifiers/) in your

```toml
[project]
name = "my-project"
classifiers = ["Programming Language :: Python"]
```

Expand Down
2 changes: 2 additions & 0 deletions guide/src/metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ To specify python dependencies, add a list `dependencies` in a `[project]` secti

```toml
[project]
name = "my-project"
dependencies = ["flask~=1.1.0", "toml==0.10.0"]
```

Expand All @@ -29,5 +30,6 @@ You can also specify [trove classifiers](https://pypi.org/classifiers/) in your

```toml
[project]
name = "my-project"
classifiers = ["Programming Language :: Python"]
```

0 comments on commit 7d08ca3

Please sign in to comment.