Skip to content

Commit 6e25119

Browse files
committed
Replace setup.py with pyproject.toml
1 parent c54025f commit 6e25119

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/packaging.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,12 @@ To make our example package pip-installable we need to add one more file:
101101
│ └── subtracting.py
102102
├── LICENSE
103103
├── README.md
104-
└── setup.py
104+
└── pyproject.toml
105105
106-
This is how ``setup.py`` looks:
106+
This is how ``pyproject.toml`` looks:
107107

108-
.. literalinclude:: packaging-example-project/setup.py
109-
:caption: setup.py
108+
.. literalinclude:: packaging-example-project/pyproject.toml
109+
:caption: pyproject.toml
110110
:emphasize-lines: 18-20
111111

112112
Note how our package requires ``scipy`` and we decided to not pin the version

0 commit comments

Comments
 (0)