Make sure msaf can be installed in a new Python venv without first having to install NumPy.
Why?
Noticed that there were C/C++ extensions used in the past by MSAF, which is why import numpy has been needed, I guess? Since there doesn't seem to be any such install steps anymore, it would be convenient to not have to
pip install numpy
pip install msaf
in sequence anymore. Especially for users who doesn't use Anaconda and prefer miniconda and/or pip wheels.
How?
This PR makes python -m venv .venv; .venv/bin/pip install msaf work by removing the import of numpy within the setup.py script.
What?
Make sure
msaf
can be installed in a new Python venv without first having to install NumPy.Why?
Noticed that there were C/C++ extensions used in the past by MSAF, which is why
import numpy
has been needed, I guess? Since there doesn't seem to be any such install steps anymore, it would be convenient to not have toin sequence anymore. Especially for users who doesn't use Anaconda and prefer miniconda and/or pip wheels.
How?
This PR makes
python -m venv .venv; .venv/bin/pip install msaf
work by removing the import of numpy within the setup.py script.