From e3a4cf9d481ff6704af27492ca1a3bbaf8b2ddbb Mon Sep 17 00:00:00 2001 From: Bill Ladwig Date: Fri, 6 Jan 2017 16:19:30 -0700 Subject: [PATCH] Added a build bat for Windows --- conda_recipe/build.bat | 1 + conda_recipe/build.sh | 8 +++----- 2 files changed, 4 insertions(+), 5 deletions(-) create mode 100644 conda_recipe/build.bat diff --git a/conda_recipe/build.bat b/conda_recipe/build.bat new file mode 100644 index 0000000..61b5784 --- /dev/null +++ b/conda_recipe/build.bat @@ -0,0 +1 @@ +pip install --global-option build --global-option --compiler=mingw32 --global-option --fcompiler=gnu95 diff --git a/conda_recipe/build.sh b/conda_recipe/build.sh index 1b389c5..5f9f03d 100644 --- a/conda_recipe/build.sh +++ b/conda_recipe/build.sh @@ -4,10 +4,8 @@ if [ `uname` == Darwin ]; then LDFLAGS="$LDFLAGS -undefined dynamic_lookup -bundle" fi -if [`uname` == Darwin] || [`uname` == Linux]; then - pip install . -else - pip install --global-option build --global-option --compiler=mingw32 --global-option --fcompiler=gnu95 -fi + +pip install . +