clapp-pm 1.0.22__py3-none-any.whl → 1.0.23__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.22.data → clapp_pm-1.0.23.data}/data/version.json +1 -1
- {clapp_pm-1.0.22.dist-info → clapp_pm-1.0.23.dist-info}/METADATA +2 -2
- {clapp_pm-1.0.22.dist-info → clapp_pm-1.0.23.dist-info}/RECORD +9 -9
- installer.py +33 -0
- version.py +1 -1
- {clapp_pm-1.0.22.dist-info → clapp_pm-1.0.23.dist-info}/WHEEL +0 -0
- {clapp_pm-1.0.22.dist-info → clapp_pm-1.0.23.dist-info}/entry_points.txt +0 -0
- {clapp_pm-1.0.22.dist-info → clapp_pm-1.0.23.dist-info}/licenses/LICENSE +0 -0
- {clapp_pm-1.0.22.dist-info → clapp_pm-1.0.23.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: clapp-pm
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.23
|
4
4
|
Summary: Lightweight cross-language app manager for Python and Lua
|
5
5
|
Home-page: https://github.com/mburakmmm/clapp
|
6
6
|
Author: Melih Burak Memiş
|
@@ -66,7 +66,7 @@ clapp, Python ve Lua uygulamalarını kolayca yükleyip çalıştırmanızı sa
|
|
66
66
|
## Kurulum
|
67
67
|
|
68
68
|
```bash
|
69
|
-
pip install clapp
|
69
|
+
pip install clapp-pm
|
70
70
|
```
|
71
71
|
|
72
72
|
## Temel Kullanım
|
@@ -7,7 +7,7 @@ dependency_resolver.py,sha256=OyzWOW45OWTr8BX0gcy5fFbk9qIVBP9JQyMtXrKPmEM,24499
|
|
7
7
|
doctor_command.py,sha256=8Tv_em4mp-ibaDPXli6uyhYV--Fb6lHyDnnS2S0_d7c,7654
|
8
8
|
info_command.py,sha256=b74Pl1-x_PSezALx-lS3FkEcVNTF7a9McTKk5XTDhjM,5629
|
9
9
|
install_command.py,sha256=9m7C7dVvRop5-4TUy5V2aGb59jSPRp4NAx8QJIOC2tA,9556
|
10
|
-
installer.py,sha256=
|
10
|
+
installer.py,sha256=iGfD3_oDX8XC0MhA-I7RA3hoPRXMxJ5XjFwNWddng6U,12407
|
11
11
|
list_command.py,sha256=qbeocvrg2eXRklxbYS3audQhYHGXTlMBk_tNh1cMxd0,8391
|
12
12
|
main.py,sha256=uf2-LzBBFIwIiyg1kcyZG4J1B9f5U33VHieBXu1uLi8,23889
|
13
13
|
manifest_schema.py,sha256=qR6dIpYL1zwAJmrij05gkgE_urN3qVamoUi2BgR7Lv4,2801
|
@@ -23,7 +23,7 @@ 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=VLi-2QtTfVvubawUl3IlW3uVUtzZQpcej0E3tKygsIo,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
|
@@ -62,8 +62,8 @@ clapp-packages-repo/packages/test-app/main.py,sha256=rN4Zo9u53bIVjcUlul059knx6v-
|
|
62
62
|
clapp-packages-repo/packages/test-app/manifest.json,sha256=kJe4sjYdPRNZD5hEeca80jj3lxeEWBMJoZ59RW7tiKI,118
|
63
63
|
clapp-packages-repo/packages/test-app2/main.py,sha256=lHkbjTmehFY4VuYYF2dYiVBH7W0oqHHeY0I5W85iPTY,35
|
64
64
|
clapp-packages-repo/packages/test-app2/manifest.json,sha256=vshXJrtRxBc_ISM6E8KT5BSmveMbjWszenlgxgSN86w,121
|
65
|
-
clapp_pm-1.0.
|
66
|
-
clapp_pm-1.0.
|
65
|
+
clapp_pm-1.0.23.data/data/version.json,sha256=et5RxvhekUmHrrnjUfnJ2lsIHdoW0YqewWnLubVFlJg,239
|
66
|
+
clapp_pm-1.0.23.dist-info/licenses/LICENSE,sha256=_hryv9pKR6udRexceUYuoYCJGmYBz7e-vRuFWmm38UY,1075
|
67
67
|
docs/developer_guide.md,sha256=B-S141TSNy7e8T9KaV6Fr-ZAFhYqqgcwqWijjX0C2Xc,7336
|
68
68
|
templates/dart/manifest.json,sha256=ycVKZxrArzcSoRZ5LKKe8aOerwk5Z-7VX0td86aim0M,267
|
69
69
|
templates/lua/manifest.json,sha256=CRIy0dP6Pr3vH6IV4dObGs4KqqJ_sURsY0wAgK2av7E,262
|
@@ -73,8 +73,8 @@ templates/python/manifest.json,sha256=hjmKqsEkWEBTwxFgm35MkvuwWZ2CQWq9Zo8uHodqHr
|
|
73
73
|
test-app/README.md,sha256=AqVgCZ-cwXBuDHFoJdYkAHAuB6SjSjqXQrjhLu0q7cc,964
|
74
74
|
test-app/main.py,sha256=24IEuyHSuPWJp2-xYhInUNEWqeueGxAO3NBgHkEgLdQ,1562
|
75
75
|
test-app/manifest.json,sha256=MM1nl5Bljrnsik3fwsrgFBchfgwIb2REoBwwzNpFHQU,284
|
76
|
-
clapp_pm-1.0.
|
77
|
-
clapp_pm-1.0.
|
78
|
-
clapp_pm-1.0.
|
79
|
-
clapp_pm-1.0.
|
80
|
-
clapp_pm-1.0.
|
76
|
+
clapp_pm-1.0.23.dist-info/METADATA,sha256=ifeiV5X7i3rFFRfXU0NF1l1rPxTabHu21ND8jha_UBQ,3983
|
77
|
+
clapp_pm-1.0.23.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
78
|
+
clapp_pm-1.0.23.dist-info/entry_points.txt,sha256=7j-3pQVpQfnaVzUV83g7zlCA30ePlnXkhHLAGGz9xrQ,36
|
79
|
+
clapp_pm-1.0.23.dist-info/top_level.txt,sha256=2FeS-lC1OV3lBqLAHahLU8vcWxlxSDLNJSk-4MmymKk,475
|
80
|
+
clapp_pm-1.0.23.dist-info/RECORD,,
|
installer.py
CHANGED
@@ -205,11 +205,44 @@ def create_package_from_directory(source_dir, output_path=None):
|
|
205
205
|
if not output_path:
|
206
206
|
output_path = f"{app_name}.clapp.zip"
|
207
207
|
|
208
|
+
# Hariç tutulacak dosya ve klasörler
|
209
|
+
exclude_patterns = [
|
210
|
+
'.venv', '__pycache__', '.git', '.gitignore', '.DS_Store',
|
211
|
+
'*.pyc', '*.pyo', '*.pyd', '*.so', '*.dll', '*.dylib',
|
212
|
+
'node_modules', '.npm', '.yarn', 'yarn.lock', 'package-lock.json',
|
213
|
+
'*.log', '*.tmp', '*.temp', '.vscode', '.idea', '*.swp', '*.swo',
|
214
|
+
'Thumbs.db', 'desktop.ini', '.Trashes', '.Spotlight-V100'
|
215
|
+
]
|
216
|
+
|
217
|
+
def should_exclude(path):
|
218
|
+
"""Dosya/klasörün hariç tutulup tutulmayacağını kontrol eder"""
|
219
|
+
basename = os.path.basename(path)
|
220
|
+
rel_path = os.path.relpath(path, source_dir)
|
221
|
+
|
222
|
+
for pattern in exclude_patterns:
|
223
|
+
if pattern.startswith('*'):
|
224
|
+
# *.ext formatındaki pattern'ler
|
225
|
+
if basename.endswith(pattern[1:]):
|
226
|
+
return True
|
227
|
+
else:
|
228
|
+
# Tam eşleşme
|
229
|
+
if basename == pattern or rel_path == pattern:
|
230
|
+
return True
|
231
|
+
return False
|
232
|
+
|
208
233
|
# Zip dosyasını oluştur
|
209
234
|
with zipfile.ZipFile(output_path, 'w', zipfile.ZIP_DEFLATED) as zip_ref:
|
210
235
|
for root, dirs, files in os.walk(source_dir):
|
236
|
+
# Dizinleri filtrele
|
237
|
+
dirs[:] = [d for d in dirs if not should_exclude(os.path.join(root, d))]
|
238
|
+
|
211
239
|
for file in files:
|
212
240
|
file_path = os.path.join(root, file)
|
241
|
+
|
242
|
+
# Dosyayı hariç tut
|
243
|
+
if should_exclude(file_path):
|
244
|
+
continue
|
245
|
+
|
213
246
|
arc_path = os.path.relpath(file_path, source_dir)
|
214
247
|
zip_ref.write(file_path, arc_path)
|
215
248
|
|
version.py
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|