I'm using Poetry to manage my application dependency and virtual environment.
Although the PyPI package publication can be handled seamlessly with Poetry, I'm unable to find docs on how to solve my case:
- My app depends on a package that includes an executable.
- The dependency package builds the executable during the install phase of Poetry.
- In the dev environment, this executable can only be installed to the cache folder via
poetry install.
The app's runtime needs to use this executable, but I'm not sure how to extract this executable and all its own dependency and ship it with my app, by just using Poetry's built-in features.
Is there a poetry command or pattern for this scenario?