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

RPI5 support #394

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,22 @@ jobs:
restore-keys: |
${{ runner.os }}-py3${{ matrix.python-minor-version }}-pip-
- name: Install system dependencies
run: sudo apt-get install graphviz
run: sudo apt-get install graphviz swig python3-setuptools python3-dev
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.${{ matrix.python-minor-version }}
check-latest: true
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install lg library
run: |
cd $RUNNER_TEMP
wget http://abyz.me.uk/lg/lg.zip
unzip lg.zip
cd lg
make
sudo make install
- name: Install Python packages
run: pip install --upgrade setuptools pip wheel tox coveralls
- name: Run tests
Expand Down
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ zip_safe = False
packages = find_namespace:
python_requires = >=3.8, <4
install_requires =
luma.core>=2.4.1
luma.core[gpio,spi] @ git+https://github.com/rm-hull/luma.core.git@optional-270

tests_require =
pytest
pytest-cov
Expand Down
Loading