This PR automates installation for audlib. There are a couple of changes:
Before, we use Pipfile and pipenv to manage dependencies. Now, we specify those dependencies in setup.py and let python's own setuptools manage it. This also comes with pip support.
Now, we can install the library with pip install audlib. I uploaded a test release to my PyPI account and we can transfer the ownership to Raymond if you guys think this looks good.
sph2pipe is packaged with the release and will be compiled dynamically right before first use. I tried to find a post-install hook for pip but there is no clean way of doing it. Embed it in setup.py install does not automatically enable it in pip install.
TODO:
cfg related changes.
Exposing python modules in __init__.py.
Figure out minimum dependency versions (for now, I'm using whatever versions I get when I install them, so likely the latest).
This PR automates installation for
audlib
. There are a couple of changes:setuptools
manage it. This also comes withpip
support.pip install audlib
. I uploaded a test release to my PyPI account and we can transfer the ownership to Raymond if you guys think this looks good.sph2pipe
is packaged with the release and will be compiled dynamically right before first use. I tried to find a post-install hook for pip but there is no clean way of doing it. Embed it insetup.py install
does not automatically enable it inpip install
.TODO:
__init__.py
.