From 63004e3de1473254c3b2a75f1e06afaabdacd7dd Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Sun, 19 Aug 2018 18:11:52 -0700 Subject: yaml: use ruamel.yaml instead of pyyaml - ruamel.yaml allows round-tripping comments from/to files - ruamel.yaml is single-source, python2/python3 compatible --- bin/spack | 7 ------- 1 file changed, 7 deletions(-) (limited to 'bin') diff --git a/bin/spack b/bin/spack index 80e47caa1a..22a7032daa 100755 --- a/bin/spack +++ b/bin/spack @@ -49,13 +49,6 @@ if sys.version_info[:2] == (2, 6): sys.path.insert(0, spack_external_libs) -# Handle vendoring of YAML specially, as it has two versions. -if sys.version_info[0] == 2: - spack_yaml_libs = os.path.join(spack_external_libs, "yaml/lib") -else: - spack_yaml_libs = os.path.join(spack_external_libs, "yaml/lib3") -sys.path.insert(0, spack_yaml_libs) - # Once we've set up the system path, run the spack main method import spack.main # noqa sys.exit(spack.main.main()) -- cgit v1.2.3-70-g09d2