qiime/qiime — pull request #416 by jrrideout (2012-10-23 23:48:38+00:00)
Title: Fixed issue with denoiser install.

I think this originally broke because an empty qiime/support_files/denoiser/bin directory used to exist in the repo and it no longer does (not sure when it was removed or by whom). Thus, the 'make install' command started failing.

Using sys.prefix didn't work, so I changed it back to get_qiime_project_dir(). I also removed the install target of the denoiser makefile because it is unnecessary.

The solution (to support both dev and user installs) is much cleaner: the FlowgramAli_4frame is built in place when 'python setup.py build' is executed. qiime/denoiser/utils.py now looks for the executable there (relative to the QIIME project dir, of course) instead of looking for it in a bin/ directory somewhere else. This file will work in-place (if you're a dev and have your PYTHONPATH set to the QIIME repo itself), and with user installs via 'python setup.py install' as the file is now copied over into the build correctly.