|
|
@@ -14,6 +14,7 @@ environment: |
|
|
|
WRAPPER: "cmd /E:ON /V:ON /C .\\scripts\\win_wrapper.cmd" |
|
|
|
PIP: "%WRAPPER% %PYTHON%\\Scripts\\pip.exe" |
|
|
|
SETUPPY: "%WRAPPER% %PYTHON%\\python setup.py --with-extension" |
|
|
|
PYMOD: "%WRAPPER% %PYTHON%\\python -m" |
|
|
|
PYPI_USERNAME: "earwigbot" |
|
|
|
PYPI_PASSWORD: |
|
|
|
secure: gOIcvPxSC2ujuhwOzwj3v8xjq3CCYd8keFWVnguLM+gcL0e02qshDHy7gwZZwj0+ |
|
|
@@ -56,7 +57,7 @@ after_test: |
|
|
|
- "%SETUPPY% bdist_wheel" |
|
|
|
|
|
|
|
on_success: |
|
|
|
- "twine upload dist\\* -u %PYPI_USERNAME% -p %PYPI_PASSWORD%" |
|
|
|
- "%PYMOD% twine upload dist\\* -u %PYPI_USERNAME% -p %PYPI_PASSWORD%" |
|
|
|
|
|
|
|
artifacts: |
|
|
|
- path: dist\* |
|
|
|