Package: tox-wheel
Atoxplugin that builds and installs wheels instead of sdist.Free software: BSD 2-Clause LicenseInstallationpip install tox-wheelYou can also install the in-development version with:pip install https://github.com/ionelmc/tox-wheel/archive/master.zipDocumentationEnablingTo enable either usetox--wheelor change yourtox.iniif you always want the plugin to be enabled:[testenv]wheel=trueYou can also use factors intox.ini:[tox]envlist={py27,py35,py36,py37,py38,pypy,pypy3}-{cover,nocov}[testenv]wheel=cover:falsenocov:trueBuild configurationThis plugin will build wheels for all the active environments. Note that building will be done in a batch before any testing starts
(in order to supporttox--parallelmode).If you can produce universal wheels you might want to configure the build env so that the wheel is only built once for all the envs:[testenv]wheel_build_env=build[testenv:build]Note that you can also usewheel_build_envfor situation where you have many environments for the same interpreter:[testenv:py38]; regular testing[testenv:py38-extras]; tests with optional dependencieswheel_build_env=py38[testenv:docs]; docs buildingwheel_build_env=py38The plugin cleans the build dir by default, in case you want to speed things further (at the risk of build caching problems)
you could usetox--wheel-dirty.You can also place this configuration intox.inibut there will be a unpleasant surprise factor if you
ever hit the aforementioned build problems:[testenv]wheel_dirty=truePEP517 supportIf you have a custom[build-system]build-backendin yourpyproject.tomlyou need to enable the PEP517 builder by
having this in yourtox.ini:[testenv]wheel_pep517=trueEnabling this will delegate building topip wheel--use-pep517.DevelopmentTo run the all tests run:toxChangelog1.0.0 (2022-10-01)Added option to build wheels (and sdists) in an isolated environment usingbuild.
Contributed by Ben Rowland in#17.0.7.0 (2021-12-29)Fixed build dir not being cleaned up in PEP 517 mode.
Contributed by Michael Rans in#16.Switched CI from Travis/AppVeyor to GitHub Actions.0.6.0 (2020-11-06)Fixed unnecessary build directory cleanup and removed dead code.
Contributed by Thomas Grainger in#9.Theisolated_buildtox option is now an alias forwheel_pep517.
Contributed by Thomas Grainger in#6.Added more configuration examples.0.5.0 (2020-08-06)Added support for PEP 517/518.
Contributed by Antonio Botelho in#5.0.4.2 (2019-05-15)Improved logging a bit so messages are less confusing (don’t emitwheel-makepath/to/setup.py).Moved dist/build cleanup right beforebdist_wheel.0.4.1 (2019-05-15)Improved error handling when no dists are built.0.4.0 (2019-05-05)Fixed compatibility with tox and changed requirement for minimum tox version to 3.9.0.0.3.0 (2019-01-26)Added support fortox--parallelmode.Addedwheel_build_envconfig option.Renamedwheel_clean_buildconfig option towheel_dirty.Added--wheel-dirtyCLI argument.0.2.1 (2019-01-12)Addedwheelto dependencies.0.2.0 (2019-01-12)Remove--wheel-clean-buildCLI option. Build directory cleaning is now on by default.
Correct behavior should be the default.Added support for[testenv] wheel(default:false) and[testenv] wheel_clean_build(default:true)
intox.ini.0.1.0 (2019-01-09)First release on PyPI.