mirror of
https://github.com/hanzoai/pack.git
synced 2026-09-30 23:43:13 +00:00
* test: run python via poetry to ensure the poetry install is working * test: assert proper python bin in PATH across all .venv python examples * doc: helpful mise backend inspection tip * test: snapshot update
16 lines
339 B
Python
16 lines
339 B
Python
import os
|
|
|
|
path = os.environ['PATH']
|
|
assert path.startswith("/app/.venv/bin"), f"Expected PATH to start with /app/.venv/bin but got {path}"
|
|
|
|
import workspace_package
|
|
|
|
def main():
|
|
# test.json doesn't like newlines
|
|
print("Hello from python-uv-workspace!", end="")
|
|
workspace_package.main()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|