@@ -48,26 +48,6 @@ pkg.generate(libraries: [lib],
4848 description : ' libwidgetlords' ,
4949 subdirs : [' widgetlords' ])
5050
51- if get_option (' python' )
52- # maybe one day
53- #py = import('python3')
54- #message(py.sysconfig_path())
55-
56- message (' Getting python install dir' )
57- r = run_command (' python3' , ' -c' , ' from distutils.sysconfig import get_python_lib; print(get_python_lib())' )
58- if r.returncode() != 0
59- error (' Cannot find python install dir' )
60- endif
61- python_dir = r.stdout().strip()
62- message (python_dir)
63-
64- install_data (' python/widgetlords/__init__.py' ,
65- ' python/widgetlords/pi_spi.py' ,
66- ' python/widgetlords/pi_spi_din.py' ,
67- ' python/pi_spi_din_4ao_prog.py' ,
68- install_dir : join_paths (python_dir, ' widgetlords' ))
69- endif
70-
7151executable (' pi_spi_8ko_demo' , ' src/demos/pi_spi_8ko_demo.c' , dependencies : [dep])
7252executable (' pi_spi_8ai_demo' , ' src/demos/pi_spi_8ai_demo.c' , dependencies : [dep])
7353executable (' pi_spi_8ai_16b_demo' , ' src/demos/pi_spi_8ai_16b_demo.c' , dependencies : [dep])
@@ -85,4 +65,5 @@ executable('pi_spi_din_4freq_demo', 'src/demos/pi_spi_din_4freq_demo.c', depende
8565executable (' vpe_2901a_demo' , ' src/demos/vpe_2901a_demo.c' , dependencies : [dep])
8666executable (' vpe_3011b_demo' , ' src/demos/vpe_3011b_demo.c' , dependencies : [dep])
8767
68+ subdir (' python' )
8869subdir (' overlays' )
0 commit comments