Quansight-Labs / beni

Generate conda environment.yml from PEP 621 and/or flit config.
MIT License
10 stars 1 forks source link

Allow selection of extras or flit’s deps #3

Closed flying-sheep closed 4 years ago

flying-sheep commented 4 years ago

Currently beni just adds all extra dependencies.

It would be great to have the same behavior as flit: --deps=all by default, and the ability to specify r.g. --deps=develop or individual --extras to filter the requirements (packaging.requirements.Requirement allows accessing the extra that requirement is part of)

flying-sheep commented 4 years ago

@saulshanabrook well? would you consider it if I made a PR?

saulshanabrook commented 4 years ago

Sorry wasn't watching this repo! Yeah that would be great.