##// END OF EJS Templates
Modernize setuptools usage in pyproject.toml...
Modernize setuptools usage in pyproject.toml 1. Remove the redundant `wheel` dependency. The setuptools build backend has been adding it automatically since day one, and it was explicitly specified in the docs as a mistake. See: https://github.com/pypa/setuptools/commit/f7d30a9529378cf69054b5176249e5457aaf640a 2. Replace the legacy backend with the regular backend. The legacy backend was only intended to be used implicitly when `pyproject.toml` does not specify only, and was not supposed to be specified explicitly there. See: https://github.com/pypa/setuptools/issues/1689 3. Prepend the current directory to `sys.path` as required for `setup.py` to reliably import `setupbase`. The non-legacy backend no longer does this for us.

File last commit:

r27520:b2f71a87
r27682:971e5ce2
Show More
appveyor.yml
27 lines | 752 B | text/x-yaml | YamlLexer
build: false
matrix:
fast_finish: true # immediately finish build once one of the jobs fails.
environment:
global:
APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2022'
COLUMNS: 120 # Appveyor web viewer window width is 130 chars
matrix:
- PYTHON: "C:\\Python38"
PYTHON_VERSION: "3.8.x"
PYTHON_ARCH: "32"
init:
- "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%"
install:
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- python -m pip install --upgrade setuptools 'pip<22'
- pip install pytest-cov
- pip install -e .[test_extra]
test_script:
- pytest --color=yes -ra --cov --cov-report=xml
on_finish:
- curl -Os https://uploader.codecov.io/latest/windows/codecov.exe
- codecov -e PYTHON_VERSION,PYTHON_ARCH