adam-community 1.0.15__py3-none-any.whl → 1.0.17__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.
@@ -1 +1 @@
1
- __version__ = "1.0.15"
1
+ __version__ = "1.0.17"
@@ -219,11 +219,21 @@ def create_zip_package(directory: Path) -> str:
219
219
 
220
220
  with zipfile.ZipFile(zip_path, 'w', zipfile.ZIP_DEFLATED) as zipf:
221
221
  # 添加所有 Python 文件
222
- py_files = [f for f in directory.rglob('*.py') if not f.name.startswith('_')]
222
+ py_files = [f for f in directory.rglob('*.py')]
223
223
  for py_file in py_files:
224
224
  zipf.write(py_file, py_file.relative_to(directory))
225
225
  file_count += 1
226
226
 
227
+ # 添加其他文件(Markdown 和 Jinja2 模板)
228
+ other_files = []
229
+ for pattern in ['*.md', '*.jinja2']:
230
+ files = [f for f in directory.rglob(pattern) if not f.name.startswith('_')]
231
+ other_files.extend(files)
232
+
233
+ for other_file in other_files:
234
+ zipf.write(other_file, other_file.relative_to(directory))
235
+ file_count += 1
236
+
227
237
  # 添加配置文件
228
238
  zipf.write(directory / "config" / "configure.json", "config/configure.json")
229
239
  file_count += 1
@@ -261,6 +271,7 @@ def create_zip_package(directory: Path) -> str:
261
271
  file_count += 1
262
272
 
263
273
  console.print(f" ✓ Python 文件: {len(py_files)} 个")
274
+ console.print(f" ✓ 其他文件: {len(other_files)} 个")
264
275
  console.print(f" ✓ 配置文件: 1 个")
265
276
  if demos_files > 0:
266
277
  console.print(f" ✓ 演示文件: {demos_files} 个")
@@ -323,4 +334,4 @@ def build_package(directory: Path) -> Tuple[bool, List[str], str]:
323
334
  border_style="red"
324
335
  ))
325
336
 
326
- return all_passed, all_errors, zip_name
337
+ return all_passed, all_errors, zip_name
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: adam_community
3
- Version: 1.0.15
3
+ Version: 1.0.17
4
4
  Summary: Adam Community Tools and Utilities
5
5
  Home-page: https://github.com/yourusername/adam-community
6
6
  Author: Adam Community
@@ -1,9 +1,9 @@
1
1
  adam_community/__init__.py,sha256=vAmF9VQR6D4peppH0hnrHDmZK5cFeFPh11GIsTKUXhE,429
2
- adam_community/__version__.py,sha256=iWbXkBdEYs1epwPwdj-6H1q6Y04qi20XiNFx-fBDcWg,23
2
+ adam_community/__version__.py,sha256=b5lrc3KBf8Kc2uTga-yZSnLhmkk2ipb-eWAaq7t4W1M,23
3
3
  adam_community/tool.py,sha256=CCzWosxtuZ0yk7mupmnlgMpO59jr1hl-a_brSGIqhDI,4867
4
4
  adam_community/util.py,sha256=CAyMS-UNFjDcdSRWNCIOseAvprP0GEpfJzhO3l5VY1U,11051
5
5
  adam_community/cli/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
6
- adam_community/cli/build.py,sha256=JgM81ipOJccvnEomo0c9dklFIeqxKNRxZ11Qnf95qIA,12012
6
+ adam_community/cli/build.py,sha256=RyXAK62RBwV2XnXw3B5YCs6AQi7wvnDA8lKTudLbM38,12461
7
7
  adam_community/cli/cli.py,sha256=xlPvn0aq3TpAPjA7z9shsCqR1aHDVtZuhvtc_SNA_cQ,2811
8
8
  adam_community/cli/init.py,sha256=hzzz5Tus9_L5YKE10ii7s2x9znDxfqBvjDOmPn-0KvY,8632
9
9
  adam_community/cli/parser.py,sha256=LWYVW69z4ICFXgvD5Vtcy1P-rEUxV_Rs4X96n34i3gE,17732
@@ -22,8 +22,8 @@ adam_community/cli/templates/kit_python.py.j2,sha256=fVQ8EVDMaxPCv9CzYjjoV8NLJMm
22
22
  adam_community/cli/templates/long_description.md.j2,sha256=Rj6hcuNzEL0Sp17GQVCRJyNytxO22KcKFvEnZlGpevE,1385
23
23
  adam_community/cli/templates/rag_python.py.j2,sha256=YJL7-WIx-Dumt7lHuUGxl3Rbaw0kpkh8hpcCJ5lz9lA,2494
24
24
  adam_community/cli/templates/toolbox_python.py.j2,sha256=EOnmsJUvQRrcO7K7c88kI42gMmcM0Z4ab46qwOJXbH8,4192
25
- adam_community-1.0.15.dist-info/METADATA,sha256=c1Gb9SG9vqbStB995B8mb80HwhBpIOaMkZh7SdGxjus,2172
26
- adam_community-1.0.15.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
27
- adam_community-1.0.15.dist-info/entry_points.txt,sha256=4I7yRkn7cHwPY8-fWQLeAvKjc24zUy8Z65VsZNs0Wos,56
28
- adam_community-1.0.15.dist-info/top_level.txt,sha256=MS8jbePXKZChih9kGizNVX0I1MFZFGWBMCIW_r86qhU,15
29
- adam_community-1.0.15.dist-info/RECORD,,
25
+ adam_community-1.0.17.dist-info/METADATA,sha256=O0ERNe8KzBq0XeeTuW5q-nLJIZasP5MOtOhNO3-w-jM,2172
26
+ adam_community-1.0.17.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
27
+ adam_community-1.0.17.dist-info/entry_points.txt,sha256=4I7yRkn7cHwPY8-fWQLeAvKjc24zUy8Z65VsZNs0Wos,56
28
+ adam_community-1.0.17.dist-info/top_level.txt,sha256=MS8jbePXKZChih9kGizNVX0I1MFZFGWBMCIW_r86qhU,15
29
+ adam_community-1.0.17.dist-info/RECORD,,