Skip to content

Commit f595c97

Browse files
committed
Remove platform dependency
1 parent 1527593 commit f595c97

1 file changed

Lines changed: 3 additions & 15 deletions

File tree

tox.ini

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ lint_folders =
2020
[testenv]
2121
# Passing through all enviroment variables to tox jobs
2222
passenv = *
23-
platform =
24-
linux: linux
25-
macos: darwin
26-
windows: win32
2723

2824
# Default package_env, used for building source distribution
2925
[testenv:.pkg]
@@ -70,11 +66,7 @@ commands =
7066
{[tox]lint_folders} "{toxinidir}/README.rst"
7167

7268
[testenv:build]
73-
platform =
74-
linux: linux
75-
macos: darwin
76-
windows: win32
77-
description = Asserts package build integrity for {platform} with {basepython}.
69+
description = Asserts package build integrity with {basepython}.
7870
usedevelop = true
7971
deps =
8072
build
@@ -91,12 +83,8 @@ commands =
9183
twine check dist/*.tar.gz dist/*.whl
9284
check-manifest {toxinidir}
9385
# Workaround using shells since tox does not support wildcards
94-
linux: bash -c "python -m pip install --force-reinstall dist/scatterkit-*.tar.gz"
95-
linux: bash -c "python -m pip install --force-reinstall dist/scatterkit-*.whl"
96-
macos: zsh -c "python -m pip install --force-reinstall dist/scatterkit-*.tar.gz"
97-
macos: zsh -c "python -m pip install --force-reinstall dist/scatterkit-*.whl"
98-
windows: foreach ($i in ls dist\*.tar.gz) \{pip install --force-reinstall $i\}
99-
windows: foreach ($i in ls dist\*.whl) \{pip install --force-reinstall $i\}
86+
bash -c "python -m pip install --force-reinstall dist/scatterkit-*.tar.gz"
87+
bash -c "python -m pip install --force-reinstall dist/scatterkit-*.whl"
10088

10189
[testenv:docs]
10290
description = Building the package documentation.

0 commit comments

Comments
 (0)