-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
kind/featureFeature requests/implementationsFeature requests/implementationsstatus/triageThis issue needs to be triagedThis issue needs to be triaged
Description
- I have searched the issues of this repo and believe that this is not a duplicate.
- I have searched the FAQ and general documentation and believe that my question is not already covered.
Feature Request
I think it would be a nice idea to make it possible for a Poetry command (the built-ins or from a plugin) to pass in the path to the actual pyproject.toml file.
Something like:
poetry build --path my_project/in/a/subfolder/pyproject.tomlThis would be useful for scenarios when you have more than one project in a repository. With such a feature, you could run build commands from the repo top folder, instead of navigating down the directory structure.
I see two steps here:
- make it possible to set the
pyprojectproperty of thepoetryinstance. A command could then do:
self.poetry.pyproject = PyProjectTOML(custom_path)- add a command option. The closest at hand would probably be the
buildcommand.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/featureFeature requests/implementationsFeature requests/implementationsstatus/triageThis issue needs to be triagedThis issue needs to be triaged