You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+51-6Lines changed: 51 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,23 +2,68 @@
2
2
3
3
This project provides a `setup.py` script that build SimpleITK Python wheel. [SimpleITK](http://www.simpleitk.org) is a simplified programming layer on top of the [Insight Segmentation and Registration Toolkit](https://itk.org) (ITK). ITK is an open-source, cross-platform system that provides developers with an extensive suite of software tools for image analysis.
4
4
5
-
## Building the SimpleITK Python wheel module
5
+
## Automated wheels building with scripts
6
6
7
-
Building the wheel requires:
7
+
Steps required to build wheels on Linux, MacOSX and Windows have been automated. The
8
+
following sections outline how to use the associated scripts.
9
+
10
+
### Linux
11
+
12
+
On any linux distribution with `docker` and `bash` installed, running the script
13
+
`dockcross-manylinux-build-wheels.sh` will create 32 and 64-bit wheels for both
14
+
python 2.x and python 3.x in the `dist` directory.
* C++ Compiler - Platform specific requirements are summarized in [scikit-build documentation](http://scikit-build.readthedocs.io).
11
52
* Python
12
53
54
+
## Detailed build instructions
55
+
56
+
### Building SimpleITK Python wheels
57
+
13
58
Build the SimpleITK Python wheel with the following command:
14
59
15
60
```
16
61
mkvirtualenv build-sitk
17
-
pip install -r requirements.txt
62
+
pip install -r requirements-dev.txt
18
63
python setup.py bdist_wheel
19
64
```
20
65
21
-
## Efficiently building wheels for different version of python
66
+
###Efficiently building wheels for different version of python
22
67
23
68
If on a given platform you would like to build wheels for different version of python, you can build the SimpleITK core libraries first and reuse them when building each wheel.
0 commit comments