Currently the build produces a compiled _camfr.dylib, but Python expects to import a _camfr.so.
The user must manually rename the .dylib --> .so for the installation to work.
Should have setup.py do this rename automatically, OR set the proper linker flag to have it produce the correct library extension.
It might be that changing the link_flag=-dynamic to -bundle might do this, but I'm not sure.
From @demisjohn on February 28, 2018 8:20
Currently the build produces a compiled
_camfr.dylib
, but Python expects to import a_camfr.so
. The user must manually rename the.dylib --> .so
for the installation to work.Should have
setup.py
do this rename automatically, OR set the proper linker flag to have it produce the correct library extension.It might be that changing the
link_flag=
-dynamic
to-bundle
might do this, but I'm not sure.Copied from original issue: demisjohn/CAMFR#3