Skip to content

ci: build source distribution on appveyor. close #82 #83

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 27, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ init:
- ps: "ls C:/Python*"

install:
- SET PATH=%PYTHON%;%PYTHON%\scripts;%PATH%
- echo "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 > "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\vcvars64.bat"
- pip install -r dev-requirements.txt

build_script:
- python -m pip install -U pip setuptools
- python setup.py sdist
- pip install cibuildwheel==1.0.0
- cibuildwheel --output-dir wheelhouse

Expand All @@ -32,7 +32,9 @@ deploy_script:
$env:Path += ";C:\Python37;C:\Python37\scripts"
pip install twine
twine upload --username whtsky --password $env:PYPI_PASSWD wheelhouse/bencoder*.whl
twine upload --username whtsky --password $env:PYPI_PASSWD dist/bencoder*
}

artifacts:
- path: wheelhouse/bencoder*.whl
- path: dist/bencoder*