Skip to content

Commit ce4f9a5

Browse files
committed
Remove references to editable installs
1 parent 0779498 commit ce4f9a5

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

source/tutorials/packaging-projects.rst

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ When you're done, the project structure will look like this:
4747
├── pyproject.toml
4848
├── README.md
4949
├── setup.cfg
50-
├── setup.py # optional, needed to make editable pip installs work
5150
├── src/
5251
│   └── example_pkg/
5352
│   └── __init__.py
@@ -203,27 +202,6 @@ an escape hatch when absolutely necessary.
203202
There are many more than the ones mentioned here. See
204203
:doc:`/guides/distributing-packages-using-setuptools` for more details.
205204

206-
If you create a :file:`setup.py` file, this will enable direct interaction
207-
with :file:`setup.py` (which generally should be avoided), and editable
208-
installs. This file used to be required, but can be omitted in modern
209-
setuptools.
210-
211-
.. warning::
212-
213-
If you include the file, you **must have** a call to :func:`setup()` in it,
214-
even if there are no arguments:
215-
216-
.. code-block:: python
217-
218-
import setuptools
219-
220-
setuptools.setup()
221-
222-
Anything you set in :file:`setup.cfg` can instead be set via keyword argument to
223-
:func:`setup()`; this enables computed values to be used. You will also need
224-
:func:`setup()` for setting up extension modules for compilation. Currently,
225-
having this file also is required if you want to use editable installs with pip.
226-
227205

228206
.. tab:: :file:`setup.py` (dynamic)
229207

0 commit comments

Comments
 (0)