- # The Python module is being built against GROMACS in its build tree.
- # Note: we do not have plans to install the staged package when SKBUILD != TRUE
- set_target_properties(_gmxapi PROPERTIES BUILD_WITH_INSTALL_RPATH FALSE)
- target_link_libraries(_gmxapi PRIVATE Gromacs::gmxapi)
-
- # TODO: Determine packaging and installation cases and implementation.
- # Reference https://gitlab.com/gromacs/gromacs/-/issues/2896 for additional discussion.
- # Currently, CMake should be run by scikit-build through setup.py for proper Python packaging.
- # We don't want to install by default in the outer scope of the GROMACS
- # CMake procedure because we could end up trying to install to a system directory
- # the user did not intend, or a user might install a Python-installation-specific
- # package into an overly generic GROMACS path.
+ # The rest of the logic in this conditional is to support the GMX_PYTHON_PACKAGE option
+ # for testing the gmxapi Python packages within a full GROMACS project build_command and.
+ # for building full GROMACS project documentation.