Build 'editable' wheel for development. This command is private and reserved for internal use of setuptools, users should rely on ``setuptools.build_meta`` APIs.
Method | finalize |
Undocumented |
Method | initialize |
Undocumented |
Method | run |
Undocumented |
Class Variable | description |
Undocumented |
Class Variable | user |
Undocumented |
Instance Variable | dist |
Undocumented |
Instance Variable | dist |
Undocumented |
Instance Variable | mode |
Undocumented |
Instance Variable | package |
Undocumented |
Instance Variable | project |
Undocumented |
Method | _collect |
Undocumented |
Method | _configure |
Configure commands to behave in the following ways: |
Method | _create |
Undocumented |
Method | _ensure |
Undocumented |
Method | _find |
Undocumented |
Method | _install |
Undocumented |
Method | _run |
Undocumented |
Method | _run |
Issue #3501 indicates that some plugins/customizations might rely on: |
Method | _run |
Undocumented |
Method | _safely |
Undocumented |
Method | _select |
Decides which strategy to use to implement an editable installation. |
Method | _set |
Set the ``editable_mode`` flag in the build sub-commands |
Inherited from Command
:
Method | __init__ |
Construct the command for dist, updating vars(self) with any keyword parameters. |
Method | ensure |
Ensure that 'option' is a list of strings. If 'option' is currently a string, we split it either on /,\s*/ or /\s+/, so "foo bar baz", "foo,bar,baz", and "foo, bar baz" all become ["foo", "bar", "baz"]. |
Method | reinitialize |
Undocumented |
Class Variable | command |
Undocumented |
Method | _ensure |
Undocumented |
str
, unpacked_wheel: _Path
, build_lib: _Path
, tmp_dir: _Path
):
(source)
¶
Configure commands to behave in the following ways: - Build commands can write to ``build_lib`` if they really want to... (but this folder is expected to be ignored and modules are expected to live in the project directory...) - Binary extensions should be built in-place (editable_mode = True) - Data/header/script files are not part of the "editable" specification so they are written directly to the unpacked_wheel directory.
str
, unpacked_wheel: _Path
, build_lib: _Path
, tmp_dir: _Path
) -> Tuple[ List[ str], Dict[ str, str]]
:
(source)
¶
Undocumented
Issue #3501 indicates that some plugins/customizations might rely on: 1. ``build_py`` not running 2. ``build_py`` always copying files to ``build_lib`` However both these assumptions may be false in editable_wheel. This method implements a temporary workaround to support the ecosystem while the implementations catch up.