Skip to content

Commit

Permalink
Merge: Improve example docs for setup.cfg and pyproject.toml (#3712)
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Jan 11, 2023
2 parents ac9d7d2 + aa4920b commit ea531c1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion docs/userguide/declarative_config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,13 @@ boilerplate code in some cases.
[metadata]
name = my_package
version = attr: my_package.VERSION
author = Josiah Carberry
author_email = josiah_carberry@brown.edu
description = My package description
long_description = file: README.rst, CHANGELOG.rst, LICENSE.rst
keywords = one, two
license = BSD 3-Clause License
python_requires = >=3.7
license = BSD-3-Clause
classifiers =
Framework :: Django
Programming Language :: Python :: 3
Expand Down
5 changes: 4 additions & 1 deletion docs/userguide/pyproject_config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,14 @@ The ``project`` table contains metadata fields as described by
[project]
name = "my_package"
authors = [
{name = "Josiah Carberry", email = "josiah_carberry@brown.edu"},
]
description = "My package description"
readme = "README.rst"
requires-python = ">=3.7"
keywords = ["one", "two"]
license = {text = "BSD 3-Clause License"}
license = {text = "BSD-3-Clause"}
classifiers = [
"Framework :: Django",
"Programming Language :: Python :: 3",
Expand Down

0 comments on commit ea531c1

Please sign in to comment.