text2midi / post_install.py
keshavbhandari's picture
checking fluidsynth install
ab57d7f
raw
history blame
No virus
311 Bytes
import subprocess
import sys
def install_fluidsynth():
try:
subprocess.check_call([
'conda', 'install', '-c', 'conda-forge', 'fluidsynth', '-y'
])
except subprocess.CalledProcessError as e:
sys.exit(e.returncode)
if __name__ == "__main__":
install_fluidsynth()