-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix recent workflow fail and react on latest flake8 lint warnings
- Loading branch information
1 parent
5f2d769
commit 7a88d97
Showing
1 changed file
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
from setuptools import setup | ||
import platform | ||
|
||
|
||
def check_platform(): | ||
if platform.system() != "Linux": | ||
raise RuntimeError("This package does only support Linux") | ||
print("Installing on platform: ", platform.system()) | ||
|
||
|
||
check_platform() | ||
|
||
setup(name="pyframebuffer", | ||
version="1.0", | ||
author="Adrian Roß", | ||
|
@@ -16,6 +20,4 @@ def check_platform(): | |
long_description="A linux library written in C and Python to draw with graphic primitives to the framebuffer.", | ||
maintainer="Adrian Roß", | ||
maintainer_email="[email protected]", | ||
url="https://github.com/RossAdrian/pyframebuffer", | ||
cmdclass={'install': check_platform} | ||
) | ||
url="https://github.com/RossAdrian/pyframebuffer") |