[PyQt] pyqtdeploy: include C-extension with multiple source files

Thijs Triemstra lists at collab.nl
Thu Jul 14 16:57:44 BST 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm trying to include a Python C-extension with pyqtdeploy that
consists of multiple .c files, e.g.:

[Extension('RPi._GPIO', ['source/py_gpio.c', 'source/c_gpio.c',
'source/cpuinfo.c', 'source/event_gpio.c', 'source/soft_pwm.c',
'source/py_pwm.c', 'source/common.c', 'source/constants.c'])

How do I configure pyqtdeploy to compile multiple source files into a
single extension? The SOURCES box in the pyqtdeploy GUI only accepts a
single file...

Cheers,

Thijs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAleHtnQACgkQBRbMGagbo3mpWgCePXamAl7oKS60Pbb4SiGp6FbV
qKQAn0VC6NVAGxAQnITIogmEGAMwrjDf
=YuGh
-----END PGP SIGNATURE-----


More information about the PyQt mailing list