Fix missed pytoml -> toml dependency migration.
@@ -108,26 +108,31 @@ commands =
sphinx-build -b html -d {envtmpdir}/doctrees . _build/html
open _build/html/index.html
-[testenv:package]
-skip_install = true
-basepython = python3
-deps =
- pytoml
-commands =
- python scripts/package.py {posargs}
-
[_flit]
basepython = python3
deps =
flit
pygments
-[testenv:serve]
-skip_install = true
+[_package]
basepython = {[_flit]basepython}
deps =
{[_flit]deps}
toml
+
+[testenv:package]
+skip_install = true
+basepython = {[_package]basepython}
+deps =
+ {[_package]deps}
+commands =
+ python scripts/package.py {posargs}
+
+[testenv:serve]
+skip_install = true
+basepython = {[_package]basepython}
+deps =
+ {[_package]deps}
commands =
python scripts/package.py --additional-format wheel --local --serve {posargs}
