Skip to content

Commit bd8495b

Browse files
authored
ci: build source distribution on appveyor. close #82 (#83)
1 parent 0a44eb8 commit bd8495b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

appveyor.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ init:
1212
- ps: "ls C:/Python*"
1313

1414
install:
15-
- SET PATH=%PYTHON%;%PYTHON%\scripts;%PATH%
1615
- 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"
1716
- pip install -r dev-requirements.txt
1817

1918
build_script:
2019
- python -m pip install -U pip setuptools
20+
- python setup.py sdist
2121
- pip install cibuildwheel==1.0.0
2222
- cibuildwheel --output-dir wheelhouse
2323

@@ -32,7 +32,9 @@ deploy_script:
3232
$env:Path += ";C:\Python37;C:\Python37\scripts"
3333
pip install twine
3434
twine upload --username whtsky --password $env:PYPI_PASSWD wheelhouse/bencoder*.whl
35+
twine upload --username whtsky --password $env:PYPI_PASSWD dist/bencoder*
3536
}
3637
3738
artifacts:
3839
- path: wheelhouse/bencoder*.whl
40+
- path: dist/bencoder*

0 commit comments

Comments
 (0)