Skip to content

Commit

Permalink
use dynamic environment name based on Julia version in Circuitscape v…
Browse files Browse the repository at this point in the history
…5.12.3
  • Loading branch information
lexming committed Nov 19, 2024
1 parent 5a5f662 commit ac70aac
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -403,8 +403,10 @@ exts_list = [
}),
]

_julia_env = "%(installdir)s/environments/v" + '.'.join(_julia_ver.split('.')[:2])

sanity_check_commands = [
"""julia -e 'using Pkg; Pkg.activate("%(installdir)s/environments/v1.9"); Pkg.test("%(name)s")'""",
"""julia -e 'using Pkg; Pkg.activate("%s"); Pkg.test("%%(name)s")'""" % _julia_env,
]

moduleclass = 'lib'

0 comments on commit ac70aac

Please sign in to comment.