Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
009e0a92
Commit
009e0a92
authored
Oct 28, 2018
by
Nikolaus Waxweiler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edit wording
parent
7d129e6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
docs/setuptools.txt
docs/setuptools.txt
+5
-4
No files found.
docs/setuptools.txt
View file @
009e0a92
...
...
@@ -2400,10 +2400,11 @@ Metadata and options are set in the config sections of the same name.
* 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
│ └── mypackage
...
...
@@ -2412,7 +2413,7 @@ If you use a ``src/`` layout, as in, you package structure looks like this::
├── setup.py
└── 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:
.. code-block:: ini
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment