Skip to content

There is a problem with the size of the packaged program file #3048

Open
@pychans

Description

@pychans

The latest version of packaged program files is more than twice as large as before。
Windows10, Python 3.8.10

V0.19.0: flet pack main.py: 31,954 KB
V0.19.0: pyinstaller -F -w main.py: 30,651 KB
V0.22.0: flet pack main.py: 76,558 KB
V0.22.0: pyinstaller -F -w main.py: 51,296 KB
V0.23.2: flet pack main.py: 77,353 KB
V0.23.2: pyinstaller -F -w main.py: 52.127 KB
code:

import flet as ft

def main(page: ft.Page):
    page.title = "ToDo App"
    page.horizontal_alignment = ft.CrossAxisAlignment.CENTER
    page.update()

    page.add(ft.Text(value='test'))

ft.app(target=main)

requirements.txt:
flet
pyinstaller

Metadata

Metadata

Assignees

No one assigned

    Labels

    performanceRelated to Flet's performance.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions