diff --git a/MANIFEST.in b/MANIFEST.in index cd1c9636d4d23cc4d0f745403ec8ca407d1cc1a8..1ca129b15787978e5e890498eb4d6609d8a4cba0 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,7 +2,7 @@ include LICENSE include README.md recursive-include ppocr/utils *.txt utility.py logging.py network.py -recursive-include ppocr/data/ *.py +recursive-include ppocr/data *.py recursive-include ppocr/postprocess *.py recursive-include tools/infer *.py -recursive-include ppocr/utils/e2e_utils/ *.py \ No newline at end of file +recursive-include ppocr/utils/e2e_utils *.py \ No newline at end of file diff --git a/ppstructure/MANIFEST.in b/ppstructure/MANIFEST.in index 2961e722b7cebe8e1912be2dd903fcdecb694019..713e4b06f3ac924070afe53de9c2ec48726185e6 100644 --- a/ppstructure/MANIFEST.in +++ b/ppstructure/MANIFEST.in @@ -2,7 +2,7 @@ include LICENSE include README.md recursive-include ppocr/utils *.txt utility.py logging.py network.py -recursive-include ppocr/data/ *.py +recursive-include ppocr/data *.py recursive-include ppocr/postprocess *.py recursive-include tools/infer *.py recursive-include ppstructure *.py diff --git a/ppstructure/__init__.py b/ppstructure/__init__.py index 7055bee443fb86648b80bcb892778a114bc47d71..3952b5ffb9f443e9aba9ba0a4a041b73d2caa9bc 100644 --- a/ppstructure/__init__.py +++ b/ppstructure/__init__.py @@ -12,6 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from .paddlestructure import PaddleStructure, draw_result, to_excel +from .paddlestructure import PaddleStructure, draw_result, save_res -__all__ = ['PaddleStructure', 'draw_result', 'to_excel'] +__all__ = ['PaddleStructure', 'draw_result', 'save_res'] diff --git a/ppstructure/paddlestructure.py b/ppstructure/paddlestructure.py index d810f230441fbcc93dd672bf29e1ca91f04c15a6..d0009ae8a9be0a133e0d56734b739265034dc314 100644 --- a/ppstructure/paddlestructure.py +++ b/ppstructure/paddlestructure.py @@ -25,7 +25,6 @@ from pathlib import Path from ppocr.utils.logging import get_logger from ppstructure.predict_system import OCRSystem, save_res -from ppstructure.table.predict_table import to_excel from ppstructure.utility import init_args, draw_result logger = get_logger()