From fc32e8e5e54acf0a34b7bd94fb12274157fa5f50 Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 16 Sep 2024 21:18:00 -0500 Subject: [PATCH] adding pyproject.toml --- pyproject.toml | 16 +++++----------- {gerber => src/gerber}/__init__.py | 0 {gerber => src/gerber}/__main__.py | 0 {gerber => src/gerber}/am_eval.py | 0 {gerber => src/gerber}/am_read.py | 0 {gerber => src/gerber}/am_statements.py | 0 {gerber => src/gerber}/cam.py | 0 {gerber => src/gerber}/common.py | 0 {gerber => src/gerber}/excellon.py | 0 .../gerber}/excellon_report/excellon_drr.py | 0 {gerber => src/gerber}/excellon_settings.py | 0 {gerber => src/gerber}/excellon_statements.py | 0 {gerber => src/gerber}/excellon_tool.py | 0 {gerber => src/gerber}/exceptions.py | 0 {gerber => src/gerber}/gerber_statements.py | 0 {gerber => src/gerber}/ipc356.py | 0 {gerber => src/gerber}/layers.py | 0 {gerber => src/gerber}/ncparam/allegro.py | 0 {gerber => src/gerber}/operations.py | 0 {gerber => src/gerber}/pcb.py | 0 {gerber => src/gerber}/primitives.py | 0 {gerber => src/gerber}/render/__init__.py | 0 {gerber => src/gerber}/render/cairo_backend.py | 0 .../gerber}/render/excellon_backend.py | 0 {gerber => src/gerber}/render/render.py | 0 {gerber => src/gerber}/render/rs274x_backend.py | 0 {gerber => src/gerber}/render/theme.py | 0 {gerber => src/gerber}/rs274x.py | 0 {gerber => src/gerber}/tests/__init__.py | 0 .../golden/example_am_exposure_modifier.png | Bin .../tests/golden/example_coincident_hole.png | Bin .../tests/golden/example_cutin_multiple.png | Bin .../tests/golden/example_flash_circle.png | Bin .../tests/golden/example_flash_obround.png | Bin .../tests/golden/example_flash_polygon.png | Bin .../tests/golden/example_flash_rectangle.png | Bin .../tests/golden/example_fully_coincident.png | Bin .../tests/golden/example_holes_dont_clear.png | Bin .../golden/example_not_overlapping_contour.png | Bin .../golden/example_not_overlapping_touching.png | Bin .../golden/example_overlapping_contour.png | Bin .../golden/example_overlapping_touching.png | Bin .../tests/golden/example_simple_contour.png | Bin .../tests/golden/example_single_contour.png | Bin .../tests/golden/example_single_contour_3.png | Bin .../tests/golden/example_single_quadrant.gbr | 0 .../tests/golden/example_single_quadrant.png | Bin .../tests/golden/example_two_square_boxes.gbr | 0 .../tests/golden/example_two_square_boxes.png | Bin .../gerber}/tests/resources/board_outline.GKO | 0 .../gerber}/tests/resources/bottom_copper.GBL | 0 .../gerber}/tests/resources/bottom_mask.GBS | 0 .../gerber}/tests/resources/bottom_silk.GBO | 0 .../resources/eagle_files/copper_bottom_l4.gbr | 0 .../resources/eagle_files/copper_inner_l2.gbr | 0 .../resources/eagle_files/copper_inner_l3.gbr | 0 .../resources/eagle_files/copper_top_l1.gbr | 0 .../tests/resources/eagle_files/profile.gbr | 0 .../resources/eagle_files/silkscreen_bottom.gbr | 0 .../resources/eagle_files/silkscreen_top.gbr | 0 .../resources/eagle_files/soldermask_bottom.gbr | 0 .../resources/eagle_files/soldermask_top.gbr | 0 .../eagle_files/solderpaste_bottom.gbr | 0 .../resources/eagle_files/solderpaste_top.gbr | 0 .../resources/example_am_exposure_modifier.gbr | 0 .../tests/resources/example_coincident_hole.gbr | 0 .../gerber}/tests/resources/example_cutin.gbr | 0 .../tests/resources/example_cutin_multiple.gbr | 0 .../tests/resources/example_flash_circle.gbr | 0 .../tests/resources/example_flash_obround.gbr | 0 .../tests/resources/example_flash_polygon.gbr | 0 .../tests/resources/example_flash_rectangle.gbr | 0 .../resources/example_fully_coincident.gbr | 0 .../tests/resources/example_guess_by_content.g0 | 0 .../resources/example_holes_dont_clear.gbr | 0 .../tests/resources/example_level_holes.gbr | 0 .../example_not_overlapping_contour.gbr | 0 .../example_not_overlapping_touching.gbr | 0 .../resources/example_overlapping_contour.gbr | 0 .../resources/example_overlapping_touching.gbr | 0 .../tests/resources/example_simple_contour.gbr | 0 .../resources/example_single_contour_1.gbr | 0 .../resources/example_single_contour_2.gbr | 0 .../resources/example_single_contour_3.gbr | 0 .../tests/resources/example_single_quadrant.gbr | 0 .../resources/example_two_square_boxes.gbr | 0 .../gerber}/tests/resources/ipc-d-356.ipc | 0 .../gerber}/tests/resources/multiline_read.ger | 0 .../gerber}/tests/resources/ncdrill.DRD | 0 .../gerber}/tests/resources/top_copper.GTL | 0 .../gerber}/tests/resources/top_mask.GTS | 0 .../gerber}/tests/resources/top_silk.GTO | 0 .../gerber}/tests/test_am_statements.py | 0 .../gerber}/tests/test_cairo_backend.py | 0 {gerber => src/gerber}/tests/test_cam.py | 0 {gerber => src/gerber}/tests/test_common.py | 0 {gerber => src/gerber}/tests/test_excellon.py | 0 .../gerber}/tests/test_excellon_statements.py | 0 .../gerber}/tests/test_gerber_statements.py | 0 {gerber => src/gerber}/tests/test_ipc356.py | 0 {gerber => src/gerber}/tests/test_layers.py | 0 {gerber => src/gerber}/tests/test_pcb.py | 0 {gerber => src/gerber}/tests/test_primitives.py | 0 {gerber => src/gerber}/tests/test_rs274x.py | 0 .../gerber}/tests/test_rs274x_backend.py | 0 {gerber => src/gerber}/tests/test_utils.py | 0 {gerber => src/gerber}/utils.py | 0 107 files changed, 5 insertions(+), 11 deletions(-) rename {gerber => src/gerber}/__init__.py (100%) rename {gerber => src/gerber}/__main__.py (100%) rename {gerber => src/gerber}/am_eval.py (100%) rename {gerber => src/gerber}/am_read.py (100%) rename {gerber => src/gerber}/am_statements.py (100%) rename {gerber => src/gerber}/cam.py (100%) rename {gerber => src/gerber}/common.py (100%) rename {gerber => src/gerber}/excellon.py (100%) rename {gerber => src/gerber}/excellon_report/excellon_drr.py (100%) rename {gerber => src/gerber}/excellon_settings.py (100%) rename {gerber => src/gerber}/excellon_statements.py (100%) rename {gerber => src/gerber}/excellon_tool.py (100%) rename {gerber => src/gerber}/exceptions.py (100%) rename {gerber => src/gerber}/gerber_statements.py (100%) rename {gerber => src/gerber}/ipc356.py (100%) rename {gerber => src/gerber}/layers.py (100%) rename {gerber => src/gerber}/ncparam/allegro.py (100%) rename {gerber => src/gerber}/operations.py (100%) rename {gerber => src/gerber}/pcb.py (100%) rename {gerber => src/gerber}/primitives.py (100%) rename {gerber => src/gerber}/render/__init__.py (100%) rename {gerber => src/gerber}/render/cairo_backend.py (100%) rename {gerber => src/gerber}/render/excellon_backend.py (100%) rename {gerber => src/gerber}/render/render.py (100%) rename {gerber => src/gerber}/render/rs274x_backend.py (100%) rename {gerber => src/gerber}/render/theme.py (100%) rename {gerber => src/gerber}/rs274x.py (100%) rename {gerber => src/gerber}/tests/__init__.py (100%) rename {gerber => src/gerber}/tests/golden/example_am_exposure_modifier.png (100%) rename {gerber => src/gerber}/tests/golden/example_coincident_hole.png (100%) rename {gerber => src/gerber}/tests/golden/example_cutin_multiple.png (100%) rename {gerber => src/gerber}/tests/golden/example_flash_circle.png (100%) rename {gerber => src/gerber}/tests/golden/example_flash_obround.png (100%) rename {gerber => src/gerber}/tests/golden/example_flash_polygon.png (100%) rename {gerber => src/gerber}/tests/golden/example_flash_rectangle.png (100%) rename {gerber => src/gerber}/tests/golden/example_fully_coincident.png (100%) rename {gerber => src/gerber}/tests/golden/example_holes_dont_clear.png (100%) rename {gerber => src/gerber}/tests/golden/example_not_overlapping_contour.png (100%) rename {gerber => src/gerber}/tests/golden/example_not_overlapping_touching.png (100%) rename {gerber => src/gerber}/tests/golden/example_overlapping_contour.png (100%) rename {gerber => src/gerber}/tests/golden/example_overlapping_touching.png (100%) rename {gerber => src/gerber}/tests/golden/example_simple_contour.png (100%) rename {gerber => src/gerber}/tests/golden/example_single_contour.png (100%) rename {gerber => src/gerber}/tests/golden/example_single_contour_3.png (100%) rename {gerber => src/gerber}/tests/golden/example_single_quadrant.gbr (100%) rename {gerber => src/gerber}/tests/golden/example_single_quadrant.png (100%) rename {gerber => src/gerber}/tests/golden/example_two_square_boxes.gbr (100%) rename {gerber => src/gerber}/tests/golden/example_two_square_boxes.png (100%) rename {gerber => src/gerber}/tests/resources/board_outline.GKO (100%) rename {gerber => src/gerber}/tests/resources/bottom_copper.GBL (100%) rename {gerber => src/gerber}/tests/resources/bottom_mask.GBS (100%) rename {gerber => src/gerber}/tests/resources/bottom_silk.GBO (100%) rename {gerber => src/gerber}/tests/resources/eagle_files/copper_bottom_l4.gbr (100%) rename {gerber => src/gerber}/tests/resources/eagle_files/copper_inner_l2.gbr (100%) rename {gerber => src/gerber}/tests/resources/eagle_files/copper_inner_l3.gbr (100%) rename {gerber => src/gerber}/tests/resources/eagle_files/copper_top_l1.gbr (100%) rename {gerber => src/gerber}/tests/resources/eagle_files/profile.gbr (100%) rename {gerber => src/gerber}/tests/resources/eagle_files/silkscreen_bottom.gbr (100%) rename {gerber => src/gerber}/tests/resources/eagle_files/silkscreen_top.gbr (100%) rename {gerber => src/gerber}/tests/resources/eagle_files/soldermask_bottom.gbr (100%) rename {gerber => src/gerber}/tests/resources/eagle_files/soldermask_top.gbr (100%) rename {gerber => src/gerber}/tests/resources/eagle_files/solderpaste_bottom.gbr (100%) rename {gerber => src/gerber}/tests/resources/eagle_files/solderpaste_top.gbr (100%) rename {gerber => src/gerber}/tests/resources/example_am_exposure_modifier.gbr (100%) rename {gerber => src/gerber}/tests/resources/example_coincident_hole.gbr (100%) rename {gerber => src/gerber}/tests/resources/example_cutin.gbr (100%) rename {gerber => src/gerber}/tests/resources/example_cutin_multiple.gbr (100%) rename {gerber => src/gerber}/tests/resources/example_flash_circle.gbr (100%) rename {gerber => src/gerber}/tests/resources/example_flash_obround.gbr (100%) rename {gerber => src/gerber}/tests/resources/example_flash_polygon.gbr (100%) rename {gerber => src/gerber}/tests/resources/example_flash_rectangle.gbr (100%) rename {gerber => src/gerber}/tests/resources/example_fully_coincident.gbr (100%) rename {gerber => src/gerber}/tests/resources/example_guess_by_content.g0 (100%) rename {gerber => src/gerber}/tests/resources/example_holes_dont_clear.gbr (100%) rename {gerber => src/gerber}/tests/resources/example_level_holes.gbr (100%) rename {gerber => src/gerber}/tests/resources/example_not_overlapping_contour.gbr (100%) rename {gerber => src/gerber}/tests/resources/example_not_overlapping_touching.gbr (100%) rename {gerber => src/gerber}/tests/resources/example_overlapping_contour.gbr (100%) rename {gerber => src/gerber}/tests/resources/example_overlapping_touching.gbr (100%) rename {gerber => src/gerber}/tests/resources/example_simple_contour.gbr (100%) rename {gerber => src/gerber}/tests/resources/example_single_contour_1.gbr (100%) rename {gerber => src/gerber}/tests/resources/example_single_contour_2.gbr (100%) rename {gerber => src/gerber}/tests/resources/example_single_contour_3.gbr (100%) rename {gerber => src/gerber}/tests/resources/example_single_quadrant.gbr (100%) rename {gerber => src/gerber}/tests/resources/example_two_square_boxes.gbr (100%) rename {gerber => src/gerber}/tests/resources/ipc-d-356.ipc (100%) rename {gerber => src/gerber}/tests/resources/multiline_read.ger (100%) rename {gerber => src/gerber}/tests/resources/ncdrill.DRD (100%) rename {gerber => src/gerber}/tests/resources/top_copper.GTL (100%) rename {gerber => src/gerber}/tests/resources/top_mask.GTS (100%) rename {gerber => src/gerber}/tests/resources/top_silk.GTO (100%) rename {gerber => src/gerber}/tests/test_am_statements.py (100%) rename {gerber => src/gerber}/tests/test_cairo_backend.py (100%) rename {gerber => src/gerber}/tests/test_cam.py (100%) rename {gerber => src/gerber}/tests/test_common.py (100%) rename {gerber => src/gerber}/tests/test_excellon.py (100%) rename {gerber => src/gerber}/tests/test_excellon_statements.py (100%) rename {gerber => src/gerber}/tests/test_gerber_statements.py (100%) rename {gerber => src/gerber}/tests/test_ipc356.py (100%) rename {gerber => src/gerber}/tests/test_layers.py (100%) rename {gerber => src/gerber}/tests/test_pcb.py (100%) rename {gerber => src/gerber}/tests/test_primitives.py (100%) rename {gerber => src/gerber}/tests/test_rs274x.py (100%) rename {gerber => src/gerber}/tests/test_rs274x_backend.py (100%) rename {gerber => src/gerber}/tests/test_utils.py (100%) rename {gerber => src/gerber}/utils.py (100%) diff --git a/pyproject.toml b/pyproject.toml index f0a0e87..5455d7e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] -requires-python='>=3.8' +requires-python='>=3.10' name="pcb-tools" -version= "0.1.7" +version= "0.1.8" authors=[ {name="Paulo Henrique Silva", email='ph.silva@gmail.com'}, {name="Hamilton Kibbe", email='ham@hamiltonkib.be'}] @@ -15,17 +15,11 @@ readme="README.md" keywords=["pcb", "gerber", "tools"] -dependencies = [ - 'click>=7.0', - 'pandas', - 'numpy', -] - [project.license] file="LICENSE" name="APACHE" -[project.scripts] +#[project.scripts] [project.urls] github="http://github.com/curtacircuitos/pcb-tools" @@ -40,11 +34,11 @@ dependencies = {file = ["requirements.txt"]} allow-direct-references = true [tool.setuptools.packages.find] -where=['src', 'src/gerber', 'src/gerber.render'] +where=['src']#, 'src/gerber', 'src/gerber.render'] [build-system] requires = [ - "setuptools>=60", + "setuptools>=70", "setuptools-scm>=8.0" ] diff --git a/gerber/__init__.py b/src/gerber/__init__.py similarity index 100% rename from gerber/__init__.py rename to src/gerber/__init__.py diff --git a/gerber/__main__.py b/src/gerber/__main__.py similarity index 100% rename from gerber/__main__.py rename to src/gerber/__main__.py diff --git a/gerber/am_eval.py b/src/gerber/am_eval.py similarity index 100% rename from gerber/am_eval.py rename to src/gerber/am_eval.py diff --git a/gerber/am_read.py b/src/gerber/am_read.py similarity index 100% rename from gerber/am_read.py rename to src/gerber/am_read.py diff --git a/gerber/am_statements.py b/src/gerber/am_statements.py similarity index 100% rename from gerber/am_statements.py rename to src/gerber/am_statements.py diff --git a/gerber/cam.py b/src/gerber/cam.py similarity index 100% rename from gerber/cam.py rename to src/gerber/cam.py diff --git a/gerber/common.py b/src/gerber/common.py similarity index 100% rename from gerber/common.py rename to src/gerber/common.py diff --git a/gerber/excellon.py b/src/gerber/excellon.py similarity index 100% rename from gerber/excellon.py rename to src/gerber/excellon.py diff --git a/gerber/excellon_report/excellon_drr.py b/src/gerber/excellon_report/excellon_drr.py similarity index 100% rename from gerber/excellon_report/excellon_drr.py rename to src/gerber/excellon_report/excellon_drr.py diff --git a/gerber/excellon_settings.py b/src/gerber/excellon_settings.py similarity index 100% rename from gerber/excellon_settings.py rename to src/gerber/excellon_settings.py diff --git a/gerber/excellon_statements.py b/src/gerber/excellon_statements.py similarity index 100% rename from gerber/excellon_statements.py rename to src/gerber/excellon_statements.py diff --git a/gerber/excellon_tool.py b/src/gerber/excellon_tool.py similarity index 100% rename from gerber/excellon_tool.py rename to src/gerber/excellon_tool.py diff --git a/gerber/exceptions.py b/src/gerber/exceptions.py similarity index 100% rename from gerber/exceptions.py rename to src/gerber/exceptions.py diff --git a/gerber/gerber_statements.py b/src/gerber/gerber_statements.py similarity index 100% rename from gerber/gerber_statements.py rename to src/gerber/gerber_statements.py diff --git a/gerber/ipc356.py b/src/gerber/ipc356.py similarity index 100% rename from gerber/ipc356.py rename to src/gerber/ipc356.py diff --git a/gerber/layers.py b/src/gerber/layers.py similarity index 100% rename from gerber/layers.py rename to src/gerber/layers.py diff --git a/gerber/ncparam/allegro.py b/src/gerber/ncparam/allegro.py similarity index 100% rename from gerber/ncparam/allegro.py rename to src/gerber/ncparam/allegro.py diff --git a/gerber/operations.py b/src/gerber/operations.py similarity index 100% rename from gerber/operations.py rename to src/gerber/operations.py diff --git a/gerber/pcb.py b/src/gerber/pcb.py similarity index 100% rename from gerber/pcb.py rename to src/gerber/pcb.py diff --git a/gerber/primitives.py b/src/gerber/primitives.py similarity index 100% rename from gerber/primitives.py rename to src/gerber/primitives.py diff --git a/gerber/render/__init__.py b/src/gerber/render/__init__.py similarity index 100% rename from gerber/render/__init__.py rename to src/gerber/render/__init__.py diff --git a/gerber/render/cairo_backend.py b/src/gerber/render/cairo_backend.py similarity index 100% rename from gerber/render/cairo_backend.py rename to src/gerber/render/cairo_backend.py diff --git a/gerber/render/excellon_backend.py b/src/gerber/render/excellon_backend.py similarity index 100% rename from gerber/render/excellon_backend.py rename to src/gerber/render/excellon_backend.py diff --git a/gerber/render/render.py b/src/gerber/render/render.py similarity index 100% rename from gerber/render/render.py rename to src/gerber/render/render.py diff --git a/gerber/render/rs274x_backend.py b/src/gerber/render/rs274x_backend.py similarity index 100% rename from gerber/render/rs274x_backend.py rename to src/gerber/render/rs274x_backend.py diff --git a/gerber/render/theme.py b/src/gerber/render/theme.py similarity index 100% rename from gerber/render/theme.py rename to src/gerber/render/theme.py diff --git a/gerber/rs274x.py b/src/gerber/rs274x.py similarity index 100% rename from gerber/rs274x.py rename to src/gerber/rs274x.py diff --git a/gerber/tests/__init__.py b/src/gerber/tests/__init__.py similarity index 100% rename from gerber/tests/__init__.py rename to src/gerber/tests/__init__.py diff --git a/gerber/tests/golden/example_am_exposure_modifier.png b/src/gerber/tests/golden/example_am_exposure_modifier.png similarity index 100% rename from gerber/tests/golden/example_am_exposure_modifier.png rename to src/gerber/tests/golden/example_am_exposure_modifier.png diff --git a/gerber/tests/golden/example_coincident_hole.png b/src/gerber/tests/golden/example_coincident_hole.png similarity index 100% rename from gerber/tests/golden/example_coincident_hole.png rename to src/gerber/tests/golden/example_coincident_hole.png diff --git a/gerber/tests/golden/example_cutin_multiple.png b/src/gerber/tests/golden/example_cutin_multiple.png similarity index 100% rename from gerber/tests/golden/example_cutin_multiple.png rename to src/gerber/tests/golden/example_cutin_multiple.png diff --git a/gerber/tests/golden/example_flash_circle.png b/src/gerber/tests/golden/example_flash_circle.png similarity index 100% rename from gerber/tests/golden/example_flash_circle.png rename to src/gerber/tests/golden/example_flash_circle.png diff --git a/gerber/tests/golden/example_flash_obround.png b/src/gerber/tests/golden/example_flash_obround.png similarity index 100% rename from gerber/tests/golden/example_flash_obround.png rename to src/gerber/tests/golden/example_flash_obround.png diff --git a/gerber/tests/golden/example_flash_polygon.png b/src/gerber/tests/golden/example_flash_polygon.png similarity index 100% rename from gerber/tests/golden/example_flash_polygon.png rename to src/gerber/tests/golden/example_flash_polygon.png diff --git a/gerber/tests/golden/example_flash_rectangle.png b/src/gerber/tests/golden/example_flash_rectangle.png similarity index 100% rename from gerber/tests/golden/example_flash_rectangle.png rename to src/gerber/tests/golden/example_flash_rectangle.png diff --git a/gerber/tests/golden/example_fully_coincident.png b/src/gerber/tests/golden/example_fully_coincident.png similarity index 100% rename from gerber/tests/golden/example_fully_coincident.png rename to src/gerber/tests/golden/example_fully_coincident.png diff --git a/gerber/tests/golden/example_holes_dont_clear.png b/src/gerber/tests/golden/example_holes_dont_clear.png similarity index 100% rename from gerber/tests/golden/example_holes_dont_clear.png rename to src/gerber/tests/golden/example_holes_dont_clear.png diff --git a/gerber/tests/golden/example_not_overlapping_contour.png b/src/gerber/tests/golden/example_not_overlapping_contour.png similarity index 100% rename from gerber/tests/golden/example_not_overlapping_contour.png rename to src/gerber/tests/golden/example_not_overlapping_contour.png diff --git a/gerber/tests/golden/example_not_overlapping_touching.png b/src/gerber/tests/golden/example_not_overlapping_touching.png similarity index 100% rename from gerber/tests/golden/example_not_overlapping_touching.png rename to src/gerber/tests/golden/example_not_overlapping_touching.png diff --git a/gerber/tests/golden/example_overlapping_contour.png b/src/gerber/tests/golden/example_overlapping_contour.png similarity index 100% rename from gerber/tests/golden/example_overlapping_contour.png rename to src/gerber/tests/golden/example_overlapping_contour.png diff --git a/gerber/tests/golden/example_overlapping_touching.png b/src/gerber/tests/golden/example_overlapping_touching.png similarity index 100% rename from gerber/tests/golden/example_overlapping_touching.png rename to src/gerber/tests/golden/example_overlapping_touching.png diff --git a/gerber/tests/golden/example_simple_contour.png b/src/gerber/tests/golden/example_simple_contour.png similarity index 100% rename from gerber/tests/golden/example_simple_contour.png rename to src/gerber/tests/golden/example_simple_contour.png diff --git a/gerber/tests/golden/example_single_contour.png b/src/gerber/tests/golden/example_single_contour.png similarity index 100% rename from gerber/tests/golden/example_single_contour.png rename to src/gerber/tests/golden/example_single_contour.png diff --git a/gerber/tests/golden/example_single_contour_3.png b/src/gerber/tests/golden/example_single_contour_3.png similarity index 100% rename from gerber/tests/golden/example_single_contour_3.png rename to src/gerber/tests/golden/example_single_contour_3.png diff --git a/gerber/tests/golden/example_single_quadrant.gbr b/src/gerber/tests/golden/example_single_quadrant.gbr similarity index 100% rename from gerber/tests/golden/example_single_quadrant.gbr rename to src/gerber/tests/golden/example_single_quadrant.gbr diff --git a/gerber/tests/golden/example_single_quadrant.png b/src/gerber/tests/golden/example_single_quadrant.png similarity index 100% rename from gerber/tests/golden/example_single_quadrant.png rename to src/gerber/tests/golden/example_single_quadrant.png diff --git a/gerber/tests/golden/example_two_square_boxes.gbr b/src/gerber/tests/golden/example_two_square_boxes.gbr similarity index 100% rename from gerber/tests/golden/example_two_square_boxes.gbr rename to src/gerber/tests/golden/example_two_square_boxes.gbr diff --git a/gerber/tests/golden/example_two_square_boxes.png b/src/gerber/tests/golden/example_two_square_boxes.png similarity index 100% rename from gerber/tests/golden/example_two_square_boxes.png rename to src/gerber/tests/golden/example_two_square_boxes.png diff --git a/gerber/tests/resources/board_outline.GKO b/src/gerber/tests/resources/board_outline.GKO similarity index 100% rename from gerber/tests/resources/board_outline.GKO rename to src/gerber/tests/resources/board_outline.GKO diff --git a/gerber/tests/resources/bottom_copper.GBL b/src/gerber/tests/resources/bottom_copper.GBL similarity index 100% rename from gerber/tests/resources/bottom_copper.GBL rename to src/gerber/tests/resources/bottom_copper.GBL diff --git a/gerber/tests/resources/bottom_mask.GBS b/src/gerber/tests/resources/bottom_mask.GBS similarity index 100% rename from gerber/tests/resources/bottom_mask.GBS rename to src/gerber/tests/resources/bottom_mask.GBS diff --git a/gerber/tests/resources/bottom_silk.GBO b/src/gerber/tests/resources/bottom_silk.GBO similarity index 100% rename from gerber/tests/resources/bottom_silk.GBO rename to src/gerber/tests/resources/bottom_silk.GBO diff --git a/gerber/tests/resources/eagle_files/copper_bottom_l4.gbr b/src/gerber/tests/resources/eagle_files/copper_bottom_l4.gbr similarity index 100% rename from gerber/tests/resources/eagle_files/copper_bottom_l4.gbr rename to src/gerber/tests/resources/eagle_files/copper_bottom_l4.gbr diff --git a/gerber/tests/resources/eagle_files/copper_inner_l2.gbr b/src/gerber/tests/resources/eagle_files/copper_inner_l2.gbr similarity index 100% rename from gerber/tests/resources/eagle_files/copper_inner_l2.gbr rename to src/gerber/tests/resources/eagle_files/copper_inner_l2.gbr diff --git a/gerber/tests/resources/eagle_files/copper_inner_l3.gbr b/src/gerber/tests/resources/eagle_files/copper_inner_l3.gbr similarity index 100% rename from gerber/tests/resources/eagle_files/copper_inner_l3.gbr rename to src/gerber/tests/resources/eagle_files/copper_inner_l3.gbr diff --git a/gerber/tests/resources/eagle_files/copper_top_l1.gbr b/src/gerber/tests/resources/eagle_files/copper_top_l1.gbr similarity index 100% rename from gerber/tests/resources/eagle_files/copper_top_l1.gbr rename to src/gerber/tests/resources/eagle_files/copper_top_l1.gbr diff --git a/gerber/tests/resources/eagle_files/profile.gbr b/src/gerber/tests/resources/eagle_files/profile.gbr similarity index 100% rename from gerber/tests/resources/eagle_files/profile.gbr rename to src/gerber/tests/resources/eagle_files/profile.gbr diff --git a/gerber/tests/resources/eagle_files/silkscreen_bottom.gbr b/src/gerber/tests/resources/eagle_files/silkscreen_bottom.gbr similarity index 100% rename from gerber/tests/resources/eagle_files/silkscreen_bottom.gbr rename to src/gerber/tests/resources/eagle_files/silkscreen_bottom.gbr diff --git a/gerber/tests/resources/eagle_files/silkscreen_top.gbr b/src/gerber/tests/resources/eagle_files/silkscreen_top.gbr similarity index 100% rename from gerber/tests/resources/eagle_files/silkscreen_top.gbr rename to src/gerber/tests/resources/eagle_files/silkscreen_top.gbr diff --git a/gerber/tests/resources/eagle_files/soldermask_bottom.gbr b/src/gerber/tests/resources/eagle_files/soldermask_bottom.gbr similarity index 100% rename from gerber/tests/resources/eagle_files/soldermask_bottom.gbr rename to src/gerber/tests/resources/eagle_files/soldermask_bottom.gbr diff --git a/gerber/tests/resources/eagle_files/soldermask_top.gbr b/src/gerber/tests/resources/eagle_files/soldermask_top.gbr similarity index 100% rename from gerber/tests/resources/eagle_files/soldermask_top.gbr rename to src/gerber/tests/resources/eagle_files/soldermask_top.gbr diff --git a/gerber/tests/resources/eagle_files/solderpaste_bottom.gbr b/src/gerber/tests/resources/eagle_files/solderpaste_bottom.gbr similarity index 100% rename from gerber/tests/resources/eagle_files/solderpaste_bottom.gbr rename to src/gerber/tests/resources/eagle_files/solderpaste_bottom.gbr diff --git a/gerber/tests/resources/eagle_files/solderpaste_top.gbr b/src/gerber/tests/resources/eagle_files/solderpaste_top.gbr similarity index 100% rename from gerber/tests/resources/eagle_files/solderpaste_top.gbr rename to src/gerber/tests/resources/eagle_files/solderpaste_top.gbr diff --git a/gerber/tests/resources/example_am_exposure_modifier.gbr b/src/gerber/tests/resources/example_am_exposure_modifier.gbr similarity index 100% rename from gerber/tests/resources/example_am_exposure_modifier.gbr rename to src/gerber/tests/resources/example_am_exposure_modifier.gbr diff --git a/gerber/tests/resources/example_coincident_hole.gbr b/src/gerber/tests/resources/example_coincident_hole.gbr similarity index 100% rename from gerber/tests/resources/example_coincident_hole.gbr rename to src/gerber/tests/resources/example_coincident_hole.gbr diff --git a/gerber/tests/resources/example_cutin.gbr b/src/gerber/tests/resources/example_cutin.gbr similarity index 100% rename from gerber/tests/resources/example_cutin.gbr rename to src/gerber/tests/resources/example_cutin.gbr diff --git a/gerber/tests/resources/example_cutin_multiple.gbr b/src/gerber/tests/resources/example_cutin_multiple.gbr similarity index 100% rename from gerber/tests/resources/example_cutin_multiple.gbr rename to src/gerber/tests/resources/example_cutin_multiple.gbr diff --git a/gerber/tests/resources/example_flash_circle.gbr b/src/gerber/tests/resources/example_flash_circle.gbr similarity index 100% rename from gerber/tests/resources/example_flash_circle.gbr rename to src/gerber/tests/resources/example_flash_circle.gbr diff --git a/gerber/tests/resources/example_flash_obround.gbr b/src/gerber/tests/resources/example_flash_obround.gbr similarity index 100% rename from gerber/tests/resources/example_flash_obround.gbr rename to src/gerber/tests/resources/example_flash_obround.gbr diff --git a/gerber/tests/resources/example_flash_polygon.gbr b/src/gerber/tests/resources/example_flash_polygon.gbr similarity index 100% rename from gerber/tests/resources/example_flash_polygon.gbr rename to src/gerber/tests/resources/example_flash_polygon.gbr diff --git a/gerber/tests/resources/example_flash_rectangle.gbr b/src/gerber/tests/resources/example_flash_rectangle.gbr similarity index 100% rename from gerber/tests/resources/example_flash_rectangle.gbr rename to src/gerber/tests/resources/example_flash_rectangle.gbr diff --git a/gerber/tests/resources/example_fully_coincident.gbr b/src/gerber/tests/resources/example_fully_coincident.gbr similarity index 100% rename from gerber/tests/resources/example_fully_coincident.gbr rename to src/gerber/tests/resources/example_fully_coincident.gbr diff --git a/gerber/tests/resources/example_guess_by_content.g0 b/src/gerber/tests/resources/example_guess_by_content.g0 similarity index 100% rename from gerber/tests/resources/example_guess_by_content.g0 rename to src/gerber/tests/resources/example_guess_by_content.g0 diff --git a/gerber/tests/resources/example_holes_dont_clear.gbr b/src/gerber/tests/resources/example_holes_dont_clear.gbr similarity index 100% rename from gerber/tests/resources/example_holes_dont_clear.gbr rename to src/gerber/tests/resources/example_holes_dont_clear.gbr diff --git a/gerber/tests/resources/example_level_holes.gbr b/src/gerber/tests/resources/example_level_holes.gbr similarity index 100% rename from gerber/tests/resources/example_level_holes.gbr rename to src/gerber/tests/resources/example_level_holes.gbr diff --git a/gerber/tests/resources/example_not_overlapping_contour.gbr b/src/gerber/tests/resources/example_not_overlapping_contour.gbr similarity index 100% rename from gerber/tests/resources/example_not_overlapping_contour.gbr rename to src/gerber/tests/resources/example_not_overlapping_contour.gbr diff --git a/gerber/tests/resources/example_not_overlapping_touching.gbr b/src/gerber/tests/resources/example_not_overlapping_touching.gbr similarity index 100% rename from gerber/tests/resources/example_not_overlapping_touching.gbr rename to src/gerber/tests/resources/example_not_overlapping_touching.gbr diff --git a/gerber/tests/resources/example_overlapping_contour.gbr b/src/gerber/tests/resources/example_overlapping_contour.gbr similarity index 100% rename from gerber/tests/resources/example_overlapping_contour.gbr rename to src/gerber/tests/resources/example_overlapping_contour.gbr diff --git a/gerber/tests/resources/example_overlapping_touching.gbr b/src/gerber/tests/resources/example_overlapping_touching.gbr similarity index 100% rename from gerber/tests/resources/example_overlapping_touching.gbr rename to src/gerber/tests/resources/example_overlapping_touching.gbr diff --git a/gerber/tests/resources/example_simple_contour.gbr b/src/gerber/tests/resources/example_simple_contour.gbr similarity index 100% rename from gerber/tests/resources/example_simple_contour.gbr rename to src/gerber/tests/resources/example_simple_contour.gbr diff --git a/gerber/tests/resources/example_single_contour_1.gbr b/src/gerber/tests/resources/example_single_contour_1.gbr similarity index 100% rename from gerber/tests/resources/example_single_contour_1.gbr rename to src/gerber/tests/resources/example_single_contour_1.gbr diff --git a/gerber/tests/resources/example_single_contour_2.gbr b/src/gerber/tests/resources/example_single_contour_2.gbr similarity index 100% rename from gerber/tests/resources/example_single_contour_2.gbr rename to src/gerber/tests/resources/example_single_contour_2.gbr diff --git a/gerber/tests/resources/example_single_contour_3.gbr b/src/gerber/tests/resources/example_single_contour_3.gbr similarity index 100% rename from gerber/tests/resources/example_single_contour_3.gbr rename to src/gerber/tests/resources/example_single_contour_3.gbr diff --git a/gerber/tests/resources/example_single_quadrant.gbr b/src/gerber/tests/resources/example_single_quadrant.gbr similarity index 100% rename from gerber/tests/resources/example_single_quadrant.gbr rename to src/gerber/tests/resources/example_single_quadrant.gbr diff --git a/gerber/tests/resources/example_two_square_boxes.gbr b/src/gerber/tests/resources/example_two_square_boxes.gbr similarity index 100% rename from gerber/tests/resources/example_two_square_boxes.gbr rename to src/gerber/tests/resources/example_two_square_boxes.gbr diff --git a/gerber/tests/resources/ipc-d-356.ipc b/src/gerber/tests/resources/ipc-d-356.ipc similarity index 100% rename from gerber/tests/resources/ipc-d-356.ipc rename to src/gerber/tests/resources/ipc-d-356.ipc diff --git a/gerber/tests/resources/multiline_read.ger b/src/gerber/tests/resources/multiline_read.ger similarity index 100% rename from gerber/tests/resources/multiline_read.ger rename to src/gerber/tests/resources/multiline_read.ger diff --git a/gerber/tests/resources/ncdrill.DRD b/src/gerber/tests/resources/ncdrill.DRD similarity index 100% rename from gerber/tests/resources/ncdrill.DRD rename to src/gerber/tests/resources/ncdrill.DRD diff --git a/gerber/tests/resources/top_copper.GTL b/src/gerber/tests/resources/top_copper.GTL similarity index 100% rename from gerber/tests/resources/top_copper.GTL rename to src/gerber/tests/resources/top_copper.GTL diff --git a/gerber/tests/resources/top_mask.GTS b/src/gerber/tests/resources/top_mask.GTS similarity index 100% rename from gerber/tests/resources/top_mask.GTS rename to src/gerber/tests/resources/top_mask.GTS diff --git a/gerber/tests/resources/top_silk.GTO b/src/gerber/tests/resources/top_silk.GTO similarity index 100% rename from gerber/tests/resources/top_silk.GTO rename to src/gerber/tests/resources/top_silk.GTO diff --git a/gerber/tests/test_am_statements.py b/src/gerber/tests/test_am_statements.py similarity index 100% rename from gerber/tests/test_am_statements.py rename to src/gerber/tests/test_am_statements.py diff --git a/gerber/tests/test_cairo_backend.py b/src/gerber/tests/test_cairo_backend.py similarity index 100% rename from gerber/tests/test_cairo_backend.py rename to src/gerber/tests/test_cairo_backend.py diff --git a/gerber/tests/test_cam.py b/src/gerber/tests/test_cam.py similarity index 100% rename from gerber/tests/test_cam.py rename to src/gerber/tests/test_cam.py diff --git a/gerber/tests/test_common.py b/src/gerber/tests/test_common.py similarity index 100% rename from gerber/tests/test_common.py rename to src/gerber/tests/test_common.py diff --git a/gerber/tests/test_excellon.py b/src/gerber/tests/test_excellon.py similarity index 100% rename from gerber/tests/test_excellon.py rename to src/gerber/tests/test_excellon.py diff --git a/gerber/tests/test_excellon_statements.py b/src/gerber/tests/test_excellon_statements.py similarity index 100% rename from gerber/tests/test_excellon_statements.py rename to src/gerber/tests/test_excellon_statements.py diff --git a/gerber/tests/test_gerber_statements.py b/src/gerber/tests/test_gerber_statements.py similarity index 100% rename from gerber/tests/test_gerber_statements.py rename to src/gerber/tests/test_gerber_statements.py diff --git a/gerber/tests/test_ipc356.py b/src/gerber/tests/test_ipc356.py similarity index 100% rename from gerber/tests/test_ipc356.py rename to src/gerber/tests/test_ipc356.py diff --git a/gerber/tests/test_layers.py b/src/gerber/tests/test_layers.py similarity index 100% rename from gerber/tests/test_layers.py rename to src/gerber/tests/test_layers.py diff --git a/gerber/tests/test_pcb.py b/src/gerber/tests/test_pcb.py similarity index 100% rename from gerber/tests/test_pcb.py rename to src/gerber/tests/test_pcb.py diff --git a/gerber/tests/test_primitives.py b/src/gerber/tests/test_primitives.py similarity index 100% rename from gerber/tests/test_primitives.py rename to src/gerber/tests/test_primitives.py diff --git a/gerber/tests/test_rs274x.py b/src/gerber/tests/test_rs274x.py similarity index 100% rename from gerber/tests/test_rs274x.py rename to src/gerber/tests/test_rs274x.py diff --git a/gerber/tests/test_rs274x_backend.py b/src/gerber/tests/test_rs274x_backend.py similarity index 100% rename from gerber/tests/test_rs274x_backend.py rename to src/gerber/tests/test_rs274x_backend.py diff --git a/gerber/tests/test_utils.py b/src/gerber/tests/test_utils.py similarity index 100% rename from gerber/tests/test_utils.py rename to src/gerber/tests/test_utils.py diff --git a/gerber/utils.py b/src/gerber/utils.py similarity index 100% rename from gerber/utils.py rename to src/gerber/utils.py