Hi, what is the recommended way to build platform ...
# general
c
Hi, what is the recommended way to build platform wheels (as opposed to pure python wheels)?
b
Do you mean first party wheels? As in, from a
Python_distribution
target in pants? (As opposed to third party wheels, like start with the numpy sdist and building it)
c
Hi @broad-processor-92400, sorry, that wasn't clear. I mean using extension modules in wheel as opposed to building a multi-platform wheel. For e.g. it looks like one could provide
package_data
for pre-compiled libraries or use
ext_modules
when you have sources in the
setup()
function. I suppose
package_data
is out of question for pants, maybe ext_modules would work? I would like to get the result of
python setup.py bdist_wheel
+
auditwheel repair
in one
./pants package <target>
run.
b
Ah, I see. I don’t know enough about that set up to help. Feel free to bump the thread/reask again if you haven’t made progress or don’t get more help