This repository has been archived by the owner on Jan 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
appveyor.yml
52 lines (45 loc) · 1.79 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
image:
- Visual Studio 2022
environment:
matrix:
- PYTHON: "C:\\Python310-x64"
PYTHON_VERSION: "3.10.x"
PYTHON_ARCH: "64"
cache:
# Use the appveyor cache to avoid re-downloading large archives such
# the MKL numpy and scipy wheels mirrored on a rackspace cloud
# container, speed up the appveyor jobs and reduce bandwidth.
# Tips taken from scikit-learn.
- c:\miktex -> .\bin\miktex-install.bat
- '%APPDATA%\pip\Cache'
install:
- set "PATH=%PATH%;c:\miktex\miktex\bin"
- if not exist c:\miktex\miktex\bin\pdflatex.exe .\bin\miktex-install.bat
# Python
- "%PYTHON%\\python -m pip install --upgrade pip"
- "%PYTHON%\\Scripts\\pip install -r requirements.txt"
- "%PYTHON%\\Scripts\\pip install pymyinstall"
- "%PYTHON%\\Scripts\\pymy_install3 pylzma"
- "%PYTHON%\\Scripts\\pip install cryptography pycryptodomex"
# - "%PYTHON%\\Scripts\\pip install backports.shutil-get-terminal-size"
# - "%PYTHON%\\Scripts\\pip install https://github.com/ipython-contrib/jupyter_contrib_nbextensions/tarball/master"
# - "dir %PYTHON%\\Scripts"
# - "%PYTHON%\\Scripts\\jupyter-nbextension enable --py --sys-prefix widgetsnbextension"
# - "%PYTHON%\\python -c \"from pymyinstall.fix import fix_win32ctypes_core_cffi__advapi32_py;fix_win32ctypes_core_cffi__advapi32_py(fLOG=print)\""
- "%PYTHON%\\Scripts\\pip install tkinterquickhelper --no-deps"
- set PYTHONPATH=src
- set MPLBACKEND=AGG
build: off
# before_test:
# - cinst pandoc
# - ps: $env:Path += ";C:\Program Files (x86)\Pandoc\"
# - pandoc -v
# - cinst imagemagick
test_script:
- "%PYTHON%\\python -u setup.py build_script"
- "%PYTHON%\\python -u setup.py unittests"
after_test:
- "%PYTHON%\\python -u setup.py bdist_wheel"
artifacts:
- path: dist
name: pyquickhelper