Skip to content

Commit

Permalink
remove -m argument from f2py .pyf generation
Browse files Browse the repository at this point in the history
remove numpy pins
fixes gh-187
  • Loading branch information
bnavigator committed Dec 19, 2022
1 parent c71e69c commit 9fec0d0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/conda-env/build-env.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build-env
dependencies:
- boa
- numpy <1.24
- numpy !=1.23.0
2 changes: 1 addition & 1 deletion conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ requirements:
- libcblas * *netlib
- liblapack * *netlib
- python
- numpy <1.24
- numpy !=1.23.0
- pip
- scikit-build >=0.15
- setuptools >=45
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ requires = [
"wheel",
"scikit-build>=0.15",
"cmake>=3.14",
# python-control/Slycot/issues/187
"numpy<1.24"]
"numpy!=1.23.0"]
build-backend = "setuptools.build_meta"

[project]
Expand Down
3 changes: 1 addition & 2 deletions slycot/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -647,8 +647,7 @@ set(CMAKE_Fortran_FLAGS )
add_custom_target(wrapper ALL DEPENDS ${SLICOT_FSOURCE} ${SLYCOT_FSOURCE})
add_custom_command(
OUTPUT _wrappermodule.c _wrapper-f2pywrappers.f
COMMAND ${F2PY_EXECUTABLE} -m SLYCOT
${CMAKE_CURRENT_SOURCE_DIR}/${F2PYSOURCE}
COMMAND ${F2PY_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/${F2PYSOURCE}
DEPENDS ${F2PYSOURCE_DEPS} ${F2PYSOURCE}
)

Expand Down

0 comments on commit 9fec0d0

Please sign in to comment.