diff --git a/appveyor.yml b/appveyor.yml index e0272dea..6e006acd 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -4,7 +4,7 @@ environment: matrix: # For Python versions available on Appveyor, see # https://www.appveyor.com/docs/windows-images-software/#python - - PYTHON: "C:\\Python27" + - PYTHON: "C:\\Python36" install: # We need wheel installed to build wheels @@ -15,21 +15,17 @@ install: #- "activate test-environment" #- "conda install pycurl" - "%PYTHON%\\python.exe -m pip install wheel" - - "appveyor DownloadFile https://github.com/DigitalGlobe/gbdxtools-windows-binaries/raw/master/numpy-1.13.1+mkl-cp27-cp27m-win32.whl" - - "%PYTHON%\\python.exe -m pip install numpy-1.13.1+mkl-cp27-cp27m-win32.whl" - - "appveyor DownloadFile https://github.com/DigitalGlobe/gbdxtools-windows-binaries/raw/master/scipy-0.19.1-cp27-cp27m-win32.whl" - - "%PYTHON%\\python.exe -m pip install scipy-0.19.1-cp27-cp27m-win32.whl" - - "appveyor DownloadFile https://github.com/DigitalGlobe/gbdxtools-windows-binaries/raw/master/scikit_image-0.13.0-cp27-cp27m-win32.whl" - - "%PYTHON%\\python.exe -m pip install scikit_image-0.13.0-cp27-cp27m-win32.whl" - - "appveyor DownloadFile https://github.com/DigitalGlobe/gbdxtools-windows-binaries/raw/master/GDAL-2.1.3-cp27-cp27m-win32.whl" - - "%PYTHON%\\python.exe -m pip install GDAL-2.1.3-cp27-cp27m-win32.whl" - - "appveyor DownloadFile https://github.com/DigitalGlobe/gbdxtools-windows-binaries/raw/master/Shapely-1.5.17-cp27-cp27m-win32.whl" - - "%PYTHON%\\python.exe -m pip install Shapely-1.5.17-cp27-cp27m-win32.whl" - - "appveyor DownloadFile https://github.com/DigitalGlobe/gbdxtools-windows-binaries/raw/master/pyproj-1.9.5.1-cp27-cp27m-win32.whl" - - "%PYTHON%\\python.exe -m pip install pyproj-1.9.5.1-cp27-cp27m-win32.whl" - - "appveyor DownloadFile https://download.lfd.uci.edu/pythonlibs/t7epjj8p/pycurl-7.43.0.3-cp27-cp27m-win32.whl" - - "%PYTHON%\\python.exe -m pip install pycurl-7.43.0.3-cp27-cp27m-win32.whl" - - "%PYTHON%\\python.exe -m pip install matplotlib pytest" + - "appveyor DownloadFile https://download.lfd.uci.edu/pythonlibs/q4hpdf1k/numpy-1.18.1+mkl-cp36-cp36m-win32.whl" + - "%PYTHON%\\python.exe -m pip install numpy-1.18.1+mkl-cp36-cp36m-win32.whl" + - "appveyor DownloadFile https://github.com/DigitalGlobe/gbdxtools-windows-dependencies/raw/master/pycurl-7.43.0.4-cp36-cp36m-win32.whl" + - "%PYTHON%\\python.exe -m pip install pycurl-7.43.0.4-cp36-cp36m-win32.whl" + - "appveyor DownloadFile https://github.com/DigitalGlobe/gbdxtools-windows-dependencies/raw/master/Shapely-1.6.4.post2-cp36-cp36m-win32.whl" + - "%PYTHON%\\python.exe -m pip install Shapely-1.6.4.post2-cp36-cp36m-win32.whl" + - "appveyor DownloadFile https://github.com/DigitalGlobe/gbdxtools-windows-dependencies/raw/master/scikit_image-0.16.2-cp36-cp36m-win32.whl" + - "%PYTHON%\\python.exe -m pip install scikit_image-0.16.2-cp36-cp36m-win32.whl" + - "appveyor DownloadFile https://github.com/DigitalGlobe/gbdxtools-windows-dependencies/raw/master/scipy-1.4.1-cp36-cp36m-win32.whl" + - "%PYTHON%\\python.exe -m pip install scipy-1.4.1-cp36-cp36m-win32.whl" + - "%PYTHON%\\python.exe -m pip install matplotlib pytest vcrpy mock moto" - "%PYTHON%\\python.exe -m pip install -r requirements.txt" build: off diff --git a/install_windows.md b/install_windows.md index 496ca3d1..96ec6051 100644 --- a/install_windows.md +++ b/install_windows.md @@ -3,39 +3,41 @@ Install Python -------------- Open up a web browser and paste in this URL to download python: -```https://www.python.org/ftp/python/2.7.13/python-2.7.13.msi``` +```https://www.python.org/ftp/python/3.7.5/python-3.7.5-amd64.exe``` Open up the download and make sure you check the box "add python.exe to path". Install Other Dependencies -------------- -Install gdal: +Install numpy: -Open windows powershell (not the cmd utility): +``` +pip install https://download.lfd.uci.edu/pythonlibs/q4hpdf1k/numpy-1.18.1+mkl-cp37-cp37m-win_amd64.whl +``` + +Install pycurl: ``` -curl -outf GDAL-2.1.3-cp27-cp27m-win32.whl https://github.com/DigitalGlobe/gbdxtools-windows-binaries/blob/master/GDAL-2.1.3-cp27-cp27m-win32.whl?raw=true -pip install .\GDAL-2.1.3-cp27-cp27m-win32.whl +pip install https://github.com/DigitalGlobe/gbdxtools-windows-dependencies/raw/master/pycurl-7.43.0.4-cp37-cp37m-win_amd64.whl ``` Install Shapely: ``` -curl -outf Shapely-1.5.17-cp27-cp27m-win32.whl https://github.com/DigitalGlobe/gbdxtools-windows-binaries/blob/master/Shapely-1.5.17-cp27-cp27m-win32.whl?raw=true -pip install .\Shapely-1.5.17-cp27-cp27m-win32.whl +pip install https://github.com/DigitalGlobe/gbdxtools-windows-dependencies/raw/master/Shapely-1.6.4.post2-cp37-cp37m-win_amd64.whl ``` -Install pyproj: +Install scikit_image: ``` -curl -outf pyproj-1.9.5.1-cp27-cp27m-win32.whl https://github.com/DigitalGlobe/gbdxtools-windows-binaries/blob/master/pyproj-1.9.5.1-cp27-cp27m-win32.whl?raw=true -pip install .\pyproj-1.9.5.1-cp27-cp27m-win32.whl +pip install https://github.com/DigitalGlobe/gbdxtools-windows-dependencies/raw/master/scikit_image-0.16.2-cp37-cp37m-win_amd64.whl ``` -Install matplotlib: +Install scipy: + ``` -pip install matplotlib +pip install https://github.com/DigitalGlobe/gbdxtools-windows-dependencies/raw/master/scipy-1.4.1-cp37-cp37m-win_amd64.whl ``` Install gbdxtools