--- a/setup.py	2025-10-11 16:40:00.000000000 +0300
+++ b/setup.py	2025-11-07 22:14:28.785771756 +0300
@@ -6,7 +6,6 @@
 from typing import List, Union
 
 import setuptools
-from get_pypi_latest_version import GetPyPiLatestVersion
 
 
 def read_txt(txt_path: Union[Path, str]) -> List[str]:
@@ -26,20 +25,6 @@
 
 MODULE_NAME = "rapidocr"
 
-obtainer = GetPyPiLatestVersion()
-try:
-    latest_version = obtainer(MODULE_NAME)
-except Exception as e:
-    latest_version = "0.0.0"
-VERSION_NUM = obtainer.version_add_one(latest_version, add_patch=True)
-
-if len(sys.argv) > 2:
-    match_str = " ".join(sys.argv[2:])
-    matched_versions = obtainer.extract_version(match_str)
-    if matched_versions:
-        VERSION_NUM = matched_versions
-sys.argv = sys.argv[:2]
-
 project_urls = {
     "Documentation": "https://rapidai.github.io/RapidOCRDocs",
     "Changelog": "https://github.com/RapidAI/RapidOCR/releases",
@@ -59,9 +44,8 @@
     license="Apache-2.0",
     include_package_data=True,
     install_requires=read_txt("requirements.txt"),
-    package_dir={"": MODULE_NAME},
-    packages=setuptools.find_namespace_packages(where=MODULE_NAME),
-    package_data={"": ["*.onnx", "*.yaml", "*.txt"]},
+    packages=setuptools.find_namespace_packages(where=".", include=[MODULE_NAME+"*.*", MODULE_NAME+"*"]),
+    package_data={MODULE_NAME: ["*.onnx", "*.yaml", "*.txt"]},
     keywords=[
         "ocr,text_detection,text_recognition,db,onnxruntime,paddleocr,openvino,rapidocr"
