Use .so for Python extension module
@@ -36,17 +36,17 @@ test:
imports:
- xcfun
commands:
+ # Verify library
+ - test -L $PREFIX/lib/libxcfun$SHLIB_EXT # [not win]
+ - test -f $SP_DIR/xcfun/_xcfun*.so # [not win]
# Inspect linkage
- ldd -v $PREFIX/lib/libxcfun$SHLIB_EXT # [linux]
- otool -L $PREFIX/lib/libxcfun$SHLIB_EXT # [osx]
- conda inspect linkages --show-files --groupby=dependency $PKG_NAME # [not win]
- conda inspect objects -p $PREFIX $PKG_NAME # [osx]
- ls -l $SP_DIR/xcfun # [not win]
- - ldd -v $SP_DIR/xcfun/_xcfun*$SHLIB_EXT # [linux]
- - otool -L $SP_DIR/xcfun/_xcfun*$SHLIB_EXT # [osx]
- # Verify library
- - test -L $PREFIX/lib/libxcfun$SHLIB_EXT # [not win]
- - test -f $SP_DIR/xcfun/_xcfun*$SHLIB_EXT # [not win]
+ - ldd -v $SP_DIR/xcfun/_xcfun*.so # [linux]
+ - otool -L $SP_DIR/xcfun/_xcfun*.so # [osx]
# Actually test
- python -m pytest --pyargs xcfun
