diff --git a/eeschema/CMakeLists.txt b/eeschema/CMakeLists.txt index 549bde99e2..58c0c31c6c 100644 --- a/eeschema/CMakeLists.txt +++ b/eeschema/CMakeLists.txt @@ -684,4 +684,4 @@ make_lexer( TSCHEMATIC_T ) -add_subdirectory( plugins ) +add_subdirectory( python_scripts ) diff --git a/eeschema/plugins/CMakeLists.txt b/eeschema/plugins/CMakeLists.txt deleted file mode 100644 index f3d18243b4..0000000000 --- a/eeschema/plugins/CMakeLists.txt +++ /dev/null @@ -1,19 +0,0 @@ -# EESCHEMA's netlist and bom sample scripts - -set( PYTHON_SCRIPTS_LIST - python_scripts/README-bom.txt - python_scripts/kicad_utils.py - python_scripts/kicad_netlist_reader.py - python_scripts/bom_csv_grouped_by_value.py - python_scripts/bom_csv_grouped_by_value_with_fp.py - python_scripts/bom_csv_grouped_extra.py - python_scripts/bom_csv_sorted_by_ref.py - python_scripts/bom_html_grouped_by_value.py - python_scripts/bom_html_with_advanced_grouping.py - python_scripts/bom_txt_sorted_by_ref.py - ) - -install( FILES ${PYTHON_SCRIPTS_LIST} - DESTINATION ${KICAD_PLUGINS} - COMPONENT binary - ) diff --git a/eeschema/python_scripts/CMakeLists.txt b/eeschema/python_scripts/CMakeLists.txt new file mode 100644 index 0000000000..ea6f3244f4 --- /dev/null +++ b/eeschema/python_scripts/CMakeLists.txt @@ -0,0 +1,19 @@ +# EESCHEMA's netlist and bom sample scripts + +set( PYTHON_SCRIPTS_LIST + README-bom.txt + kicad_utils.py + kicad_netlist_reader.py + bom_csv_grouped_by_value.py + bom_csv_grouped_by_value_with_fp.py + bom_csv_grouped_extra.py + bom_csv_sorted_by_ref.py + bom_html_grouped_by_value.py + bom_html_with_advanced_grouping.py + bom_txt_sorted_by_ref.py + ) + +install( FILES ${PYTHON_SCRIPTS_LIST} + DESTINATION ${KICAD_PLUGINS} + COMPONENT binary + ) diff --git a/eeschema/plugins/python_scripts/README-bom.txt b/eeschema/python_scripts/README-bom.txt similarity index 100% rename from eeschema/plugins/python_scripts/README-bom.txt rename to eeschema/python_scripts/README-bom.txt diff --git a/eeschema/plugins/python_scripts/bom_csv_grouped_by_value.py b/eeschema/python_scripts/bom_csv_grouped_by_value.py similarity index 100% rename from eeschema/plugins/python_scripts/bom_csv_grouped_by_value.py rename to eeschema/python_scripts/bom_csv_grouped_by_value.py diff --git a/eeschema/plugins/python_scripts/bom_csv_grouped_by_value_with_fp.py b/eeschema/python_scripts/bom_csv_grouped_by_value_with_fp.py similarity index 100% rename from eeschema/plugins/python_scripts/bom_csv_grouped_by_value_with_fp.py rename to eeschema/python_scripts/bom_csv_grouped_by_value_with_fp.py diff --git a/eeschema/plugins/python_scripts/bom_csv_grouped_extra.py b/eeschema/python_scripts/bom_csv_grouped_extra.py similarity index 100% rename from eeschema/plugins/python_scripts/bom_csv_grouped_extra.py rename to eeschema/python_scripts/bom_csv_grouped_extra.py diff --git a/eeschema/plugins/python_scripts/bom_csv_sorted_by_ref.py b/eeschema/python_scripts/bom_csv_sorted_by_ref.py similarity index 100% rename from eeschema/plugins/python_scripts/bom_csv_sorted_by_ref.py rename to eeschema/python_scripts/bom_csv_sorted_by_ref.py diff --git a/eeschema/plugins/python_scripts/bom_html_grouped_by_value.py b/eeschema/python_scripts/bom_html_grouped_by_value.py similarity index 100% rename from eeschema/plugins/python_scripts/bom_html_grouped_by_value.py rename to eeschema/python_scripts/bom_html_grouped_by_value.py diff --git a/eeschema/plugins/python_scripts/bom_html_with_advanced_grouping.py b/eeschema/python_scripts/bom_html_with_advanced_grouping.py similarity index 100% rename from eeschema/plugins/python_scripts/bom_html_with_advanced_grouping.py rename to eeschema/python_scripts/bom_html_with_advanced_grouping.py diff --git a/eeschema/plugins/python_scripts/bom_txt_sorted_by_ref.py b/eeschema/python_scripts/bom_txt_sorted_by_ref.py similarity index 100% rename from eeschema/plugins/python_scripts/bom_txt_sorted_by_ref.py rename to eeschema/python_scripts/bom_txt_sorted_by_ref.py diff --git a/eeschema/plugins/python_scripts/kicad_netlist_reader.py b/eeschema/python_scripts/kicad_netlist_reader.py similarity index 100% rename from eeschema/plugins/python_scripts/kicad_netlist_reader.py rename to eeschema/python_scripts/kicad_netlist_reader.py diff --git a/eeschema/plugins/python_scripts/kicad_utils.py b/eeschema/python_scripts/kicad_utils.py similarity index 100% rename from eeschema/plugins/python_scripts/kicad_utils.py rename to eeschema/python_scripts/kicad_utils.py diff --git a/eeschema/plugins/python_scripts/netlist_form_OrcadPcb2.py b/eeschema/python_scripts/netlist_form_OrcadPcb2.py similarity index 100% rename from eeschema/plugins/python_scripts/netlist_form_OrcadPcb2.py rename to eeschema/python_scripts/netlist_form_OrcadPcb2.py diff --git a/eeschema/plugins/python_scripts/netlist_form_cadstar.py b/eeschema/python_scripts/netlist_form_cadstar.py similarity index 100% rename from eeschema/plugins/python_scripts/netlist_form_cadstar.py rename to eeschema/python_scripts/netlist_form_cadstar.py diff --git a/eeschema/plugins/python_scripts/netlist_form_pads-pcb-asc.py b/eeschema/python_scripts/netlist_form_pads-pcb-asc.py similarity index 100% rename from eeschema/plugins/python_scripts/netlist_form_pads-pcb-asc.py rename to eeschema/python_scripts/netlist_form_pads-pcb-asc.py diff --git a/eeschema/plugins/python_scripts/round_robin.py b/eeschema/python_scripts/round_robin.py similarity index 100% rename from eeschema/plugins/python_scripts/round_robin.py rename to eeschema/python_scripts/round_robin.py diff --git a/eeschema/plugins/python_scripts/round_value_robin.py b/eeschema/python_scripts/round_value_robin.py similarity index 100% rename from eeschema/plugins/python_scripts/round_value_robin.py rename to eeschema/python_scripts/round_value_robin.py