pdf2dataset icon indicating copy to clipboard operation
pdf2dataset copied to clipboard

Segmentar dependências obrigatórias e opcionais

Open amenezes opened this issue 3 years ago • 0 comments

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.

amenezes avatar Aug 21 '20 01:08 amenezes