We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e33c590 commit 2741d01Copy full SHA for 2741d01
setup.py
@@ -10,6 +10,7 @@
10
11
import io
12
import os
13
+import glob
14
15
from setuptools import setup, find_packages
16
@@ -20,6 +21,12 @@
20
21
with io.open(os.path.join(here, "README.rst"), encoding="utf-8") as f:
22
long_description = "\n" + f.read()
23
24
+if not glob.glob("//usr//include//python3.*//Python.h"):
25
+ raise RuntimeError(
26
+ "This package requires a Python development environment. "
27
+ "Please install the python3-dev package for your distribution."
28
+ )
29
+
30
board_reqs = []
31
if os.path.exists("/proc/device-tree/compatible"):
32
with open("/proc/device-tree/compatible", "rb") as f:
0 commit comments