Skip to content

Commit

Permalink
Merge pull request #1376 from rmartin16/wheel-in-tox
Browse files Browse the repository at this point in the history
Use wheels in `tox` instead of sdists
  • Loading branch information
freakboy3742 authored Jul 23, 2023
2 parents f9100f1 + 8fd08f6 commit b021d6d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions changes/1376.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
When running tests or building docs in tox, Briefcase is now installed as a wheel instead of an sdist.
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ commands_pre = python -m install_requirement --extra dev --project-root "{tox_ro
commands = pre-commit run --all-files --show-diff-on-failure --color=always

[testenv:py{,38,39,310,311,312}{,-fast}]
package = wheel
wheel_build_env = .pkg
depends: pre-commit
use_develop = fast: True
# Needed on Windows to test data directory creation
Expand Down Expand Up @@ -90,6 +92,8 @@ sphinx_args = -W --keep-going -j auto -n
sphinx_args_extra = {[docs]sphinx_args} -v -E -T -a -d {envtmpdir}/doctrees

[testenv:docs{,-lint,-all}]
package = wheel
wheel_build_env = .pkg
change_dir = docs
extras = docs
passenv =
Expand Down

0 comments on commit b021d6d

Please sign in to comment.