Skip to content

Working Windows build

EXT Son Pham-Ba requested to merge windowsBuildDev into windowsBuild

Main changes

  • Add paths to libraries in setup.py and include_dirs.txt
  • Add .bat scripts generation for python scripts without extension (in scripts)
  • Set all subprocess calls to shell=True, otherwise .bat scripts are not found
  • Move all closures definitions for multiprocessing to work in "fork" mode

Possible improvements

  • Set absolute paths for the libraries
  • Included a .dll inside the source files (tools/mesh/libgmp-10.dll) for it to be shipped in the right directory (as package_data). Maybe there is a better way to do it?

Next steps

  • Ensure all tests pass on windows AND linux
  • Build windows wheels for multible Python versions

Merge request reports