MLBEDSW-6982: Move to setup.cfg and pyproject.toml

- Move all static information from setup.py to newly added
  pyproject.toml
- Add setup.cfg used for static information that cannot be added to
  pyproject.toml due to it still being in beta.
- Modify mlw_codec to to throw a real python exception when importing
  NumPy arrays instead of just printing them to stdout.
- Surround mlw_codec import with try catch statement to catch NumPy C
  API mismatch errors and throw them again with a more detailed message.
- Update README.md with documentation about known issue with changing
  used NumPy version after installing ethos-u-vela.

Change-Id: I1eeee5536be7c1744e30d6088f7069fbb1403e06
Signed-off-by: Raul Farkas <raul.farkas@arm.com>
diff --git a/setup.cfg b/setup.cfg
new file mode 100644
index 0000000..5c63e15
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,27 @@
+# SPDX-FileCopyrightText: Copyright 2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
+#
+# SPDX-License-Identifier: Apache-2.0
+#
+# Licensed under the Apache License, Version 2.0 (the License); you may
+# not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an AS IS BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+[options]
+packages =
+    ethosu
+    ethosu.vela
+    ethosu.vela.ethos_u55_regs
+    ethosu.vela.tflite
+    ethosu.vela.tosa
+    ethosu.mlw_codec
+
+[options.package_data]
+ethosu = config_files/*/*.ini
\ No newline at end of file