Commit c5671a0b authored by Benda Xu's avatar Benda Xu

debian/rules: add python3 support.

parent d45e15e2
......@@ -17,6 +17,7 @@ Build-Depends: bison,
libncurses5-dev,
libreadline6-dev,
python-numpy,
python3-numpy,
wcslib-dev
Standards-Version: 3.9.6
Section: science
......
/usr/lib/*/libcasa_python.so.*
/usr/lib/*/libcasa_python*
......@@ -6,12 +6,13 @@
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%:
dh $@ --parallel --buildsystem=cmake
dh $@ --parallel --buildsystem=cmake
override_dh_auto_configure:
dh_auto_configure -- -DCMAKE_SKIP_INSTALL_RPATH=ON -DUSE_FFTW3=ON -DUSE_HDF5=OFF \
dh_auto_configure -- -DCMAKE_SKIP_INSTALL_RPATH=ON -DUSE_FFTW3=ON -DUSE_HDF5=OFF \
-DUSE_THREADS=ON -DLIB_SUFFIX=/$(DEB_HOST_GNU_TYPE) \
-DDATA_DIR=/usr/share/casacore/data
-DDATA_DIR=/usr/share/casacore/data -DBUILD_PYTHON3=ON \
-DPYTHON3_EXECUTABLE=/usr/bin/python3
override_dh_auto_build-indep:
doxygen doxygen.cfg
......@@ -23,4 +24,4 @@ override_dh_auto_test-arch:
HOME=$(CURDIR) dh_auto_test --max-parallel=1 -a
override_dh_clean:
rm -rf doc/
rm -rf doc
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment