Sconstruct doesn't update env in the path taken when os.environ["PREFIX"] is not set. This leads to an error during installion:
$ sudo scons install
scons: Reading SConscript files ...
KeyError: 'prefix':
File "/home/clem/git/libobjcryst/SConstruct", line 103:
pjoin(env['prefix'], 'lib'),
File "/usr/lib/python3.13/site-packages/SCons/Environment.py", line 603:
return self._dict[key]
I think this is because vars.Update(env) is missing in Sconstruct in line 72.
Sconstructdoesn't updateenvin the path taken whenos.environ["PREFIX"]is not set. This leads to an error during installion:I think this is because
vars.Update(env)is missing inSconstructin line 72.