appveyor.yml - Appveyor CI configuration¶
This was based on https://github.com/pyinstaller/pyinstaller/blob/develop/appveyor.yml
Prepend newly installed Python to the PATH of this build (this cannot be done from inside the powershell script as it would require to restart the parent CMD process).
Check that we have the expected version and architecture for Python
Appveyor pip install: Make sure we’re using the latest version of pip.
Avoid using just pip install -U pip
, which produces:
1Exception:
2Traceback (most recent call last):
3 File "c:\python35\lib\shutil.py", line 381, in _rmtree_unsafe
4 os.unlink(fullname)
5PermissionError: [WinError 5] Access is denied: 'C:\\Users\\appveyor\\AppData\\Local\\Temp\\1\\pip-dghcgnoj-uninstall\\python35\\scripts\\pip.exe'
Appveyor pip install command: In order to test, use pip to:
-e
: Put CodeChat in the Python path..[test]
: Install CodeChat’s test dependencies.
I can’t find a way to do this using python setup.py develop
, so I’m
using pip.
Install Graphviz, to allow building the docs.
Register it, to avoid the Format: "png" not recognized. Use one of...
error.