Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repair pipeline #81

Merged
merged 1 commit into from
Dec 15, 2022
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
3 changes: 2 additions & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade pip
sudo apt-get install libhdf5-serial-dev
python -m pip install --upgrade pip setuptools wheel
python -m pip install asv virtualenv

- name: Run benchmarks
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
sudo apt-get install libhdf5-serial-dev
python -m pip install --upgrade pip setuptools wheel
python -m pip install flake8
python -m pip install .[tests]
- name: Lint with flake8
Expand Down
7 changes: 5 additions & 2 deletions freegs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@
along with FreeGS. If not, see <http://www.gnu.org/licenses/>.

"""

from ._version import __version__
from importlib_metadata import metadata

from .equilibrium import Equilibrium

Expand All @@ -44,3 +43,7 @@
from .dump import OutputFile

from . import plotting


__version__ = metadata(__package__)["Version"]
__author__ = metadata(__package__)["Author"]
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ dependencies = [
"matplotlib>=1.3",
"h5py>=2.10.0",
"Shapely>=1.7.1",
"importlib-metadata<4.3,>=1.1.0"
]
dynamic = ["version"]

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ scipy>=1.0.0
matplotlib>=2.0.0
h5py>=2.10.0
Shapely>=1.7.1
importlib-metadata<4.3,>=1.1.0