@@ -8,8 +8,6 @@ ln -s /cygdrive/c /c
88cd ..
99export ARTIFACTS_FOLDER=` cygpath -a -w ./artifacts`
1010
11- export PATH=" $PATH :/c/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin"
12-
1311BUILD_WHEELS=1
1412if [ " $BUILD_WHEELS " == " 1" ]; then
1513 # conda-build with wheels doesn't seem consistent so
@@ -18,16 +16,16 @@ if [ "$BUILD_WHEELS" == "1" ]; then
1816 # Use the official Python already installed in AppVeyor
1917 cd dss_python
2018
21- # Python 27 is kept last since we rebuild klusolve for it
2219 if [ " $CONDA_SUBDIR " == " win-32" ]; then
23- PYTHON_VERSIONS=" 35 36 37 38 "
20+ PYTHON_VERSIONS=" 39 38 35 36 37"
2421 else
25- PYTHON_VERSIONS=" 35 -x64 36 -x64 37 -x64 38 -x64"
22+ PYTHON_VERSIONS=" 39 -x64 38 -x64 35 -x64 36-x64 37 -x64"
2623 fi
2724
2825 for A in $PYTHON_VERSIONS
2926 do
3027 echo Building for Python $A $CONDA_SUBDIR ...
28+ c:/Python${A} /python -m pip install --upgrade pip
3129 c:/Python${A} /scripts/pip install cffi wheel
3230 rm -rf .eggs build
3331 c:/Python${A} /python setup.py --quiet bdist_wheel --dist-dir=" $ARTIFACTS_FOLDER "
8280 # conda install -q conda-build=3.10.9
8381fi # BUILD_WHEELS
8482
85- # # Build conda packages
86- # export CONDA_SUBDIR=win-32
87- # conda-build --quiet --no-test --output-folder "$ARTIFACTS_FOLDER" conda
88- # export CONDA_SUBDIR=win-64
89- # conda-build --quiet --no-test --output-folder "$ARTIFACTS_FOLDER" conda
90-
91- # # # Build wheels with conda
92- # # # (if we keep the output section always, the default package
93- # # # is ignored, uses wrong names, etc.)
94- # # rm -rf conda_wheels
95- # # cp -R conda conda_wheels
96- # # cat conda/meta_wheels.yaml >> conda_wheels/meta.yaml
97- # # export CONDA_SUBDIR=win-32
98- # # conda-build --output-folder ../artifacts conda_wheels
99- # # export CONDA_SUBDIR=win-64
100- # # conda-build --output-folder ../artifacts conda_wheels
101-
102- # # # undo the change, just in case
103- # # git checkout conda/meta.yaml
104-
105- # if [ -n "$ANACONDA_API_TOKEN" ]; then
106- # echo Upload artifacts to anaconda.org...
107- # find ../artifacts -name "*.whl" -or -name "*.tar.bz2" | xargs -I {} anaconda upload --no-progress -l main -u pmeira {}
108- # fi
83+ # Build conda packages
84+ conda-build --quiet --no-test --output-folder " $ARTIFACTS_FOLDER " conda
0 commit comments