Skip to content

Commit

Permalink
fix wheel to
Browse files Browse the repository at this point in the history
  • Loading branch information
boromir674 committed Nov 16, 2023
1 parent 15aeeda commit e2bd3a3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ description = Build Wheel (along with wheels for its python dependencies) inside
basepython = {env:TOXPYTHON:python3}
setenv =
{[testenv]setenv}
# default value is ./.tox/dist/
WHEELS_DEST = {toxinidir}{/}wheels
skip_install = true
changedir = {toxinidir}
Expand All @@ -96,14 +95,13 @@ description = Build (our Package) Wheel (along with wheels for its python depend
basepython = {env:TOXPYTHON:python3}
setenv =
{[testenv]setenv}
# default value is ./.tox/dist/
WHEELS_DEST = {toxworkdir}{/}{env:DIST_DIR}
WHEELS_DEST = {toxinidir}{/}wheels
skip_install = true
changedir = {toxinidir}
commands =
; pip wheel --wheel-dir {env:WHEELS_DEST} {toxinidir}
; python -c 'from pathlib import Path; p = Path("{env:WHEELS_DEST}"); print( f"\n --- WHEELS in dir \{p\}:" ); print( [i.name for i in p.iterdir()] );'
pip install --exists-action w --force-reinstall "{env:WHEEL_FOR_INSTALL:{env:WHEELS_DEST}{/}{env:PY_PACKAGE}-{env:PKG_VERSION}-py3-none-any.whl}[test]"
pip install --exists-action w --force-reinstall "{env:WHEEL_FOR_INSTALL:{env:WHEELS_DEST}{/}{env:PY_PACKAGE}-*.whl}[test]"
{[testenv]commands}

### BUILD SDIST and WHEEL with Build module ###
Expand Down

0 comments on commit e2bd3a3

Please sign in to comment.