Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhewitt committed Dec 28, 2024
1 parent ebcd409 commit 6667dc2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions examples/hello-world/noxfile.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import os
from os.path import dirname
import sys

import nox

Expand All @@ -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", ".")
Expand Down

0 comments on commit 6667dc2

Please sign in to comment.