Clean up the optional dependencies #68
Labels
discuss
Not everything clear, further communication required
documentation
Improvements or additions to documentation
enhancement
New feature or request
We have a number of dependencies which
setuptools
calls "extras": packages that only needed for unlocking additional functionality but not used otherwise. Ideally, we should not require the user to install them.It appears that we need to add something like the following to the
setup.py
:and then check if the optional package is installed (I'm not clear how it works exactly)
Then user could install our library with the following syntax:
pip install topicnet[custom_regularizers]
(which will pull numba).PS: Naming suggestions are welcome.
The text was updated successfully, but these errors were encountered: