uhd-urz / elAPI

An extensible API client for eLabFTW
GNU Affero General Public License v3.0
5 stars 0 forks source link

Make bill-teams plugin optional - [merged] #103

Closed alexander-haller closed 1 month ago

alexander-haller commented 1 month ago

In GitLab by @mhxion on Jun 14, 2024, 01:07

Merges plugin-support -> dev

Fixes #41. bill-teams plugin will only be shown/enabled when tenacity and python-dateutil packages are installed.

# The following will install elapi with bill-teams enabled
pipx install elapi[uhd-urz]  # keyword "uhd-urz" is a placeholder
# The following will install elapi with bill-teams disabled
pipx install elapi

More to be discussed in the meeting.

alexander-haller commented 1 month ago

In GitLab by @mhxion on Jun 14, 2024, 01:08

requested review from @alexander-haller

alexander-haller commented 1 month ago

Idea would be to make bill-teams a "real" plugin. For now we can go with this - we might consider reusing store-info als an utility for statistics for the public.

alexander-haller commented 1 month ago

approved this merge request