@@ -3,55 +3,54 @@ dist: trusty
33sudo : false
44cache :
55 directories :
6- - $HOME/Library/Caches/Homebrew
6+ - " $HOME/Library/Caches/Homebrew"
77env :
88 global :
9- - MUPDF='https://mupdf.com/downloads/mupdf-1.12.0-source.tar.gz'
10- - COPYFILE_DISABLE=1 # for macos tar errors
11- - TWINE_USERNAME=rk700
12-
9+ - MUPDF='https://mupdf.com/downloads/mupdf-1.12.0-source.tar.gz'
10+ - COPYFILE_DISABLE=1
11+ - TWINE_USERNAME=rk700
1312matrix :
1413 include :
15- - os : linux
16- sudo : required
17- python : " 3.6"
18- services :
19- - docker
20- env : PIP=pip
21- before_script :
22- - export CIBW_BEFORE_BUILD="yum install -y zlib-devel && cd mupdf && make HAVE_X11=no HAVE_GLFW=no HAVE_GLUT=no prefix=/usr/local install && cd .."
23- - export CIBW_ENVIRONMENT='CFLAGS="-fPIC -std=gnu99"'
24-
25- - os : osx
26- osx_image : xcode8.3
27- language : generic # osx + "language: python" is broken; use generic
28- services :
29- - docker
30- env : PIP=pip3
31- before_install :
32- - brew update -q
33- - brew outdated python || brew upgrade python # get py3
34- - sudo mkdir -p /usr/local/man && sudo chmod a+rw /usr/local/man # make pip install error go away
35- before_script :
36- - export CIBW_BEFORE_BUILD="cd mupdf && make HAVE_X11=no HAVE_GLFW=no HAVE_GLUT=no prefix=/usr/local install && cd .."
37- - export CIBW_ENVIRONMENT='CFLAGS=-fPIC'
38-
14+ - os : linux
15+ sudo : required
16+ python : ' 3.6'
17+ services :
18+ - docker
19+ env : PIP=pip
20+ before_script :
21+ - export CIBW_BEFORE_BUILD="yum install -y zlib-devel && cd mupdf && make HAVE_X11=no
22+ HAVE_GLFW=no HAVE_GLUT=no prefix=/usr/local install && cd .."
23+ - export CIBW_ENVIRONMENT='CFLAGS="-fPIC -std=gnu99"'
24+ - os : osx
25+ osx_image : xcode8.3
26+ language : generic
27+ services :
28+ - docker
29+ env : PIP=pip3
30+ before_install :
31+ - brew update -q
32+ - brew outdated python || brew upgrade python
33+ - sudo mkdir -p /usr/local/man && sudo chmod a+rw /usr/local/man
34+ before_script :
35+ - export CIBW_BEFORE_BUILD="cd mupdf && make HAVE_X11=no HAVE_GLFW=no HAVE_GLUT=no
36+ prefix=/usr/local install && cd .."
37+ - export CIBW_ENVIRONMENT='CFLAGS=-fPIC'
3938install :
40- - $PIP install cibuildwheel==0.7.0 twine
41- - mkdir mupdf && wget -q $MUPDF -O - | tar zx -C mupdf --strip-components=1
42- - cp fitz/_mupdf_config.h mupdf/include/mupdf/fitz/config.h
43-
39+ - " $PIP install cibuildwheel==0.7.0 twine"
40+ - mkdir mupdf && wget -q $MUPDF -O - | tar zx -C mupdf --strip-components=1
41+ - cp fitz/_mupdf_config.h mupdf/include/mupdf/fitz/config.h
4442script :
45- - export CIBW_ENVIRONMENT='CFLAGS="-fPIC -std=gnu99"'
46- - export CIBW_SKIP="cp33-* *i686" # Skip Python 3.3 and i686 (<1% of users now)
47- - export CIBW_TEST_COMMAND="python -c 'import fitz'"
48- - cibuildwheel --output-dir wheelhouse
49-
43+ - export CIBW_ENVIRONMENT='CFLAGS="-fPIC -std=gnu99"'
44+ - export CIBW_SKIP="cp33-* *i686"
45+ - export CIBW_TEST_COMMAND="python -c 'import fitz'"
46+ - cibuildwheel --output-dir wheelhouse
5047deploy :
51- provider : pages
52- skip-cleanup : true
53- local-dir : wheelhouse
54- github_token : $GITHUB_TOKEN
55- target-branch : wheels
48+ provider : releases
49+ api_key :
50+ secure : aZCfaInTGLFs2Ik60w61g/wK7IR4sxK035H+YiKvIrwyufUVuafFlRlG9FLsxrhgYlh7KalNJciD9kdYCgQ3qt21lud9CviBgwNdFGF8LoUhzflr+MzOP51ESnHMgN3t51lN7Ui2RrFlsbST34O28tq8vyPitDS3AMXeuUSZzx8GpsFr/5wRvikd0q1QxF+KkeTp0iVRu4woV0LUNnDylEHRmHdvObuIXkQJunvsXW/Zpxzk8rREdW1/4mBqWV2H8ywk5nptgHfwcjmrpoPHrJOkgXYkXkONzXdC0OuL5SSHLFF4NPNNVdf6Rz4RoGsozI5rDvJ1lEEijz+1sEIQAvghprv9LgiSKs4ECnGtk6J65NCf1KT+3Sj7zcl9C7MmOdJFgnIeWGj5a34i+lGIph30ji3MiBwTnApMyaWHxF6+qshkmN5E+m4Y8XHVAS8gR3EEvLwPR15wmfRATHE2uc1y7p6yNeR95wS5xFqsrXjyZY0/9Ht29JQh/R1NZdLVNJD0/1hcaEhwMSTa1YGmDrUh+wGNjRlPgzS/y3nKG9vwFyPcO8sWaFVMBz1VyqT2ZYQq8Qg2Wtg3r0TvqntwN2ois9KRsr+j8yKGEXkTwZoi/6uL7sjl/NHUL5ps37s1h8GRMdhtQ4dz1s2x+E8kj5cZFGopFybAp44jmdz80wo=
51+ overwrite : true
52+ file_glob : true
53+ skip_cleanup : true
54+ file : wheelhouse/*
5655 on :
57- branch : master
56+ repo : rk700/PyMuPDF
0 commit comments