Here's the part recipe that fixes the problem:
``` parts: uwsgi: plugin: python source: . python-packages: - uWSGI build-packages: - python3-dev build-environment: - C_INCLUDE_PATH: /usr/include/python3.6 stage-packages: - libpython3.6 ```
I noticed that "/usr/include/*/Python.h" isn't in any of the default GCC preprocessor search paths though, is the regular non-snap build really can't reproduce this issue?
Here's the part recipe that fixes the problem:
``` packages: environment: python3. 6
parts:
uwsgi:
plugin: python
source: .
python-
- uWSGI
build-packages:
- python3-dev
build-
- C_INCLUDE_PATH: /usr/include/
stage-packages:
- libpython3.6
```
I noticed that "/usr/include/ */Python. h" isn't in any of the default GCC preprocessor search paths though, is the regular non-snap build really can't reproduce this issue?