bndr/pipreqs

Support requirement extras in mapping file

Open

#103 aperta il 26 ott 2017

Vedi su GitHub
 (0 commenti) (1 reazione) (0 assegnatari)Python (368 fork)batch import
enhancementhelp wantedmapping

Metriche repository

Star
 (5545 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Per #61, it's occasionally useful to be able to use an extras requirement (e.g. requests[security] or scikit-learn[alldeps]). This can be accomplished using Requirement objects and the Requirement.parse method to extract the name prior to performing a search against the package index API and to add it back during the serialization step.

Guida contributor