Skip to content

Commit

Permalink
Merge pull request #211 from hmcezar/main
Browse files Browse the repository at this point in the history
Fixes release action
  • Loading branch information
hmcezar authored Apr 5, 2023
2 parents 20ac689 + 8924e1c commit a3e3c51
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y python3-mpi4py python3-numpy
sudo apt-get install -y python3-mpi4py python3-numpy python3-distutils
sudo apt-get install -y libhdf5-openmpi-dev libfftw3-3 libfftw3-dev
- name: Install python dependencies
run: |
python3 -m pip install --upgrade pip
pip3 install setuptools wheel twine cython numpy mpi4py
python3 -m pip install --upgrade wheel numpy mpi4py cython twine setuptools
python3 -m pip install -r requirements.txt
- name: Build and publish
env:
TWINE_USERNAME: __token__
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def find_version(path):
ext_modules=[force_kernels],
setup_requires=[
"cython",
"numpy",
"numpy<1.24",
"mpi4py",
],
install_requires=[
Expand All @@ -52,7 +52,7 @@ def find_version(path):
"mpi4py",
"mpsort",
"networkx",
"numpy",
"numpy<1.24",
"pfft-python",
"pmesh",
"sympy",
Expand All @@ -70,6 +70,7 @@ def find_version(path):
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Fortran",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Scientific/Engineering :: Physics",
Expand Down

0 comments on commit a3e3c51

Please sign in to comment.