This repository was archived by the owner on Oct 24, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ import pipes
1010import subprocess
1111import tempfile
1212
13- from twine .commands import upload
14-
1513
1614def check_call (* cmd ):
1715 print (
@@ -43,8 +41,7 @@ def main():
4341 '{} wheel --verbose --wheel-dir /work --no-deps libsass && '
4442 'auditwheel repair --wheel-dir /dist /work/*.whl' .format (pip ),
4543 )
46- dists = tuple (os .path .join ('dist' , p ) for p in os .listdir ('dist' ))
47- return upload .main (('-r' , 'pypi' , '--skip-existing' ) + dists )
44+ return 0
4845
4946
5047if __name__ == '__main__' :
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import urllib.request
88import zipfile
99
1010DEFINITION_RE = re .compile (
11- r'https://(?P<org>[^. ]+)\.visualstudio\.com /(?P<project>[^/]+)'
11+ r'https://dev.azure.com/ (?P<org>[^/ ]+)/(?P<project>[^/]+)'
1212 r'/_build/latest\?definitionId=(?P<definition>\d+)' ,
1313)
1414BUILDS = 'https://dev.azure.com/{org}/{project}/_apis/build/builds?api-version=5.0&definitions={definition}&$top=5' # noqa: E501
@@ -21,7 +21,7 @@ def main() -> int:
2121 parser .add_argument ('--dest' , default = 'dist' )
2222 args = parser .parse_args ()
2323
24- with open ('README.md ' ) as f :
24+ with open ('README.rst ' ) as f :
2525 match = DEFINITION_RE .search (f .read ())
2626 assert match
2727
You can’t perform that action at this time.
0 commit comments