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
9e4e2e0e
Commit
9e4e2e0e
authored
May 25, 2019
by
Sviatoslav Sydorenko
Committed by
Sviatoslav Sydorenko
Jan 14, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mark PEP mentions as :pep: SphinX refs
parent
5399c859
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
docs/setuptools.txt
docs/setuptools.txt
+7
-6
No files found.
docs/setuptools.txt
View file @
9e4e2e0e
...
...
@@ -2200,22 +2200,23 @@ setup.cfg-only projects
.. versionadded:: 40.9.0
If ``setup.py`` is missing from the project directory when a
PEP 517
If ``setup.py`` is missing from the project directory when a
:pep:`517`
build is invoked, ``setuptools`` emulates a dummy ``setup.py`` file containing
only a ``setuptools.setup()`` call.
.. note::
PEP 517
doesn't support editable installs so this is currently
:pep:`517`
doesn't support editable installs so this is currently
incompatible with ``pip install -e .``.
This means that you can have a Python project with all build configuration
specified in ``setup.cfg``, without a ``setup.py`` file, if you **can rely
on** your project always being built by a PEP 517/518 compatible frontend.
on** your project always being built by a :pep:`517`/:pep:`518` compatible
frontend.
To use this feature:
* Specify build requirements and
PEP 517
build backend in
* Specify build requirements and
:pep:`517`
build backend in
``pyproject.toml``.
For example:
...
...
@@ -2228,11 +2229,11 @@ To use this feature:
]
build-backend = "setuptools.build_meta"
* Use a
PEP 517
compatible build frontend, such as ``pip >= 19`` or ``pep517``.
* Use a
:pep:`517`
compatible build frontend, such as ``pip >= 19`` or ``pep517``.
.. warning::
As
PEP 517
is new, support is not universal, and frontends that
As
:pep:`517`
is new, support is not universal, and frontends that
do support it may still have bugs. For compatibility, you may want to
put a ``setup.py`` file containing only a ``setuptools.setup()``
invocation.
...
...
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