diff --git a/.gitignore b/.gitignore index 4c2e8395..6de4e9bf 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,6 @@ python/lsst/meas/algorithms/version.py pytest_session.txt .coverage* python/*.dist-info/ + +# Generated by sconsUtils from lsst_meas_algorithms.pc.in +lib/pkgconfig/ diff --git a/SConstruct b/SConstruct index 8a5fa267..73b309cd 100644 --- a/SConstruct +++ b/SConstruct @@ -1,3 +1,3 @@ # -*- python -*- from lsst.sconsUtils import scripts -scripts.BasicSConstruct("meas_algorithms") +scripts.BasicSConstruct("meas_algorithms", noCfgFile=True) diff --git a/lsst_meas_algorithms.pc.in b/lsst_meas_algorithms.pc.in new file mode 100644 index 00000000..f6fc0fd8 --- /dev/null +++ b/lsst_meas_algorithms.pc.in @@ -0,0 +1,12 @@ +prefix=${pcfiledir}/../.. +includedir=${prefix}/include +libdir=${prefix}/lib +doxygen_tag=${prefix}/doc/meas_algorithms.tag +lsst_build_requires=boost_test pybind11 python3 + +Name: lsst_meas_algorithms +Description: LSST Science Pipelines measurement algorithms +Version: @VERSION@ +Requires: lsst_astshim lsst_cpputils lsst_geom lsst_afw boost_math lsst_pex_config lsst_meas_base minuit2 lsst_shapelet +Cflags: -I${includedir} +Libs: -L${libdir} -lmeas_algorithms diff --git a/ups/meas_algorithms.cfg b/ups/meas_algorithms.cfg deleted file mode 100644 index ebc9fc58..00000000 --- a/ups/meas_algorithms.cfg +++ /dev/null @@ -1,15 +0,0 @@ -# -*- python -*- - -import lsst.sconsUtils - -dependencies = { - "required": ["astshim", "cpputils", "geom", "afw", "boost_math", "pex_config", "meas_base", - "minuit2", "shapelet"], - "buildRequired": ["boost_test", "pybind11"], -} - -config = lsst.sconsUtils.Configuration( - __file__, - headers=["lsst/meas/algorithms.h"], - hasDoxygenInclude=False, -)