From 00e804a94b382b7354d80578872c612e6250d030 Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Wed, 15 Jan 2025 17:33:38 +0100 Subject: [PATCH] package.py: expose types of common globals unconditionally (#48588) --- lib/spack/spack/package.py | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/lib/spack/spack/package.py b/lib/spack/spack/package.py index 23254815c19..c07f8f875d2 100644 --- a/lib/spack/spack/package.py +++ b/lib/spack/spack/package.py @@ -106,8 +106,16 @@ from spack.variant import any_combination_of, auto_or_any_combination_of, disjoint_sets from spack.version import Version, ver -# These are just here for editor support; they will be replaced when the build env -# is set up. -make = MakeExecutable("make", jobs=1) -ninja = MakeExecutable("ninja", jobs=1) -configure = Executable(join_path(".", "configure")) +# These are just here for editor support; they may be set when the build env is set up. +configure: Executable +make_jobs: int +make: MakeExecutable +ninja: MakeExecutable +python_include: str +python_platlib: str +python_purelib: str +python: Executable +spack_cc: str +spack_cxx: str +spack_f77: str +spack_fc: str