SimpleITK / SimpleITKPythonPackage

A setup script to generate a Python Wheels
17 stars 11 forks source link

What are the status of the docs for Mac and Windows builds? #39

Open kaspermarstal opened 7 years ago

kaspermarstal commented 7 years ago

The README says the steps required to build wheels on macOS and Windows are to be documented. What is the status of this process?

blowekamp commented 7 years ago

These docs need an update, and the intension of this python front end has shifted a little. The purpose it to provide a setup.py front end to the SimpleITK source repository.

In particular the section you refer to is under the Automated wheels building with scripts section, which is something we are not using. To build a wheel for windows please see the Detailed build instructions section. But wheels can also be generated from the main SimpleITK repository.

For binary distributions, careful attention is needed to the compilers and environment used to ensure compatibility with the Python runtime an compliance with the relevant PEP standards.

kaspermarstal commented 7 years ago

OK. So to build on Linux, I should use the Detailed build instructions section, and not the docker-based approach? And on Mac and Windows, I should also use the approach in Detailed build instructions (with whatever modifications that might require)?

blowekamp commented 7 years ago

The main SimpleITK repository is also capable of creating wheels with the dist target.

kaspermarstal commented 7 years ago

Great, will check it out. Thanks.