Commit 009e0a92 authored by Nikolaus Waxweiler's avatar Nikolaus Waxweiler

Edit wording

parent 7d129e6b
...@@ -2400,10 +2400,11 @@ Metadata and options are set in the config sections of the same name. ...@@ -2400,10 +2400,11 @@ Metadata and options are set in the config sections of the same name.
* Unknown keys are ignored. * Unknown keys are ignored.
Using a ``src/`` layout (storing packages in a subdirectory) Using a ``src/`` layout
============================================================ =======================
If you use a ``src/`` layout, as in, you package structure looks like this:: One commonly used package configuration has all the module source code in a
subdirectory (often called the ``src/`` layout), like this::
├── src ├── src
│   └── mypackage │   └── mypackage
...@@ -2412,7 +2413,7 @@ If you use a ``src/`` layout, as in, you package structure looks like this:: ...@@ -2412,7 +2413,7 @@ If you use a ``src/`` layout, as in, you package structure looks like this::
├── setup.py ├── setup.py
└── setup.cfg └── setup.cfg
You can set up your ``setup.cfg`` to automatically look up all your packages in You can set up your ``setup.cfg`` to automatically find all your packages in
the subdirectory like this: the subdirectory like this:
.. code-block:: ini .. code-block:: ini
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment