📁 Add new directory single-scripts
This commit is contained in:
19
single-scripts/hello.py
Normal file
19
single-scripts/hello.py
Normal file
@@ -0,0 +1,19 @@
|
||||
# /// 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" }
|
||||
# ///
|
||||
|
||||
from py_common_lib import hello
|
||||
|
||||
|
||||
def main() -> None:
|
||||
print(hello())
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
10
single-scripts/pyproject.toml
Normal file
10
single-scripts/pyproject.toml
Normal file
@@ -0,0 +1,10 @@
|
||||
[project]
|
||||
name = "single-scripts"
|
||||
version = "0.1.0"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = [
|
||||
"py-common-lib",
|
||||
]
|
||||
|
||||
[tool.uv.sources]
|
||||
py-common-lib = { git = "https://git.hatter.ink/hatter/py-common-lib.git" }
|
||||
19
single-scripts/uv.lock
generated
Normal file
19
single-scripts/uv.lock
generated
Normal file
@@ -0,0 +1,19 @@
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
||||
[[package]]
|
||||
name = "py-common-lib"
|
||||
version = "0.1.0"
|
||||
source = { git = "https://git.hatter.ink/hatter/py-common-lib.git#fe9444f13e9413932849fa7a2eedc51b1e8252a6" }
|
||||
|
||||
[[package]]
|
||||
name = "single-scripts"
|
||||
version = "0.1.0"
|
||||
source = { virtual = "." }
|
||||
dependencies = [
|
||||
{ name = "py-common-lib" },
|
||||
]
|
||||
|
||||
[package.metadata]
|
||||
requires-dist = [{ name = "py-common-lib", git = "https://git.hatter.ink/hatter/py-common-lib.git" }]
|
||||
Reference in New Issue
Block a user