diff --git a/setup.py b/setup.py index 95c32ad3b..754d14c8a 100755 --- a/setup.py +++ b/setup.py @@ -576,7 +576,7 @@ def add( ret, from_, to_): add( ret_p, f'{g_root}/fitz_old/__init__.py', to_dir) add( ret_p, f'{g_root}/fitz_old/__main__.py', to_dir) add( ret_p, f'{g_root}/fitz_old/fitz_old.py', to_dir) - add( ret_p, f'{g_root}/fitz_old/table.py', to_dir) + add( ret_p, f'{g_root}/src/table.py', to_dir) add( ret_p, f'{g_root}/fitz_old/utils.py', to_dir) add( ret_p, f'{g_root}/fitz_old/{path_so_leaf_a}', to_dir) @@ -600,7 +600,7 @@ def add( ret, from_, to_): add( ret_p, f'{g_root}/src/__init__.py', to_dir) add( ret_p, f'{g_root}/src/__main__.py', to_dir) add( ret_p, f'{g_root}/src/fitz.py', to_dir) - add( ret_p, f'{g_root}/fitz_old/table.py', to_dir) + add( ret_p, f'{g_root}/src/table.py', to_dir) add( ret_p, f'{g_root}/src/utils.py', to_dir) add( ret_p, f'{g_root}/src/extra.py', to_dir) add( ret_p, f'{g_root}/src/{path_so_leaf_b}', to_dir) diff --git a/fitz_old/table.py b/src/table.py similarity index 100% rename from fitz_old/table.py rename to src/table.py diff --git a/tests/test_flake8.py b/tests/test_flake8.py index 385de10da..8f4967260 100644 --- a/tests/test_flake8.py +++ b/tests/test_flake8.py @@ -54,5 +54,5 @@ def run(command): print(f'test_flake8(): Running: {command}') subprocess.run(command, shell=1, check=1) run(f'pip install flake8') - run(f'flake8 --ignore={ignores} --statistics {root}/src/__init__.py {root}/src/utils.py {root}/fitz/table.py') + run(f'flake8 --ignore={ignores} --statistics {root}/src/__init__.py {root}/src/utils.py {root}/src/table.py') print(f'test_flake8(): flake8 succeeded.')