flet-desktop 0.26.0.dev4040__py3-none-musllinux_1_2_x86_64.whl → 0.81.0.dev7213__py3-none-musllinux_1_2_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- flet_desktop/__init__.py +8 -6
- flet_desktop/app/flet-linux-amd64.tar.gz +0 -0
- flet_desktop/version.py +1 -1
- flet_desktop-0.81.0.dev7213.dist-info/METADATA +16 -0
- flet_desktop-0.81.0.dev7213.dist-info/RECORD +7 -0
- {flet_desktop-0.26.0.dev4040.dist-info → flet_desktop-0.81.0.dev7213.dist-info}/WHEEL +2 -1
- flet_desktop-0.81.0.dev7213.dist-info/top_level.txt +1 -0
- flet_desktop-0.26.0.dev4040.dist-info/METADATA +0 -24
- flet_desktop-0.26.0.dev4040.dist-info/RECORD +0 -6
flet_desktop/__init__.py
CHANGED
|
@@ -48,7 +48,7 @@ async def open_flet_view_async(page_url, assets_dir, hidden):
|
|
|
48
48
|
def close_flet_view(pid_file):
|
|
49
49
|
if pid_file is not None and os.path.exists(pid_file):
|
|
50
50
|
try:
|
|
51
|
-
with open(pid_file) as f:
|
|
51
|
+
with open(pid_file, encoding="utf-8") as f:
|
|
52
52
|
fvp_pid = int(f.read())
|
|
53
53
|
logger.debug(f"Flet View process {fvp_pid}")
|
|
54
54
|
os.kill(fvp_pid, signal.SIGKILL)
|
|
@@ -145,10 +145,13 @@ def __locate_and_unpack_flet_view(page_url, assets_dir, hidden):
|
|
|
145
145
|
for f in os.listdir(temp_flet_dir):
|
|
146
146
|
if f.endswith(".app"):
|
|
147
147
|
app_name = f
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
148
|
+
if app_name is None:
|
|
149
|
+
raise FileNotFoundError(
|
|
150
|
+
f"Application bundle not found in {temp_flet_dir}"
|
|
151
|
+
)
|
|
151
152
|
app_path = temp_flet_dir.joinpath(app_name)
|
|
153
|
+
logger.info(f"page_url: {page_url}")
|
|
154
|
+
logger.info(f"pid_file: {pid_file}")
|
|
152
155
|
args = ["open", str(app_path), "-n", "-W", "--args", page_url, pid_file]
|
|
153
156
|
elif is_linux():
|
|
154
157
|
app_path = None
|
|
@@ -207,9 +210,8 @@ def __download_flet_client(file_name):
|
|
|
207
210
|
ver = flet_desktop.version.version
|
|
208
211
|
if not ver:
|
|
209
212
|
import flet.version
|
|
210
|
-
from flet.version import update_version
|
|
211
213
|
|
|
212
|
-
ver = flet.version.
|
|
214
|
+
ver = flet.version.flet_version
|
|
213
215
|
temp_arch = Path(tempfile.gettempdir()).joinpath(file_name)
|
|
214
216
|
flet_url = f"https://github.com/flet-dev/flet/releases/download/v{ver}/{file_name}"
|
|
215
217
|
logger.info(f"Downloading Flet v{ver} from {flet_url} to {temp_arch}")
|
|
Binary file
|
flet_desktop/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
version = "
|
|
1
|
+
version = ""
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: flet-desktop
|
|
3
|
+
Version: 0.81.0.dev7213
|
|
4
|
+
Summary: Flet Desktop client in Flutter
|
|
5
|
+
Author-email: "Appveyor Systems Inc." <hello@flet.dev>
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://flet.dev
|
|
8
|
+
Project-URL: Repository, https://github.com/flet-dev/flet
|
|
9
|
+
Project-URL: Documentation, https://flet.dev/docs
|
|
10
|
+
Requires-Python: >=3.10
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
Requires-Dist: flet
|
|
13
|
+
|
|
14
|
+
# Flet Desktop client in Flutter
|
|
15
|
+
|
|
16
|
+
This package contains a compiled Flutter Flet desktop client.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
flet_desktop/__init__.py,sha256=7S9FvCf4H5jbbbfcIgu8dkUxbysSnTHgDeo4SZUMo0I,8611
|
|
2
|
+
flet_desktop/version.py,sha256=0ePmO_Cak8o-_6HvGni7ZWTWmm9C8Mbz8SamFrt-rLw,13
|
|
3
|
+
flet_desktop/app/flet-linux-amd64.tar.gz,sha256=hyMfJyoqIRQA-X7EZ-nhCpA9_KwbXfewZYK5GfWuHyA,22251146
|
|
4
|
+
flet_desktop-0.81.0.dev7213.dist-info/METADATA,sha256=l7q6wrT_sw9Xb_AZkzztISYhS5MCmApBc3F80sK6ohI,520
|
|
5
|
+
flet_desktop-0.81.0.dev7213.dist-info/WHEEL,sha256=kKvKQDBKEDLIbPtzFWdY8k9TxoW7_fcQ5Jy_WkRvm2c,108
|
|
6
|
+
flet_desktop-0.81.0.dev7213.dist-info/top_level.txt,sha256=ugIkH3TGoxP2-XUffs2tqRF1Qi9icFhrR1d1SSzgktc,13
|
|
7
|
+
flet_desktop-0.81.0.dev7213.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
flet_desktop
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.3
|
|
2
|
-
Name: flet-desktop
|
|
3
|
-
Version: 0.26.0.dev4040
|
|
4
|
-
Summary: Flet Desktop client in Flutter
|
|
5
|
-
License: Apache-2.0
|
|
6
|
-
Author: Appveyor Systems Inc.
|
|
7
|
-
Author-email: hello@flet.dev
|
|
8
|
-
Requires-Python: >=3.9
|
|
9
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
10
|
-
Classifier: Programming Language :: Python :: 3
|
|
11
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
-
Requires-Dist: flet (==0.26.0.dev4040)
|
|
17
|
-
Project-URL: Documentation, https://flet.dev/docs
|
|
18
|
-
Project-URL: Homepage, https://flet.dev
|
|
19
|
-
Project-URL: Repository, https://github.com/flet-dev/flet
|
|
20
|
-
Description-Content-Type: text/markdown
|
|
21
|
-
|
|
22
|
-
# Flet Desktop client in Flutter
|
|
23
|
-
|
|
24
|
-
This package contains a compiled Flutter Flet desktop client.
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
flet_desktop/__init__.py,sha256=GU-Yzy2hPK_b7ZGzZYpHLh75C1tU-zqDAIXeNI2wdxE,8527
|
|
2
|
-
flet_desktop/version.py,sha256=wknXkHbrIea-jZSIs_UDQr8ngBloEgHWgoE2kqGZZAA,27
|
|
3
|
-
flet_desktop/app/flet-linux-amd64.tar.gz,sha256=MVVjD4_vz9fjjTkQU_SpOgx6Fwn7wbQwX8FmF092Uho,15799909
|
|
4
|
-
flet_desktop-0.26.0.dev4040.dist-info/METADATA,sha256=-dhyA3yWIUsJE7Xzsm0-D-nM7QPBjz6kFGC-KaUoJKg,896
|
|
5
|
-
flet_desktop-0.26.0.dev4040.dist-info/WHEEL,sha256=WQ-SDk1xLTlz5VOWRG4XzOnbXle4cbC8zcjGjPPxY5w,105
|
|
6
|
-
flet_desktop-0.26.0.dev4040.dist-info/RECORD,,
|