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):