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 Conrad Huang, 7 years ago

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 from numpy 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 in bundle_info.xml is a good thing anyway.

comment:2 by Greg Couch, 5 years ago

Resolution: wontfix
Status: assignedclosed

Conrad says don't use $HOME.

Note: See TracTickets for help on using tickets.