Files

24 lines
502 B
Python

# /// script
# requires-python = ">=3.12"
# dependencies = [
# "py-common-lib",
# ]
#
# [tool.uv.sources]
# py-common-lib = { git = "https://git.hatter.ink/hatter/py-common-lib.git", tag = "v0.0.0" }
# ///
from pathlib import Path
from py_common_lib import hello
def main() -> None:
print(hello())
print(f"Current file: {__file__}")
print(f"Parent file : {Path(__file__).parent}")
print(f".venv file : {Path(__file__).parent / '.venv'}")
if __name__ == "__main__":
main()