Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentar dependências obrigatórias e opcionais #4

Open
amenezes opened this issue Aug 21, 2020 · 0 comments
Open

Segmentar dependências obrigatórias e opcionais #4

amenezes opened this issue Aug 21, 2020 · 0 comments

Comments

@amenezes
Copy link

amenezes commented Aug 21, 2020

Acredito que seja interessante segmentar as dependências do projeto entre install_requires e extras_require para comportar melhor o uso das funcionalidades disponibilizadas. Por exemplo, para casos de uso que utilizem apenas a opção small=True o pacote ray não é necessário. Assim este poderia fazer parte de um grupo específico de dependências opcionais.

extras_require
A dictionary mapping names of “extras” (optional features of your project) to strings or lists of strings specifying what other distributions must be installed to support those features. See the section on Declaring Dependencies for details and examples of the format of this argument.

install_requires
A string or list of strings specifying what other distributions need to be installed when this one is. See the section on Declaring Dependencies for details and examples of the format of this argument.

documentação do setuptools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants