mirror of
https://github.com/google/brotli.git
synced 2024-11-25 04:50:05 +00:00
appveyor: also upload source distribution packages to Github Releases
This is so that one can do: pip install --find-links https://github.com/google/brotli/releases/latest brotli on any platform, whether or not there are pre-compiled *.whl packages that match the user's python version and anchitecture (e.g. Linux). Pip automatically chooses the correct binary package, and if that isn't available the source distribution (*.tar.gz or *.zip) is downloaded.
This commit is contained in:
parent
3a77ebe1f4
commit
a8d1bf5266
11
appveyor.yml
11
appveyor.yml
@ -48,8 +48,8 @@ install:
|
||||
# upgrade pip to avoid out-of-date warnings
|
||||
- "pip install --disable-pip-version-check --user --upgrade pip"
|
||||
|
||||
# install wheel to build compiled packages
|
||||
- "pip install --upgrade wheel"
|
||||
# install/upgrade setuptools and wheel to build packages
|
||||
- "pip install --upgrade setuptools wheel"
|
||||
|
||||
build: false
|
||||
|
||||
@ -57,12 +57,15 @@ test_script:
|
||||
- "%WITH_COMPILER% python setup.py build_ext test"
|
||||
|
||||
after_test:
|
||||
# if tests are successful, create binary packages for the project
|
||||
# if tests are successful, create binary and source packages for the project
|
||||
- "%WITH_COMPILER% pip wheel -w dist ."
|
||||
- "%WITH_COMPILER% python setup.py sdist --formats=gztar,zip"
|
||||
|
||||
artifacts:
|
||||
# archive the generated packages in the ci.appveyor.com build report
|
||||
- path: dist\*
|
||||
- path: dist\*.whl
|
||||
- path: dist\*.zip
|
||||
- path: dist\*.tar.gz
|
||||
|
||||
# For info, see: http://www.appveyor.com/docs/deployment/github
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user