Skip to content

Building external fortran dependencies using f2py #632

Answered by eli-schwartz
KyleAcheson asked this question in Q&A
Discussion options

You must be logged in to vote

Pip uses "build isolation" by default.

You need numpy as a build-system.requires, not just as an install-time dependency, because it needs to be available at build time to run f2py. You're currently missing that, though. The build isolation means even if you have a preinstalled copy of numpy, the build process doesn't see it -- it is built inside a fresh, empty virtualenv.

Note: this isn't really specific to a build backend.

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@pmaxted
Comment options

@dnicolodi
Comment options

@pmaxted
Comment options

@dnicolodi
Comment options

@pmaxted
Comment options

Answer selected by rgommers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants