Skip to content

Commit 755cdd5

Browse files
lwasserNickleDave
andcommitted
Apply suggestions from code review
Co-authored-by: David Nicholson <[email protected]>
1 parent cf36261 commit 755cdd5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package-structure-code/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ In this section of our Python packaging guide, we:
3535

3636
The flexibility of the Python programming language lends itself to a diverse
3737
range of tool options for creating a Python package. Python is so flexible that
38-
it is one of the few languages that can be used to wrap around other languages.
38+
it is one of the few languages that can be used to wrap around other languages. The ability of Python to wrap other languages one the reasons why you will often hear Python described as a ["glue" language](https://numpy.org/doc/stable/user/c-info.python-as-glue.html)"
3939

4040
If you are building a pure Python package, then your packaging setup can be
4141
simple. However, some scientific packages have complex requirements as they may

package-structure-code/pyproject-toml-python-package-metadata.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ metadata is called a **pyproject.toml**](https://packaging.python.org/en/latest/
55
and package dependencies to a **pyproject.toml** file replaces storing that
66
information in a setup.py or setup.cfg file.
77

8-
The **pyproject.toml** file is written in [TOML (Tom's Obvious, Minimal Language) format](https://toml.io/en/). TOML is an easy-to-read structure that is founded on key: value pairs. Each section in the **pyproject.toml** file contains a `[table identifier]`.
9-
Below that table identifier are key value pairs that
8+
The **pyproject.toml** file is written in [TOML (Tom's Obvious, Minimal Language) format](https://toml.io/en/). TOML is an easy-to-read structure that is founded on key/value pairs. Each section in the **pyproject.toml** file contains a `[table identifier]`.
9+
Below that table identifier are key/value pairs that
1010
support configuration for that particular table.
1111

1212
### Benefits of using a pyproject.toml file
@@ -61,7 +61,7 @@ Notice that dependencies are specified in this file.
6161
### Example pyproject.toml for building using setuptools
6262

6363
The package metadata including authors, keywords, etc is also easy to read.
64-
Below you can see the same toml file that uses a different build system (setuptools).
64+
Below you can see the same TOML file that uses a different build system (setuptools).
6565
Notice how simple it is to swap out the tools needed to build this package!
6666

6767
In this example package setup you use:

0 commit comments

Comments
 (0)