From 3ad1627d7ca05f19d7e4d8779bcfe0c03e431c05 Mon Sep 17 00:00:00 2001 From: blue Date: Tue, 23 Jul 2024 17:02:06 +0800 Subject: [PATCH] fix: update packaging method --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 789374e..709cb55 100644 --- a/setup.py +++ b/setup.py @@ -26,12 +26,11 @@ def parse_requirements(filename): setup( name="fairy_doc", # 项目名 version=__version__, # 自动从tag中获取版本号 - packages=find_packages() + ["magic_doc.bin", "magic_doc.resources", "magic_doc/contrib/magic_html/mmltex"], # 包含所有的包 + packages=find_packages() + ["magic_doc.bin", "magic_doc.resources"], # 包含所有的包 package_data={ "magic_doc.bin": ["**"], # 包含magic_doc.bin目录下的所有文件 "magic_doc.resources": ["**"], # 包含magic_doc.resources目录下的所有文件 "magic_doc.contrib.office.formula": ["**"], # 包含magic_doc.contrib.office.formula目录下的所有文件 - "magic_doc/contrib/magic_html/mmltex": ["**"], }, license='Apache 2.0', extras_require={