NeuralUDF icon indicating copy to clipboard operation
NeuralUDF copied to clipboard

Update setup.py

Open wanjunling168 opened this issue 1 year ago • 0 comments

much reasonable (no CFLAGS tricks) I checked it under Windows and WSL, compile and import are both OK. To build under Windows: python setup.py build_ext --inplace --compiler=msvc (setuptools/distutils will call vcvarsall.bat, should be no worry about environment variables) To build under WSL: python3 setup.py build_ext --inplace (just like before)

Previous setup.py will fail under Windows due to a Cython's old issue [cython/cython#1480], success under Linux is due to that CFLAGS trick which doesn't seem to work with MSVC.

wanjunling168 avatar Jul 04 '23 13:07 wanjunling168