3 ms·
You can do this: [project.scripts] hello = "example:hello" Assuming you have src/example.py with a function called hello, then "uv run hello" will cal
by semi-extrinsic 2y ago
You can do this:
[project.scripts]
hello = "example:hello"
Assuming you have src/example.py with a function called hello, then "uv run hello" will call that function. I think you also need to have a (empty) src/__init__.py file.