Skip to content

Update dependency structure #34

@naglepuff

Description

@naglepuff

batbot/setup.cfg

Lines 16 to 36 in 570a97d

[options]
packages = find:
platforms = any
include_package_data = true
install_requires =
click
cryptography
cython
librosa
line_profiler
matplotlib
numpy
opencv-python-headless
Pillow
pooch
pyastar2d @ git+https://github.com/bluemellophone/batbot-pyastar2d@master
rich
scikit-image
shapely
sphinx-click
tqdm

Here are the current dependencies for Batbot.

It would be great if some of the dependencies were added to optional groups (maybe a dev group that including things like sphinx, and a cli group that included things like tqdm that were useful for using batbot as a CLI but not as a library).

The impetus for this change would be to minimize the size of batbot when being used as a library, particularly by BatAI. Keeping the entire size of BatAI to under 500MB would be a boon to deployments (especially via Heroku).

I don't know for sure if the current state of Batbot would bring BatAI over the threshold (it is currently at ~450MB), but this is certainly something we'd want to explore to keep the size down.

@aashish24

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions