Skip to content

Commit

Permalink
Move to pip package
Browse files Browse the repository at this point in the history
  • Loading branch information
theyosh committed Jan 5, 2024
1 parent 35c79ae commit 73281e2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 12 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "3rdparty/Bright-Pi"]
path = 3rdparty/Bright-Pi
url = https://github.com/PiSupply/Bright-Pi
[submodule "3rdparty/relay8-rpi"]
path = 3rdparty/relay8-rpi
url = https://github.com/SequentMicrosystems/relay8-rpi
Expand Down
1 change: 0 additions & 1 deletion 3rdparty/Bright-Pi
Submodule Bright-Pi deleted from eccfbb
10 changes: 2 additions & 8 deletions hardware/relay/brightpi_relay.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
from . import terrariumRelayDimmer

import statistics
import sys
from pathlib import Path

# https://github.com/PiSupply/Bright-Pi
# Dirty hack to include someone his code... to lazy to make it myself :)
# Also, do not want to compile stuff....
sys.path.insert(0, str((Path(__file__).parent / Path("../../3rdparty/Bright-Pi/brightpi")).resolve()))
import brightpilib as brightpi

import brightpi


class terrariumRelayDimmerBrightPi(terrariumRelayDimmer):
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ adafruit-circuitpython-sht31d==2.3.24
SM8relind==1.0.2
git+https://github.com/SequentMicrosystems/4relind-rpi.git#subdirectory=python/4relind
git+https://github.com/SequentMicrosystems/4relay-rpi.git#subdirectory=python/4relay
git+https://github.com/PiSupply/Bright-Pi

# Webcam packages
Pillow==9.5.0
Expand Down

0 comments on commit 73281e2

Please sign in to comment.