This library provides python functionality in beth by using the 🔗Python/C API .
-
Install python packages:
sudo apt install python3-devsudo apt install python3-matplotlib
-
One can use
python3-configfor release settings in the makefile:-
python3-config --embed --cflagsfor compiler flags- Additional compiler flags to counteract some undesired
python3-configsettings:-Wno-sign-compare -Wno-comment
- Additional compiler flags to counteract some undesired
-
python3-config --embed --ldflagsfor linker flags
-
-
Debug mode:
python3-configdoes not seem to offer a dedicated debug mode. Workaround: Dissect the returned flags and adapt them to the desired debug settings. Only compiler flags need modifications. Following additional settings work for the current python3 release (might change in future)-I/usr/include/python3.10 -fstack-protector-strong
- Object Interface: Low level interface for conversions across beth objects and python objects.
- Plotting Interface: Wrapper of functionality in the
matplotlib.pyplotpackage.
© 2024 Johannes B. Steffens