Skip to content

Commit

Permalink
Merge pull request #45 from bashtage/binstar-bld-fix
Browse files Browse the repository at this point in the history
BLD: Improve binstar build files
  • Loading branch information
bashtage committed Feb 23, 2015
2 parents 035eca7 + 3c4e6ea commit 3721613
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
6 changes: 2 additions & 4 deletions building/binstar/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: arch
version: "2.0"
version: "3.0"

source:
git_url: https://github.com/bashtage/arch.git
Expand All @@ -12,15 +12,14 @@ requirements:
build:
- python
- setuptools
- cython 0.20*
- cython 0.22*
- numpy
- scipy
- pandas
- patsy
- statsmodels
- matplotlib
- ipython-notebook
- setuptools
- pywin32 # [win]

run:
Expand All @@ -34,7 +33,6 @@ requirements:
- statsmodels
- matplotlib
- ipython-notebook
- setuptools
- pywin32 # [win]

test:
Expand Down
2 changes: 1 addition & 1 deletion building/binstar_unix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ else
export OS=linux-64
fi

sudo Xvfb :99 -nolisten tcp -fbdir /var/run
sudo Xvfb :99 -nolisten tcp -fbdir /var/run &

## declare Python and Numpy Versions
declare -a PY_VERSIONS=( "27" "33" "34" )
Expand Down
4 changes: 3 additions & 1 deletion building/binstar_windows.bat
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ set NPY_VERSION=18 19

cd %CURRENT_WORKING_DIR%
IF %%P==27 (
call python2_setup.bat
REM No longer needed using Python Tools
REM call python2_setup.bat
) ELSE (
call python3_setup.bat
)
set PATH=C:\Program Files (x86)\Git\bin;%PATH%;
set CONDA_PY=%%P
set CONDA_NPY=%%N
echo Python: !CONDA_PY!, NumPy: !CONDA_NPY!
Expand Down
10 changes: 5 additions & 5 deletions building/python2_setup.bat
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
echo Python 2.x setup
REM Setup compiler
REM The Windows 7 SDK with .Net 3.5 is buggy on Windows 8. These paths are needed to fix these issues
set PATH=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE;%PATH%
set INCLUDE=C:\Program Files\Microsoft SDKs\Windows\v7.0\Include;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include;%INCLUDE%
set LIB=C:\Program Files\Microsoft SDKs\Windows\v7.0\Lib\x64;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\lib\amd64
set DISTUTILS_USE_SDK=1
REM set PATH=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE;%PATH%
REM INCLUDE=C:\Program Files\Microsoft SDKs\Windows\v7.0\Include;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include;%INCLUDE%
REM LIB=C:\Program Files\Microsoft SDKs\Windows\v7.0\Lib\x64;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\lib\amd64
REM set DISTUTILS_USE_SDK=1
REM This setenv is the setenv that came with SDK7, with the bugs fixed
CALL "C:\temp\setenv" /x64 /release
REM CALL "C:\temp\setenv" /x64 /release

0 comments on commit 3721613

Please sign in to comment.