flet-cli 0.82.3.dev7807__tar.gz → 0.82.3.dev7857__tar.gz
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_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/PKG-INFO +2 -2
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/pyproject.toml +2 -2
- flet_cli-0.82.3.dev7857/src/flet_cli/__pyinstaller/utils.py +51 -0
- flet_cli-0.82.3.dev7857/src/flet_cli/version.py +1 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli.egg-info/PKG-INFO +2 -2
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli.egg-info/requires.txt +1 -1
- flet_cli-0.82.3.dev7807/src/flet_cli/__pyinstaller/utils.py +0 -40
- flet_cli-0.82.3.dev7807/src/flet_cli/version.py +0 -1
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/README.md +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/setup.cfg +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/__pyinstaller/__init__.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/__pyinstaller/config.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/__pyinstaller/hook-flet.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/__pyinstaller/macos_utils.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/__pyinstaller/rthooks/pyi_rth_localhost_fletd.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/__pyinstaller/win_utils.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/cli.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/commands/base.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/commands/build.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/commands/build_base.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/commands/create.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/commands/debug.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/commands/devices.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/commands/doctor.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/commands/emulators.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/commands/flutter_base.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/commands/options.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/commands/pack.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/commands/publish.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/commands/run.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/commands/serve.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/utils/android_sdk.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/utils/distros.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/utils/flutter.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/utils/hash_stamp.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/utils/jdk.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/utils/merge.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/utils/processes.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/utils/project_dependencies.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/utils/pyproject_toml.py +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli.egg-info/SOURCES.txt +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli.egg-info/dependency_links.txt +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli.egg-info/entry_points.txt +0 -0
- {flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flet-cli
|
|
3
|
-
Version: 0.82.3.
|
|
3
|
+
Version: 0.82.3.dev7857
|
|
4
4
|
Summary: Flet CLI
|
|
5
5
|
Author-email: "Appveyor Systems Inc." <hello@flet.dev>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -9,7 +9,7 @@ Project-URL: Repository, https://github.com/flet-dev/flet
|
|
|
9
9
|
Project-URL: Documentation, https://flet.dev/docs
|
|
10
10
|
Requires-Python: >=3.10
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
|
-
Requires-Dist: flet==0.82.3.
|
|
12
|
+
Requires-Dist: flet==0.82.3.dev7857
|
|
13
13
|
Requires-Dist: watchdog>=4.0.0
|
|
14
14
|
Requires-Dist: packaging>=25.0
|
|
15
15
|
Requires-Dist: qrcode>=7.4.2
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "flet-cli"
|
|
3
|
-
version = "0.82.3.
|
|
3
|
+
version = "0.82.3.dev7857"
|
|
4
4
|
description = "Flet CLI"
|
|
5
5
|
authors = [{ name = "Appveyor Systems Inc.", email = "hello@flet.dev" }]
|
|
6
6
|
license = "Apache-2.0"
|
|
7
7
|
readme = "README.md"
|
|
8
8
|
requires-python = ">=3.10"
|
|
9
9
|
dependencies = [
|
|
10
|
-
"flet==0.82.3.
|
|
10
|
+
"flet==0.82.3.dev7857",
|
|
11
11
|
"watchdog >=4.0.0",
|
|
12
12
|
"packaging >=25.0",
|
|
13
13
|
"qrcode >=7.4.2",
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import os
|
|
2
|
+
import tempfile
|
|
3
|
+
import uuid
|
|
4
|
+
from pathlib import Path
|
|
5
|
+
|
|
6
|
+
from flet.utils import copy_tree
|
|
7
|
+
from flet_desktop import ensure_client_cached, get_package_bin_dir
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def get_flet_bin_path():
|
|
11
|
+
"""
|
|
12
|
+
Return path to Flet desktop binaries, if available.
|
|
13
|
+
|
|
14
|
+
Checks the package ``app/`` directory first (for PyInstaller-bundled
|
|
15
|
+
builds), then falls back to the download cache at ``~/.flet/client/``,
|
|
16
|
+
triggering a download if necessary.
|
|
17
|
+
|
|
18
|
+
Returns:
|
|
19
|
+
Absolute binaries directory path or ``None`` when not found.
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
# Check bundled binaries in the package (PyInstaller or legacy wheel).
|
|
23
|
+
bin_path = get_package_bin_dir()
|
|
24
|
+
if os.path.exists(bin_path) and os.listdir(bin_path):
|
|
25
|
+
return bin_path
|
|
26
|
+
|
|
27
|
+
# Fall back to cached / downloaded client.
|
|
28
|
+
cache_dir = ensure_client_cached()
|
|
29
|
+
if cache_dir and cache_dir.exists():
|
|
30
|
+
return str(cache_dir)
|
|
31
|
+
|
|
32
|
+
return None
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def copy_flet_bin():
|
|
36
|
+
"""
|
|
37
|
+
Copy packaged Flet desktop binaries into a temporary directory.
|
|
38
|
+
|
|
39
|
+
Returns:
|
|
40
|
+
Path to the temporary copied binaries directory, or ``None`` when source
|
|
41
|
+
binaries are unavailable.
|
|
42
|
+
"""
|
|
43
|
+
|
|
44
|
+
bin_path = get_flet_bin_path()
|
|
45
|
+
if not bin_path:
|
|
46
|
+
return None
|
|
47
|
+
|
|
48
|
+
# create temp bin dir
|
|
49
|
+
temp_bin_dir = Path(tempfile.gettempdir()).joinpath(str(uuid.uuid4()))
|
|
50
|
+
copy_tree(bin_path, str(temp_bin_dir))
|
|
51
|
+
return str(temp_bin_dir)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
version = "0.82.3.dev7857"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flet-cli
|
|
3
|
-
Version: 0.82.3.
|
|
3
|
+
Version: 0.82.3.dev7857
|
|
4
4
|
Summary: Flet CLI
|
|
5
5
|
Author-email: "Appveyor Systems Inc." <hello@flet.dev>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -9,7 +9,7 @@ Project-URL: Repository, https://github.com/flet-dev/flet
|
|
|
9
9
|
Project-URL: Documentation, https://flet.dev/docs
|
|
10
10
|
Requires-Python: >=3.10
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
|
-
Requires-Dist: flet==0.82.3.
|
|
12
|
+
Requires-Dist: flet==0.82.3.dev7857
|
|
13
13
|
Requires-Dist: watchdog>=4.0.0
|
|
14
14
|
Requires-Dist: packaging>=25.0
|
|
15
15
|
Requires-Dist: qrcode>=7.4.2
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import os
|
|
2
|
-
import tempfile
|
|
3
|
-
import uuid
|
|
4
|
-
from pathlib import Path
|
|
5
|
-
|
|
6
|
-
from flet.utils import copy_tree
|
|
7
|
-
from flet_desktop import get_package_bin_dir
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
def get_flet_bin_path():
|
|
11
|
-
"""
|
|
12
|
-
Return path to packaged Flet desktop binaries, if available.
|
|
13
|
-
|
|
14
|
-
Returns:
|
|
15
|
-
Absolute binaries directory path or `None` when not found.
|
|
16
|
-
"""
|
|
17
|
-
|
|
18
|
-
bin_path = get_package_bin_dir()
|
|
19
|
-
if not os.path.exists(bin_path):
|
|
20
|
-
return None
|
|
21
|
-
return bin_path
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
def copy_flet_bin():
|
|
25
|
-
"""
|
|
26
|
-
Copy packaged Flet desktop binaries into a temporary directory.
|
|
27
|
-
|
|
28
|
-
Returns:
|
|
29
|
-
Path to the temporary copied binaries directory, or `None` when source
|
|
30
|
-
binaries are unavailable.
|
|
31
|
-
"""
|
|
32
|
-
|
|
33
|
-
bin_path = get_flet_bin_path()
|
|
34
|
-
if not bin_path:
|
|
35
|
-
return None
|
|
36
|
-
|
|
37
|
-
# create temp bin dir
|
|
38
|
-
temp_bin_dir = Path(tempfile.gettempdir()).joinpath(str(uuid.uuid4()))
|
|
39
|
-
copy_tree(bin_path, str(temp_bin_dir))
|
|
40
|
-
return str(temp_bin_dir)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
version = "0.82.3.dev7807"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/__pyinstaller/macos_utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli/utils/project_dependencies.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flet_cli-0.82.3.dev7807 → flet_cli-0.82.3.dev7857}/src/flet_cli.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|