include from spack.package import * somewhere in the beginning for good measure

This commit is contained in:
Harmen Stoppels 2025-05-13 14:41:31 +02:00
parent a9659b4df6
commit 24dbb1fe68

View File

@ -107,6 +107,8 @@ Since v0.19, Spack supports two ways of writing a package recipe. The most comm
.. code-block:: python
from spack.package import *
class Openjpeg(CMakePackage):
"""OpenJPEG is an open-source JPEG 2000 codec written in C language"""
@ -141,6 +143,8 @@ builder class explicitly. Using the same example as above, this reads:
.. code-block:: python
from spack.package import *
class Openjpeg(CMakePackage):
"""OpenJPEG is an open-source JPEG 2000 codec written in C language"""