mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
new ci data dir
This commit is contained in:
parent
2dafa01321
commit
35772e6a31
@ -225,7 +225,7 @@ class ExportPackages(Command):
|
||||
base, bypy = get_paths()
|
||||
exe = get_exe()
|
||||
for which in ('linux', 'macos', 'windows'):
|
||||
cmd = [exe, bypy, 'export'] + ['download.calibre-ebook.com:/srv/download/ci/calibre6'] + [which]
|
||||
cmd = [exe, bypy, 'export'] + ['download.calibre-ebook.com:/srv/download/ci/calibre7'] + [which]
|
||||
ret = subprocess.Popen(cmd).wait()
|
||||
if ret != 0:
|
||||
raise SystemExit(ret)
|
||||
|
@ -130,7 +130,7 @@ def main():
|
||||
|
||||
tball = 'macos-64' if ismacos else 'linux-64'
|
||||
download_and_decompress(
|
||||
f'https://download.calibre-ebook.com/ci/calibre6/{tball}.tar.xz', SW
|
||||
f'https://download.calibre-ebook.com/ci/calibre7/{tball}.tar.xz', SW
|
||||
)
|
||||
if not ismacos:
|
||||
install_linux_deps()
|
||||
|
@ -33,7 +33,7 @@ def download_file(url):
|
||||
def sw():
|
||||
sw = os.environ['SW']
|
||||
os.chdir(sw)
|
||||
url = 'https://download.calibre-ebook.com/ci/calibre6/windows-64.tar.xz'
|
||||
url = 'https://download.calibre-ebook.com/ci/calibre7/windows-64.tar.xz'
|
||||
tarball = download_file(url)
|
||||
with tarfile.open(fileobj=io.BytesIO(tarball)) as tf:
|
||||
tf.extractall()
|
||||
|
Loading…
x
Reference in New Issue
Block a user