include from spack.package import * somewhere in the beginning for good measure
This commit is contained in:
parent
a9659b4df6
commit
24dbb1fe68
@ -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"""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user