-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
23 lines (20 loc) · 996 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from setuptools import setup, Extension
RpiCamera = Extension('RpiCamera',
include_dirs=['./externals/rpi-userland',
'./externals/rpi-userland/interface/vcos',
'./externals/rpi-userland/interface/vcos/pthreads',
'./externals/rpi-userland/interface/mmal',
'./externals/rpi-userland/interface/vmcs_host/linux'],
libraries=['mmal_core','mmal_util', 'mmal_vc_client', 'vcos', 'bcm_host'],
library_dirs=['/opt/vc/lib'],
sources=['RpiCamera/RpiCamera.c',
'RpiCamera/RpiCamera_settings.c',
'RpiCamera/RpiCamera_capture.c',
'RpiCamera/RpiCamera_logging.c'])
setup (name = 'RpiCamera',
version = '1.0',
description = 'Python module for taking still images with the Raspberry Pi Camera Module.',
author = 'Zac Berkowitz',
author_email = '[email protected]',
url = 'http://docs.python.org/extending/building',
ext_modules = [RpiCamera])