clapp-pm 1.0.31__py3-none-any.whl → 1.0.33__py3-none-any.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.
- {clapp_pm-1.0.31.data → clapp_pm-1.0.33.data}/data/version.json +1 -1
- {clapp_pm-1.0.31.dist-info → clapp_pm-1.0.33.dist-info}/METADATA +1 -1
- {clapp_pm-1.0.31.dist-info → clapp_pm-1.0.33.dist-info}/RECORD +9 -9
- publish_command.py +19 -1
- version.py +1 -1
- {clapp_pm-1.0.31.dist-info → clapp_pm-1.0.33.dist-info}/WHEEL +0 -0
- {clapp_pm-1.0.31.dist-info → clapp_pm-1.0.33.dist-info}/entry_points.txt +0 -0
- {clapp_pm-1.0.31.dist-info → clapp_pm-1.0.33.dist-info}/licenses/LICENSE +0 -0
- {clapp_pm-1.0.31.dist-info → clapp_pm-1.0.33.dist-info}/top_level.txt +0 -0
@@ -18,12 +18,12 @@ package_runner.py,sha256=yTWIlIXRBQq-FiuoS2qifnJHLajgDOnMv2wPPFL1HtI,5787
|
|
18
18
|
package_signing.py,sha256=ModMAzLk08rkI6zd8QKhyCH5BFbB-7dy8pwqKYatFQo,4579
|
19
19
|
post_install_hint.py,sha256=wjMPCgRurZiGu6hv_se-XA36KqBCdeYdRCD1q7FrJzQ,4918
|
20
20
|
progress_utils.py,sha256=ZH73QNLd5mI4h-JU0hSFR2OU8lesr2XteSZdmFD0bFA,5995
|
21
|
-
publish_command.py,sha256=
|
21
|
+
publish_command.py,sha256=xax6ifkMiXSpoiIAlpJn6uOVIooTGUmw-I7PSKTjuGA,12588
|
22
22
|
remote_registry.py,sha256=rPBIM_ESXUt0br5cARQ4YbzUoTda0G4e1KGzfyYMbpQ,8235
|
23
23
|
smart_search.py,sha256=R5O5CDXqlQc-N-6R6D5k36_-arCB-wnKfmWr5zMYWUI,15741
|
24
24
|
uninstall_command.py,sha256=rQYbZ-XMw8Xxw1fmgGdDaBQmgBGqyJ_rTBZkvEV5HV0,7066
|
25
25
|
validate_command.py,sha256=idaujErzrwuZNT6DYCVTVwZqBDEEi1GTxIXAGBgKMKM,7623
|
26
|
-
version.py,sha256=
|
26
|
+
version.py,sha256=_bvw4M0nliMhTBXz4BBP59bsWS-RJMj_aN0mUrW6avg,224
|
27
27
|
version_command.py,sha256=DZuYWtohSeM5PJNYCflBy36_k0vex3tYV2C8ixEA9ho,4259
|
28
28
|
version_manager.py,sha256=fpC7jxhIW1wZhJ9IkVwyqkgJN4mhBjUUbaLefXLDMiM,11423
|
29
29
|
where_command.py,sha256=TcLoXLGmrPSHQuvlceVuuKBsfeadIwz-E0G_5okH14g,6420
|
@@ -67,8 +67,8 @@ clapp-packages-repo/packages/cloud-web-browser/requirements.txt,sha256=fJMjUewTq
|
|
67
67
|
clapp-packages-repo/packages/test-app-2/README.md,sha256=AqVgCZ-cwXBuDHFoJdYkAHAuB6SjSjqXQrjhLu0q7cc,964
|
68
68
|
clapp-packages-repo/packages/test-app-2/main.py,sha256=24IEuyHSuPWJp2-xYhInUNEWqeueGxAO3NBgHkEgLdQ,1562
|
69
69
|
clapp-packages-repo/packages/test-app-2/manifest.json,sha256=dzxPwC-GebvxX9DodLAtdRB0WsZBm204uGGsHbpGhyY,286
|
70
|
-
clapp_pm-1.0.
|
71
|
-
clapp_pm-1.0.
|
70
|
+
clapp_pm-1.0.33.data/data/version.json,sha256=IbyxmWd3tZ8ZyL22xVfiVeJZzIV4A3Q86HlfSaSJvWI,239
|
71
|
+
clapp_pm-1.0.33.dist-info/licenses/LICENSE,sha256=_hryv9pKR6udRexceUYuoYCJGmYBz7e-vRuFWmm38UY,1075
|
72
72
|
docs/developer_guide.md,sha256=B-S141TSNy7e8T9KaV6Fr-ZAFhYqqgcwqWijjX0C2Xc,7336
|
73
73
|
packages/cloud-finder/README.md,sha256=3W5VWCpv1HG9qIube4ytUVK8tpXbk1pB_rSEQU3auQw,5868
|
74
74
|
packages/cloud-finder/main.py,sha256=ivPzRbL3Qlu10mSarpwff9s7kOyxqa7L3jPCaDbdLEg,39106
|
@@ -92,8 +92,8 @@ test-app/manifest.json,sha256=MM1nl5Bljrnsik3fwsrgFBchfgwIb2REoBwwzNpFHQU,284
|
|
92
92
|
test-app-2/README.md,sha256=AqVgCZ-cwXBuDHFoJdYkAHAuB6SjSjqXQrjhLu0q7cc,964
|
93
93
|
test-app-2/main.py,sha256=24IEuyHSuPWJp2-xYhInUNEWqeueGxAO3NBgHkEgLdQ,1562
|
94
94
|
test-app-2/manifest.json,sha256=dzxPwC-GebvxX9DodLAtdRB0WsZBm204uGGsHbpGhyY,286
|
95
|
-
clapp_pm-1.0.
|
96
|
-
clapp_pm-1.0.
|
97
|
-
clapp_pm-1.0.
|
98
|
-
clapp_pm-1.0.
|
99
|
-
clapp_pm-1.0.
|
95
|
+
clapp_pm-1.0.33.dist-info/METADATA,sha256=YK7-QOiQuqs-s-rIigzylBZHx7lDaEUzD08a_6uDTiY,3983
|
96
|
+
clapp_pm-1.0.33.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
97
|
+
clapp_pm-1.0.33.dist-info/entry_points.txt,sha256=7j-3pQVpQfnaVzUV83g7zlCA30ePlnXkhHLAGGz9xrQ,36
|
98
|
+
clapp_pm-1.0.33.dist-info/top_level.txt,sha256=-nbfxZD1zt1LMxzElOZyNhKpdwHhZD-d5ZWrwIArCtE,495
|
99
|
+
clapp_pm-1.0.33.dist-info/RECORD,,
|
publish_command.py
CHANGED
@@ -133,16 +133,29 @@ def copy_app_to_packages(source_folder: str, app_name: str) -> Tuple[bool, str]:
|
|
133
133
|
|
134
134
|
def find_clapp_root_with_build_index():
|
135
135
|
"""
|
136
|
-
|
136
|
+
publish_command.py dosyasının konumunu baz alarak ana clapp dizinini ve build_index.py'yi bulur.
|
137
137
|
Returns: (clapp_root, build_index_path) veya (None, None)
|
138
138
|
"""
|
139
139
|
import os
|
140
|
+
# publish_command.py dosyasının bulunduğu dizini al
|
141
|
+
current_file_dir = os.path.dirname(os.path.abspath(__file__))
|
142
|
+
|
143
|
+
# Bu dizinden başlayarak yukarı çık ve build_index.py'yi ara
|
144
|
+
search_dir = current_file_dir
|
145
|
+
while search_dir != os.path.dirname(search_dir): # Root'a ulaşana kadar
|
146
|
+
build_index_path = os.path.join(search_dir, "build_index.py")
|
147
|
+
if os.path.exists(build_index_path):
|
148
|
+
return search_dir, build_index_path
|
149
|
+
search_dir = os.path.dirname(search_dir)
|
150
|
+
|
151
|
+
# Eğer bulunamazsa, mevcut çalışma dizininden de dene
|
140
152
|
search_dir = os.getcwd()
|
141
153
|
while search_dir != os.path.dirname(search_dir): # Root'a ulaşana kadar
|
142
154
|
build_index_path = os.path.join(search_dir, "build_index.py")
|
143
155
|
if os.path.exists(build_index_path):
|
144
156
|
return search_dir, build_index_path
|
145
157
|
search_dir = os.path.dirname(search_dir)
|
158
|
+
|
146
159
|
return None, None
|
147
160
|
|
148
161
|
|
@@ -155,6 +168,11 @@ def update_index() -> Tuple[bool, str]:
|
|
155
168
|
clapp_root, build_index_path = find_clapp_root_with_build_index()
|
156
169
|
if not clapp_root or not build_index_path:
|
157
170
|
return False, "Ana clapp dizini veya build_index.py bulunamadı. Lütfen komutu ana dizinden veya bir alt klasörden çalıştırın."
|
171
|
+
|
172
|
+
# Debug bilgisi
|
173
|
+
print(f"🔍 Bulunan clapp_root: {clapp_root}")
|
174
|
+
print(f"🔍 Bulunan build_index_path: {build_index_path}")
|
175
|
+
|
158
176
|
# build_index.py'yi ana dizinde çalıştır
|
159
177
|
result = subprocess.run([
|
160
178
|
sys.executable, build_index_path
|
version.py
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|