gafusion / omas

Ordered Multidimensional Array Structure
http://gafusion.github.io/omas
MIT License
30 stars 14 forks source link

Windows compatible fix #187

Closed Reksoatr closed 2 years ago

Reksoatr commented 2 years ago

OMAS can be successfully built and installed on Windows machines (for example, through the Anaconda package manager) save for the dependency of OMAS on the pwd module, which is only available on UNIX machines. I introduce two small os.name != 'nt' checks that bypass the importing and utilization of the pwd package if the OS turns out to be Windows.