Skip to content

Commit

Permalink
Moved backend requirements to their own backend files
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMariday committed Jun 21, 2024
1 parent 35648c0 commit 11ae994
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ MariMapper support the following pre-made backends:
- [`fcmega`](https://github.com/TheMariday/FC-Mega)
- `custom`

If you choose a pre-built backend, remember to install its dependencies using
`pip install -r backends/fadecandy/requirements.txt`

However, your LEDs are as unique as you are,
so it's super simple to implemenet your own `custom` backend by filling in the blanks
in [backends/custom/custom_backend.py](backends/custom/custom_backend.py):
Expand Down
2 changes: 2 additions & 0 deletions backends/fadecandy/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This file defines the requirements for the fadecandy backend
# As you can see there's not much here...
3 changes: 3 additions & 0 deletions backends/fcmega/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# This file defines the requirements for the FCMega backend

pyserial
3 changes: 3 additions & 0 deletions backends/wled/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# This file defines the requirements for the WLED backend

requests
4 changes: 1 addition & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
numpy<1.25.0,>=1.17.3
opencv-python
tqdm
requests
open3d
pycolmap
parse
pyserial
parse
6 changes: 6 additions & 0 deletions test/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# A quick helper file to install all test requirements if you want to run the test suites / linting tools

pytest
black
flake8
flake8-bugbear

0 comments on commit 11ae994

Please sign in to comment.