-
-
Notifications
You must be signed in to change notification settings - Fork 472
Open
Description
Steps to Reproduce
For virtual projects, scripts cannot be run with rye run.
This is a shame since using virtual projects is the easiest way to build a container with Docker. Most of my projects need this, so an important rye feature is missing much of the time.
To reproduce, set up your pyproject.toml like this:
# ...
[project.scripts]
my-script = "my_project.my_script:main"
# ...
[tool.rye]
virtual = true
Expected Result
I would expect it to run the script.
Actual Result
> rye run my-script
error: invalid or unknown script 'my-script'
Version Info
rye 0.43.0
commit: unknown (d67cac1 2024-12-09)
platform: macos (aarch64)
self-python: [email protected]
symlink support: true
uv enabled: true
Stacktrace
No response
MrPandir
Metadata
Metadata
Assignees
Labels
No labels