diff --git a/GooseFEM.pc.in b/GooseFEM.pc.in index 0728150..7ddc844 100644 --- a/GooseFEM.pc.in +++ b/GooseFEM.pc.in @@ -1,7 +1,7 @@ prefix=@CMAKE_INSTALL_PREFIX@ includedir=${prefix}/include Name: @PROJECT_NAME@ Description: Finite Element simulation, some simple meshes and operations. -Version: @GooseFEM_VERSION@ +Version: @PROJECT_VERSION@ Cflags: -I${includedir} diff --git a/setup.py b/setup.py index 047e3be..f957de9 100644 --- a/setup.py +++ b/setup.py @@ -1,19 +1,24 @@ +from pathlib import Path + from setuptools_scm import get_version from skbuild import setup project_name = "GooseFEM" +this_directory = Path(__file__).parent +long_description = (this_directory / "README.md").read_text() + setup( name=project_name, description="Finite element meshes, quadrature, and assembly tools", - long_description="Finite element meshes, quadrature, and assembly tools", + long_description=long_description, version=get_version(), license="GPLv3", author="Tom de Geus", author_email="tom@geus.me", url=f"https://github.com/tdegeus/{project_name}", packages=[f"{project_name}"], package_dir={"": "python"}, cmake_install_dir=f"python/{project_name}", cmake_minimum_required_version="3.13...3.21", )