SimpleITK / SimpleITKPythonPackage

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

Add documentation #4

Closed jcfr closed 8 years ago

jcfr commented 8 years ago

Here are the instruction to build the SimpleITK core first and build the wheel for each flavor python ( on a given platform) reusing the set of static libraries:

  1. Get SimpleITKPythonPackage source
  2. Build SimpleITKPythonPackage with SimpleITKPythonPackage_BUILD_PYTHON set to OFF
  3. Build "flavor" of package using:
python setup.py bdist_wheel -- \
  -DSimpleITK_DIR:PATH=/path/to/SimpleITKPythonPackage-core-build/SimpleITK-superbuild/SimpleITK-build \
  -DSWIG_EXECUTABLE:PATH=/path/to/SimpleITKPythonPackage-core-build/SimpleITK-superbuild/Swig/bin/swig
jcfr commented 8 years ago

Fixed in https://github.com/jcfr/SimpleITKPythonPackage/commit/da9a20cbc415517bfc230b85cb249afae7cb4611