Skip to content

Commit

Permalink
Restructure file system
Browse files Browse the repository at this point in the history
  • Loading branch information
m-clare committed May 1, 2024
1 parent 1c7b475 commit 1ae8523
Show file tree
Hide file tree
Showing 17 changed files with 50 additions and 50 deletions.
12 changes: 6 additions & 6 deletions build_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
extensions = [
Extension(
"cytriangle.cytriangleio",
sources=["cytriangle/cytriangleio.pyx", "c/triangle.c"],
include_dirs=["c"],
sources=["src/cytriangle/cytriangleio.pyx", "src/c/triangle.c"],
include_dirs=["src/c"],
define_macros=define_macros,
),
Extension(
"cytriangle.cytriangle",
sources=["cytriangle/cytriangle.pyx", "c/triangle.c"],
include_dirs=["c"],
sources=["src/cytriangle/cytriangle.pyx", "src/c/triangle.c"],
include_dirs=["src/c"],
define_macros=define_macros,
),
]
Expand All @@ -32,8 +32,8 @@ class BuildExt(build_ext):
def build_extensions(self):
try:
super().build_extensions()
except Exception:
pass
except Exception as e:
print(f"An exception occured: {type(e).__name__}: {e}")


def build(setup_kwargs):
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
40 changes: 20 additions & 20 deletions cytriangle/cytriangle.c → src/cytriangle/cytriangle.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
Loading

0 comments on commit 1ae8523

Please sign in to comment.