Skip to content

Commit

Permalink
Merge pull request #194 from sot/explicit_default_numpy
Browse files Browse the repository at this point in the history
Set default numpy version when building to 1.12
  • Loading branch information
jeanconn authored Sep 10, 2019
2 parents 2c67ce9 + 842809f commit bb05344
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ska_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
args = parser.parse_args()

PERL = '5.26.2'
NUMPY = '1.12'
raw_build_list = open(args.build_list).read()
BUILD_LIST = raw_build_list.split("\n")
# Remove any that are commented out for some reason
Expand Down Expand Up @@ -103,7 +104,9 @@ def build_package(name):
pkg_path = os.path.join(pkg_defs_path, name)
cmd_list = ["conda", "build", pkg_path, "--croot",
BUILD_DIR, "--no-test", "--old-build-string",
"--no-anaconda-upload", "--skip-existing", "--perl", PERL]
"--no-anaconda-upload", "--skip-existing",
"--numpy", NUMPY,
"--perl", PERL]
subprocess.run(cmd_list, check=True)


Expand Down

0 comments on commit bb05344

Please sign in to comment.