HazyResearch/deepdive — pull request #157 by larryxiao (2014-10-16 07:53:53+00:00)
Title: Copy scripts to installation path, to resolve #152

To allow deepdive to run from anywhere

#### path issue
I agree `deepdive` should be able to run anywhere. And I think of three approaches:

1. A naive approach is, when installing, include `DEEPDIVE_HOME` in the launch script. and upon execution change directory to `DEEPDIVE_HOME` in it. In this way, the assumption can be kept.
2. Or when referring to scripts, do it like `python $DEEPDIVE_HOME/util/tobinary.py`. But I think keeping the executable and scripts in two places isn't neat.
3. Another way is to copy the `util/*` scripts to installation. I think this is clear, and won't interfere development / deployment.

What do you think?