Package install with optional dependencies
LucBERTON opened this issue · 0 comments
LucBERTON commented
Description
Allow to install this package with extra/optional dependencies.
The goal is that users can install only useful dependencies for their usecase, hence reducing install size.
Solution
This package could be installed only with some dependancies.
e.g. Package with with mistral client and not OpenAI
https://python-poetry.org/docs/pyproject#extras
poetry install --extras "mysql pgsql"
poetry install -E mysql -E pgsql
Considerations
Should work for pip and poetry package managers.
Additional context
N/A