Skip to content

Commit

Permalink
treat isolated_build as an alias for wheel_pep517
Browse files Browse the repository at this point in the history
the isolated_build flag is documented as enabling pep517 already: Activate isolated build environment. tox will use a virtual environment to build a source distribution from the source tree. For build tools and arguments use the pyproject.toml file as specified in PEP-517 and PEP-518.
  • Loading branch information
graingert authored and ionelmc committed Sep 28, 2020
1 parent 504f2fd commit 97a9e89
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/tox_wheel/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,7 @@ def tox_package(session, venv):


def wheel_build_package(config, session, venv):
if config.isolated_build:
reporter.warning("Disabling isolated_build, not supported with wheels.")
pep517 = venv.envconfig.wheel_pep517
if pep517:
if config.isolated_build or venv.envconfig.wheel_pep517:
wheel_package = wheel_build_pep517(config, session, venv)
else:
wheel_package = wheel_build_legacy(config, session, venv)
Expand Down

0 comments on commit 97a9e89

Please sign in to comment.