build: use soft package dependencies #105
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request addresses issue #94 by implementing soft package dependencies. Instead of forcing users to install all package dependencies, this change allows for optional installation of certain packages based on the features the user wants to use. The following packages are now marked as optional:
jupyter
shiny
numpy
matplotlib
seaborn
Users can choose to install these packages only if they need the corresponding features.
After this change
# Install all the required and soft dependencies (recommended for beginners) pip install maidr[all]
# Install the minimal and required dependencies only (for advanced users who maintain their own dependencies) pip install maidr
# Install required dependencies + optional data science packages (currently, `jupyter` only, but we may be able to move `numpy`, `matplotlib`, and `seaborn` down here) pip install maidr[datascience]
# Install required dependencies + dashboard packages (currently, `shiny` only, but will be able to add more packages later, such as `streamlit` as we support them) pip install maidr[dashboard]
Closes #94