From a5e7e6f616fe301210fea33ec7ff88b7eca60bdb Mon Sep 17 00:00:00 2001 From: jonas Date: Mon, 12 Oct 2020 08:58:53 +0200 Subject: Simple python application that uses the O-3000 driver and Color Image Pipeline using a Python C-Extension. --- setup_c_extension.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 setup_c_extension.py (limited to 'setup_c_extension.py') diff --git a/setup_c_extension.py b/setup_c_extension.py new file mode 100644 index 0000000..695c88c --- /dev/null +++ b/setup_c_extension.py @@ -0,0 +1,8 @@ +from distutils.core import setup, Extension +setup(name = 'o3000', version = '1.0', + ext_modules = [Extension( + 'o3000', + sources = ['c_extension.c', 'helpers.c'], + libraries = ['o3000','o3000_imgpipe','tiff'], + #extra_compile_args = ['-Wextra'] + )]) -- cgit v1.2.1