Replies: 2 comments 5 replies
-
Here's a paragraph about that in the docs: https://pdm.fming.dev/pyproject/tool-pdm/#build-c-extensions |
Beta Was this translation helpful? Give feedback.
5 replies
-
i am on a mobile phone, you can read PEP 517 about how a package manager builds wheels from source. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am starting to use PDM and enjoying it.
I am trying to make this the method our whole team uses. They are used to virtual environments, conda, etc. They were concerned that things with c extensions like
numpy
orscipy
wouldn't work. I already have them installed and showed that it wasn't a problem.But it got me thinking: this is because they are already wheels (pre-compiled binaries upon install). What about libraries and packages that have dependencies beyond Python, but which need to be compiled by source. I don't understand how PDM handles this. I have to admit, I don't fully understand how Conda or
venv
does, either. I mean, I understand that the virtual environments are not assisting with the install at all. But at some level, there is a call togcc
orclang
or some other tool that is needed to compile, and this compiled code is saved somewhere. How is all of that managed in PDM? Does it work properly? Is there any concern I should have with non-wheel software when using PDM?Beta Was this translation helpful? Give feedback.
All reactions