<div dir="ltr">Hi Brad, <div><br></div><div>I've built a virtualenv using virtualenvwrapper to use SimpleITK (built using NAMICExternalProjects). <span style="font-family:arial,helvetica,sans-serif">For reproducibility, we'd like to use only dependencies within the </span><span style="font-family:monospace,monospace">${NAMICExtBuild}</span><font face="arial, helvetica, sans-serif"> directory, which makes most of the online installation instructions invalid, AFAIK. </font></div><div><br></div><div>I've prepend the sys.path like so:</div><div><br></div><div><font face="monospace, monospace">add2virtualenv ${NAMICExtBuild}/SimpleITK-build/bin</font></div><div><span style="font-family:monospace,monospace">add2virtualenv</span><span style="font-family:monospace,monospace"> </span><font face="monospace, monospace">${NAMICExtBuild}/SimpleITK-build/lib</font></div><div><span style="font-family:monospace,monospace">add2virtualenv</span><span style="font-family:monospace,monospace"> </span><font face="monospace, monospace">${NAMICExtBuild}/SimpleITK-build/Wrapping</font></div><div><br></div><div>This writes to the <font face="monospace, monospace">$VIRTUAL_ENV/lib/site_packages/_virtualenv_path_extensions.pth</font> file (used by virtualenvwrapper to manage package/module paths). </div><div><br></div><div>I have also tried: </div><div><br></div><div><font face="monospace, monospace">python $</font><span style="font-family:monospace,monospace">{NAMICExtBuild}/SimpleITK-build/Wrapping/PythonPackage/setupegg.py install</span></div><div><font face="monospace, monospace"><br></font></div><div><font face="arial, helvetica, sans-serif">within my virtualenv, but no such luck. Any suggestions? </font></div><div><font face="arial, helvetica, sans-serif"><br></font><div><div class="gmail_signature"><div dir="ltr">Cheers,<div>Dave<br></div></div></div></div>
</div></div>