Skip to content

Commit

Permalink
Consolidate func interface, add to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
m-clare committed Jun 3, 2024
1 parent d5b58b2 commit 6094e76
Show file tree
Hide file tree
Showing 6 changed files with 1,307 additions and 612 deletions.
22 changes: 20 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,30 @@
[tool.poetry]
name = "cytriangle"
version = "0.1.0"
version = "1.0.0"
description = "Object-oriented Cython wrapper of Shewchuk's Triangle Library"
authors = ["Maryanne Wachter <mclare@utsv.net>"]
maintainers = [
"Maryanne Wachter <mclare@utsv.net>",
"Connor Ferster <connorferser@gmail.com>"
]
license = "LGPL 3.0"
repository = "https://github.com/m-clare/cytriangle"
readme = "README.md"
keywords = [
"finite-element-analysis",
"triangular-meshing",
"mesh",
"FEA"
]
classifiers = [
"Environment :: Console",
"Topic :: Scientific/Engineering",
"Natural Language :: English",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]

[tool.poetry.build]
script = "build_ext.py"
Expand All @@ -24,5 +43,4 @@ requires = ["poetry-core>=1.0.0",
"Cython>=3.0",
"setuptools",
"numpy"]

build-backend = "poetry.core.masonry.api"
3 changes: 1 addition & 2 deletions src/cytriangle/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from .functional_interface import triangulate
from .cytriangle import CyTriangle
from .cytriangle import CyTriangle, triangulate
from .cytriangleio import TriangleIO

__all__ = ["CyTriangle", "TriangleIO", triangulate]
Loading

0 comments on commit 6094e76

Please sign in to comment.