Building gphoto2-ffi on FreeBSD
Download
Clone the repository from https://github.com/jbaiter/gphoto2-cffi
.
> cd ~/github
> git clone https://github.com/jbaiter/gphoto2-cffi
Build
I had to specify where to find the include files.
> env C_INCLUDE_PATH=/usr/local/include python3 setup.py build
Install and clean-up
# python3 setup.py install
# python3 setup.py clean
# rm -rf dist
> rm -rf gphoto2_cffi.egg-info
Location
The package is installed in /usr/local/lib/python3.6/site-packages/
gphoto2_cffi-0.3-py3.6-freebsd-11.0-STABLE-amd64.egg/
For comments, please send me an e-mail.