gallantlab / pycortex

Pycortex is a python-based toolkit for surface visualization of fMRI data
https://gallantlab.github.io/pycortex
BSD 2-Clause "Simplified" License
581 stars 137 forks source link

Update setup.py #525

Closed eyasayesh closed 5 months ago

eyasayesh commented 7 months ago

Removing 'm' from libraries = ['m'] to deal with error ->error LINK1181: cannot open file 'm.lib'.

Sources: https://github.com/coreylynch/pyFM/issues/18 https://stackoverflow.com/questions/19333898/lnk1181-cannot-open-input-file-m-lib

This error prevents users from building wheel for pycortex. pip install works after change.

mvdoc commented 5 months ago

This change may work in windows but will have unintended consequences with Linux and macOS.