From 8c9746482e6545c461aad440ee4d9fba7201f447 Mon Sep 17 00:00:00 2001 From: Jonas Lindemann Date: Fri, 10 Nov 2023 22:18:38 +0100 Subject: [PATCH 1/4] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d92b2e5..623c81b 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,9 @@ of ”Computer Aided Learning of the Finite Element Method” and been developed ## Why CALFEM for Python? -Unlike MATLAB, which have expensive licenses, Python is free to use and distribute both for personal and commercial use. This is the python version of CALFEM for scientific purposes/research. +While both the MATLAB and Python versions of CALFEM are open-source (MIT Licensed), the key difference lies in the environments they operate in. MATLAB is not open-source and requires expensive licenses (for commercial use), which can be a barrier for many users. In contrast, Python is a free, open-source programming language, making CALFEM for Python more accessible and cost-effective for a broader audience, including those in academic, personal, or commercial settings. + +CALFEM for Python is released under the MIT license, which enables its use in open-source as well as commercial projects. ## Installation From b93c2e9eddd39b0a1e9ab8d03789baddce99b7da Mon Sep 17 00:00:00 2001 From: Jonas Lindemann Date: Thu, 15 Feb 2024 18:29:21 +0100 Subject: [PATCH 2/4] Fixed issues with PDM --- .pdm.toml | 2 ++ build-package.py | 2 +- pyproject.toml | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 .pdm.toml diff --git a/.pdm.toml b/.pdm.toml new file mode 100644 index 0000000..16dcef7 --- /dev/null +++ b/.pdm.toml @@ -0,0 +1,2 @@ +[python] +path = "C:\\Users\\Jonas Lindemann\\Development\\calfem-python-master\\.venv\\Scripts\\python.exe" diff --git a/build-package.py b/build-package.py index 139f6c8..46d712e 100644 --- a/build-package.py +++ b/build-package.py @@ -10,7 +10,7 @@ def update_setup(package_name, package_version, package_deps): f.write(setup_template.format(package_name=package_name, package_version=package_version, package_depends=package_deps)) def build_package(): - os.system("python -m build --wheel") + os.system("C:\Users\Miniconda3\envs\calfem-dev\python.exe -m build --wheel") if __name__ == "__main__": diff --git a/pyproject.toml b/pyproject.toml index c938c12..9500768 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,10 @@ [project] name = "calfem-python" -version = "3.6.5" +version = "3.6.6" description = "CALFEM for Python" authors = [ {name = "Jonas Lindemann", email = "jonas.lindemann@gmail.com"}, - {name = "Jonas Lindemann, et al", email = "jonas.lindemann@lunarc.lu.se"}, + {name = "Jonas Lindemann", email = "jonas.lindemann@lunarc.lu.se"}, ] dependencies = [ "gmsh", From 4585e61eedc4ae0b4f76211dc89724619579862b Mon Sep 17 00:00:00 2001 From: Jonas Lindemann Date: Thu, 15 Feb 2024 18:32:58 +0100 Subject: [PATCH 3/4] Fix error in toml file --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 666bdca..301b681 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,8 @@ name = "calfem-python" version = "3.6.6" description = "CALFEM for Python" authors = [ - {name = "Jonas Lindemann, et al", email = "jonas.lindemann@lunarc.lu.se"}, + {name = "Jonas Lindemann", email = "jonas.lindemann@lunarc.lu.se"}, + {name = "Jonas Lindemann", email = "jonas.lindemann@gmail.com"} ] dependencies = [ "gmsh", From 175925ea09bf2c9cd04893189a85658bfae51a27 Mon Sep 17 00:00:00 2001 From: Jonas Lindemann Date: Thu, 15 Feb 2024 18:36:09 +0100 Subject: [PATCH 4/4] Fixed version. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 301b681..03e2f0c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "calfem-python" -version = "3.6.6" +version = "3.6.7" description = "CALFEM for Python" authors = [ {name = "Jonas Lindemann", email = "jonas.lindemann@lunarc.lu.se"},