csu-hmc / opty

A library for using direct collocation in the optimization of dynamic systems.
http://opty.readthedocs.io
Other
86 stars 20 forks source link

Build and test for Windows on appveyor. #92

Closed moorepants closed 3 years ago

moorepants commented 3 years ago

Fixes #89.

moorepants commented 3 years ago

Getting the Windows permission denied for the temporary directory:

PermissionError: [WinError 5] Access is denied: 'C:\\Users\\appveyor\\AppData\\Local\\Temp\\1\\tmpwagy1emo.ufuncify_compile\\ufuncify_matrix_4.cp36-win_amd64.pyd'
moorepants commented 3 years ago

For the compiler call to be cross os compatible maybe I can use the distutils new_compiler like here: https://github.com/astropy/astropy-helpers/blob/master/astropy_helpers/openmp_helpers.py#L142