theochem / cgrid

C++ version of horton (2.x) grid functionality
GNU General Public License v3.0
4 stars 1 forks source link

Do in-place build in .travis.yaml in complete conda build env #17

Closed tovrstra closed 7 years ago

tovrstra commented 7 years ago

The build and runtime dependencies can be generated and installed as follows:

conda render tools/conda.recipe > tools/conda.recipe/rendered.yaml
python -c "import yaml; f= open('tools/conda.recipe/rendered.yaml'); data = yaml.load(f); f.close(); deps = data['requirements']['build'] + data['requirements']['run']; print(' '.join(dep.split()[0] for dep in deps))" | xargs conda install --use-local

It may be better to put all of that into one convenient python script. (Needs to be discussed.)

tovrstra commented 7 years ago

Fixed.