Skip to content

Commit

Permalink
Fix setup, add CI build (#3)
Browse files Browse the repository at this point in the history
* Fix setup.py throwing an error

* Add a github workflow build to test if the build works
  • Loading branch information
guspuffygit authored Nov 24, 2024
1 parent 1c32428 commit 65d6905
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI Build

on:
push:
branches:
- "**"
pull_request:
branches:
- "**"
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install
run: |
pip install -r requirements.txt
pip install -e .
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
from os import path

current_folder = path.abspath(path.dirname(__file__))
long_description = open('%s\\README.md' % current_folder, encoding='utf-8').read()
long_description = open(path.join(current_folder, 'README.MD'), encoding='utf-8').read()

# https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/
setup(
name="pizzoo",
version="0.9.12",
version="0.9.13",
author="Pablo Huet",
description="Pizzoo is a easy-to-use library for rendering on pixel matrix screens like the Pixoo64, featuring easy new device integration, animation tools, and XML template rendering support.",
long_description=long_description,
Expand Down

0 comments on commit 65d6905

Please sign in to comment.