Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/actions/install/psydac-in-container/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Install Psydac in Container

description:

inputs:
compile_language:
required: true
Expand All @@ -19,13 +21,14 @@ runs:
run: |
ls / -a
which python3
git clone https://github.com/struphy-hub/psydac-for-struphy.git
cd psydac-for-struphy
ls -a
git clone https://github.com/struphy-hub/feectools.git feectools-tmp
cd feectools-tmp
echo ${GIT_BRANCH_NAME}
git checkout ${GIT_BRANCH_NAME}
git pull
source /struphy_${{ inputs.compile_language }}_/env_${{ inputs.compile_language }}_/bin/activate
pip show feectools
psydac-accelerate --cleanup --yes
pip uninstall feectools -y
python3 -m pip install . --force-reinstall --no-cache-dir
python3 -m pip install .
6 changes: 4 additions & 2 deletions .github/actions/install/psydac-req/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Install prerequisites

description:

runs:
using: composite
steps:
Expand Down Expand Up @@ -92,13 +94,13 @@ runs:
path: "./petsc"
key: petsc-${{ matrix.os }}-${{ matrix.python-version }}

- if: steps.cache-petsc.outputs.cache-hit != 'true'
- if: steps.cache-petsc.outputs.cache-hit == ''
name: Download a specific release of PETSc
shell: bash
run: |
git clone --depth 1 --branch v3.23.3 https://gitlab.com/petsc/petsc.git

- if: steps.cache-petsc.outputs.cache-hit != 'true'
- if: steps.cache-petsc.outputs.cache-hit == ''
name: Install PETSc with complex support
working-directory: ./petsc
shell: bash
Expand Down
2 changes: 2 additions & 0 deletions .github/actions/install/struphy-in-container/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Install Struphy in Container

description:

inputs:
compile_language:
required: true
Expand Down
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "feectools"
version = "0.1.1"
version = "0.1.2"
description = "Slimmed-down fork of Psydac (https://github.com/pyccel/psydac) with less functionality and fewer dependencies."
readme = "README.md"
requires-python = ">= 3.10"
Expand Down Expand Up @@ -53,13 +53,14 @@ mpi = [
]

[project.urls]
Homepage = "https://github.com/struphy-hub/psydac-for-struphy"
Documentation = "https://github.com/struphy-hub/psydac-for-struphy"
Repository = "https://github.com/struphy-hub/psydac-for-struphy"
Homepage = "https://github.com/struphy-hub/feectools"
Documentation = "https://github.com/struphy-hub/feectools"
Repository = "https://github.com/struphy-hub/feectools"

[project.scripts]
psydac-mesh = "feectools.cmd.mesh:main"
psydac-accelerate = "feectools.accelerate.accelerate:main"

[tool.setuptools.packages.find]
include = ["feectools*"]
exclude = ["*__psydac__*"]
Expand Down