Skip to content

Commit 71e14c4

Browse files
committed
fix: fix setup script
1 parent a413504 commit 71e14c4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup_rapid_table_det.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ def read_txt(txt_path: Union[Path, str]) -> List[str]:
4343
url="https://github.com/Joker1212/RapidTableDetection",
4444
license="Apache-2.0",
4545
install_requires=read_txt("requirements.txt"),
46-
include_package_data=True,
46+
include_package_data=False,
47+
packages=[MODULE_NAME, f"{MODULE_NAME}.models", f"{MODULE_NAME}.utils"],
48+
package_data={"": [".gitkeep"]},
4749
keywords=["obj detection,ocr,table-recognition"],
4850
classifiers=[
4951
"Programming Language :: Python :: 3.8",

0 commit comments

Comments
 (0)