Skip to content

Commit

Permalink
minimum python version is now 3.6
Browse files Browse the repository at this point in the history
- some corrections on build_wheels.yml
  • Loading branch information
Socrats committed May 1, 2021
1 parent fc94ab8 commit 64c8c4c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,11 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest] # Windows wheels currently not supported very well by scikit-build
cibw-arch: [manylinux_x86_64, macosx_x86_64]
include: # Windows wheels currently not supported very well by scikit-build
- runs-on: ubuntu-latest
cibw-arch: manylinux_x86_64
- runs-on: macos-latest
cibw-arch: macosx_x86_64

steps:
- name: Checkout code
Expand All @@ -109,17 +112,13 @@ jobs:
CIBW_SKIP: cp27-win*
CIBW_BUILD: cp38-${{ matrix.cibw-arch }}
CIBW_BEFORE_ALL_MACOS: |
brew install libomp && \
brew install eigen && \
brew install openblas && \
echo "LIBOMP=$(brew --prefix libomp)" >> $GITHUB_ENV && \
echo "EIGEN=$(brew --prefix eigen)" >> $GITHUB_ENV && \
echo "GFORTRAN=$(brew --prefix gfortran)" >> $GITHUB_ENV && \
echo "OPENBLAS=$(brew --prefix openblas)" >> $GITHUB_ENV && \
brew install libomp && brew install eigen && brew install openblas
# echo "LIBOMP=$(brew --prefix libomp)" >> $GITHUB_ENV && \
# echo "EIGEN=$(brew --prefix eigen)" >> $GITHUB_ENV && \
# echo "OPENBLAS=$(brew --prefix openblas)" >> $GITHUB_ENV
CIBW_BEFORE_ALL_LINUX: |
sudo apt-get install libomp-dev && \
sudo apt install libeigen3-dev && \
echo "EIGEN=/usr/include/eigen3" >> $GITHUB_ENV
sudo apt-get install libomp-dev && sudo apt install libeigen3-dev
# echo "EIGEN=/usr/include/eigen3" >> $GITHUB_ENV
CIBW_ENVIRONMENT_LINUX: "-DEigen3_DIR='/usr/include/eigen3/cmake'"
CIBW_ENVIRONMENT_MACOS: "-DEigen3_DIR='$(brew --prefix eigen)/cmake'"

Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ classifiers =
Operating System :: Unix
Programming Language :: C++
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Expand All @@ -35,7 +34,7 @@ classifiers =
Topic :: Software Development :: Libraries :: Python Modules

[options]
python_requires = >=3.5
python_requires = >=3.6
install_requires =
numpy>=1.7.0
scipy>=1.5.0
Expand Down

0 comments on commit 64c8c4c

Please sign in to comment.