diff --git a/docs/examples/getting_started/ctypes/CMakeLists.txt b/docs/examples/getting_started/ctypes/CMakeLists.txt deleted file mode 100644 index 23063efa..00000000 --- a/docs/examples/getting_started/ctypes/CMakeLists.txt +++ /dev/null @@ -1,6 +0,0 @@ -cmake_minimum_required(VERSION 3.15...3.26) -project(${SKBUILD_PROJECT_NAME} LANGUAGES C) - -add_library(example MODULE example.c) - -install(TARGETS example DESTINATION example) diff --git a/docs/examples/getting_started/ctypes/example.c b/docs/examples/getting_started/ctypes/example.c deleted file mode 100644 index be5fe1f9..00000000 --- a/docs/examples/getting_started/ctypes/example.c +++ /dev/null @@ -1 +0,0 @@ -float square(float x) { return x * x; } diff --git a/docs/examples/getting_started/ctypes/pyproject.toml b/docs/examples/getting_started/ctypes/pyproject.toml deleted file mode 100644 index 67974828..00000000 --- a/docs/examples/getting_started/ctypes/pyproject.toml +++ /dev/null @@ -1,7 +0,0 @@ -[build-system] -requires = ["scikit-build-core"] -build-backend = "scikit_build_core.build" - -[project] -name = "example" -version = "0.0.1" diff --git a/docs/examples/getting_started/ctypes/src/example/__init__.py b/docs/examples/getting_started/ctypes/src/example/__init__.py deleted file mode 100644 index f644dd87..00000000 --- a/docs/examples/getting_started/ctypes/src/example/__init__.py +++ /dev/null @@ -1,7 +0,0 @@ -# libexample = ctypes.CDLL(files("example") / "libexample.so") - -# square = libexample.square -# square.argtypes = [ctypes.c_float] -# square.restype = ctypes.c_float - -# __all__ = ["square"]