diart
diart copied to clipboard
Simplify installation
Problem
Installation requires multiple steps, which were necessary when pyannote.audio 2.0 hadn't been released. Now that this isn't needed anymore, it would be better to simplify the steps for a default installation including pyannote.audio even though it's optional.
Ideally this should be a single step: pip install diart
Or
pip install diart # does not install pyannote
pip install diart[pretrained] # installs pyannote
In case you are wondering how this is done (I am sure you know already :))...
The following setup.py section will allow pip install pyannote.core[notebook] for instance...
https://github.com/pyannote/pyannote-core/blob/5399294a65e6ad81ae4da5a906d84d515b832822/setup.py#L67-L78
Update: pyannote.audio and pytorch installations already automated in v0.6
I prefer to leave a pyannote installation by default, advanced users that want to free space may do so by uninstalling it. It hasn't proven to be a required scenario for now.
The next step would be to automate portaudio and pysoundfile with pip if possible.
Implemented in #130