From 8b149f4617fab9c11f1104d6b866f5566347df85 Mon Sep 17 00:00:00 2001 From: Mike Langmayr Date: Fri, 23 Oct 2026 14:03:00 -0700 Subject: [PATCH] Add a scripts extra for the engineering scripts' plotting and FITS dependencies --- docs/build_notes/FEI_build/software_build.rst | 7 ++++--- pyproject.toml | 6 ++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/build_notes/FEI_build/software_build.rst b/docs/build_notes/FEI_build/software_build.rst index 8ff132d..828515c 100644 --- a/docs/build_notes/FEI_build/software_build.rst +++ b/docs/build_notes/FEI_build/software_build.rst @@ -121,10 +121,11 @@ tracking camera module: .. code-block:: bash - sudo /opt/hispec/app/systemd/install.sh hsfei --host-role feiserver --extra atcam + sudo /opt/hispec/app/systemd/install.sh hsfei --host-role feiserver --extra atcam --extra scripts -``--extra atcam`` is recorded in ``/etc/hispec/extras``, so later runs keep the -module without repeating it. +``--extra scripts`` adds what the tracking camera analysis scripts plot with. +Both are recorded in ``/etc/hispec/extras``, so later runs keep them without +repeating the flags. .. warning:: ``PyQt5`` comes from ``apt``, not the venv. diff --git a/pyproject.toml b/pyproject.toml index d914dc4..86f79b8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,6 +44,12 @@ dependencies = [ atcam = [ "camera-interface-tracking@git+ssh://git@github.com/CaltechOpticalObservatories/hispec-tracking-camera-instrument.git", ] +# Plotting and FITS for the engineering scripts under scripts/, which no daemon +# imports: install.sh --extra scripts +scripts = [ + "astropy", + "matplotlib", +] [project.scripts] hispec = "hispec.cli:main"