Ensure usage of modern packages when using 'setup.py develop'.
Review Request #12524 — Created Aug. 14, 2022 and submitted
The Python packaging world has long since recommended against eggs and
setup.py develop
. However, until we move to apyproject.toml
with
a custom build system, this is our best option.Review Board, Djblets, and other packages have implemented a custom
setup.py develop
for ages, which wrapspip install -e .
(the
generally preferred method) and then installs our development
dependencies.This change adds the same logic to the RBTools packaging. This will
ensure that we don't ever introduce legacy eggs through RBTools for
development, and always prefer model wheels.For now,
setup.py develop
is the preferred way of preparing RBTools
for development. In time, we will transition away fromsetup.py
and
will preferpip install -e .
.
Successfully installed RBTools on Python 3.7-3.11, with all dependencies
as wheels, usingsetup.py develop
.
Summary | ID |
---|---|
c7c8d2529c6944819fc5f6dc1c690ca3b77b92c6 |
Description | From | Last Updated |
---|---|---|
too many blank lines (2) Column: 5 Error code: E303 |
reviewbot |
- Change Summary:
-
Removed an extra blank line.
- Commits:
-
Summary ID 3d5ca23c19b991cf4128686bbc36e1678c5ee42e c7c8d2529c6944819fc5f6dc1c690ca3b77b92c6 - Diff:
-
Revision 2 (+140)