##// END OF EJS Templates
windows-ci: run Windows CI automatically alongside the others...
windows-ci: run Windows CI automatically alongside the others This will enable us to make Windows Python 3 a first-class citizen for the next 6.0 cycle. We will probably get some flaky tests and we're missing others that are skipped, but we'll turn them on it future patches. Differential Revision: https://phab.mercurial-scm.org/D11256

File last commit:

r43346:2372284d default
r48618:6ec89734 stable
Show More
pypi.py
21 lines | 551 B | text/x-python | PythonLexer
Gregory Szorc
automation: implement "publish-windows-artifacts" command...
r43177 # pypi.py - Automation around PyPI
#
# Copyright 2019 Gregory Szorc <gregory.szorc@gmail.com>
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
# no-check-code because Python 3 native.
Augie Fackler
formatting: blacken the codebase...
r43346 from twine.commands.upload import upload as twine_upload
from twine.settings import Settings
Gregory Szorc
automation: implement "publish-windows-artifacts" command...
r43177
def upload(paths):
"""Upload files to PyPI.
`paths` is an iterable of `pathlib.Path`.
"""
settings = Settings()
twine_upload(settings, [str(p) for p in paths])