Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lighter weight packaging through extras #23

Closed
philipqueen opened this issue Mar 18, 2024 · 0 comments · Fixed by #27
Closed

Lighter weight packaging through extras #23

philipqueen opened this issue Mar 18, 2024 · 0 comments · Fixed by #27

Comments

@philipqueen
Copy link
Collaborator

Currently, skellytracker is a relatively heavyweight package (2.4 GB total, 1.3 GB excluding PySide dependency). As we add more tracking options to it, it will continue to grow. To do even simple tasks, like import the model info into a downstream project, you need to download the entire tracking suite.

We can mitigate this problem by using dependency extras for each major package. This would look like:
pip install skellytracker -> just the core skellytracker package, no added tracking packages
pip install skellytracker[mediapipe] -> core skellytracker package and mediapipe, no YOLO (or any other trackers we add)
pip install skellytracker[YOLO] -> core skellytracker package and YOLO

We can also optionally add an all extra that downloads every tracking package, for ease of use when the full package is desired.
pip install skellytracker[all] -> installs everything, core package and all trackers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant