Opened 7 years ago
Closed 5 years ago
#1650 closed defect (wontfix)
IncludeDir argument in bundle_info.xml no longer recognises $HOME
Reported by: | Tristan Croll | Owned by: | Conrad Huang |
---|---|---|---|
Priority: | moderate | Milestone: | |
Component: | Tool Shed | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
Just updating Clipper/ISOLDE to use the ChimeraX daily builds. Up until now, an argument like:
<IncludeDir platform="linux">$HOME/anaconda3/envs/openmm73/include</IncludeDir>
... was valid, but now it fails unless I give it the full explicit path.
Change History (2)
comment:1 by , 7 years ago
comment:2 by , 5 years ago
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
Conrad says don't use $HOME.
Note:
See TracTickets
for help on using tickets.
I don't think there was ever code in
bundle_builder
to expand environment variables or '~' in paths. It may have worked accidentally on some platforms due to how the compiler gets invoked, but that's just coincidence. We are actually using the compilation code fromnumpy
and that has been changing in recent releases. For example, upgrading to 1.14 fixed the Mac problem where touching a C (C++) source file does not cause it to be recompiled. Maybe the upgrade altered the path expansion behavior. I'm not 100% convinced that using environment variables inbundle_info.xml
is a good thing anyway.