diff --git a/examples/hello-world/noxfile.py b/examples/hello-world/noxfile.py index 5644273a..8d77857a 100644 --- a/examples/hello-world/noxfile.py +++ b/examples/hello-world/noxfile.py @@ -1,4 +1,6 @@ +import os from os.path import dirname +import sys import nox @@ -7,6 +9,15 @@ @nox.session() def test(session: nox.Session): + print("PLATFORM:", sys.platform) + print("sys.path", sys.path) + print("PATH", os.environ["PATH"]) + print("BIN_PATHS", session.bin_paths) + + session.run("ls", "-l", session.virtualenv.location, external=True) + for path in session.bin_paths: + session.run("ls", "-l", path, external=True) + session.install(SETUPTOOLS_RUST, "build", "pytest") # Ensure build works as intended session.install("--no-build-isolation", ".")