astral-sh/rye

How to Generate `requirements[-dev].lock` to a Specific Path?

UnoYakshi opened this issue · 1 comments

I'd like to come from this:

.
├── pyproject.toml
├── README.md
├── requirements-dev.lock
├── requirements.lock
└── src
    └── *

to this

.
├── pyproject.toml
├── README.md
└── requirements
    ├── requirements-dev.lock
    └── requirements.lock
├── scripts
│   └── entrypoint.sh
└── src
    └── *

Is there any parameter I can fill in to Rye be able to generate lock-files to a specific path?

Also, I wonder if it's possible to generate separate lock-files for per-feature?..

Upd: https://github.com/astral-sh/rye/blob/main/rye/src/sync.rs#L94-L95 — doesn't seems so.