Skip to content

Commit

Permalink
add some debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmilten committed Sep 11, 2017
1 parent 19fadef commit 49fe49c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ environment:
PIP: C:\Python36-x64\Scripts\pip
PYTEST: C:\Python36-x64\Scripts\pytest
TWINE: C:\Python36-x64\Scripts\twine
SCIPOPTDIR: C:\scipoptdir
password:
secure: HEa8MAJyyfSv33snyK3Gleflk9SIfZBxbnTiS39hlWM=

install:
- cmd: "set PATH=%PYTHON%;%PATH%"
- cmd: "%PIP% install cython networkx pytest wheel twine"
- ps: wget http://scip.zib.de/download/release/SCIPOptSuite-4.0.1-win64.exe -outfile scipopt-installer.exe
- scipopt-installer.exe /S /D=C:\scipoptdir
- set PATH=C:\scipoptdir\lib;%PATH%"
- scipopt-installer.exe /S /D=%SCIPOPTDIR%
- set PATH=%SCIPOPTDIR%\lib;%PATH%"

build_script:
- python setup.py install
Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@

# look for environment variable that specifies path to SCIP Opt lib and headers
scipoptdir = os.environ.get('SCIPOPTDIR', '')

print("scipoptir: " + scipoptdir)
includedir = os.path.abspath(os.path.join(scipoptdir, 'include'))
libdir = os.path.abspath(os.path.join(scipoptdir, 'lib'))
print("includedir: " + includedir)
print("libdir: " + libdir)
libname = 'scip'

cythonize = True
Expand Down

0 comments on commit 49fe49c

Please sign in to comment.