Add Phonopy and PyYAML Python modules

This commit is contained in:
Adam J. Stewart
2016-02-02 12:54:24 -06:00
parent 9eb037bc87
commit d2fb1522a3
2 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
from spack import *
class PyPyyaml(Package):
"""PyYAML is a YAML parser and emitter for Python."""
homepage = "http://pyyaml.org/wiki/PyYAML"
url = "http://pyyaml.org/download/pyyaml/PyYAML-3.11.tar.gz"
version('3.11', 'f50e08ef0fe55178479d3a618efe21db')
extends('python')
def install(self, spec, prefix):
python('setup.py', 'install', '--prefix=%s' % prefix)