From 03929d59598e583ac4e06e5cc18bd27cbce2b7e6 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 6 Sep 2019 10:52:22 +0530 Subject: [PATCH] Fix building of calibre portable installer --- bypy/windows/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bypy/windows/__main__.py b/bypy/windows/__main__.py index 7eee5facb5..6f1d66b68e 100644 --- a/bypy/windows/__main__.py +++ b/bypy/windows/__main__.py @@ -366,7 +366,7 @@ def install_site_py(env): def build_portable_installer(env): - zf = a(j(env.dist, 'calibre-portable-%s.zip.lz' % VERSION)) + zf = a(j(env.dist, 'calibre-portable-%s.zip.lz' % VERSION)).replace(os.sep, '/') usz = env.portable_uncompressed_size or os.path.getsize(zf) def cc(src, obj):