added support for virtualenv based installs #22
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Altered Makefile to call install.sh for default action
Added install.sh to setup virtualenv, run python install, install deps
added "miso" driver script to setup virtualenv and call the required miso.py script
This is a setup that I've used successfully in the past. If you setup a virtualenv based python install, then it makes installing the required dependencies much easier, especially for users that can't install system packages.
The idea is that you setup the virtualenv folder, then have one or more "driver" scripts that load the virtualenv environment, and then call a sub-script.
In this case, I've named the driver script
miso. It loads the virtualenv environment, and then calls the installed o MISO scripts. The MISO scripts are installed in env/bin.Usage:
miso cmd argsExample:
miso run_miso --compare-samples control/ knockdown/ comparisons/To make it easier to install, I added an install.sh script that automates setting up the virtualenv folder, and builds MISO. It then installs the required dependencies. I added this as the default method in the Makefile.