thahmann / macleod

Ontology development environment for Common Logic (CL)
Other
23 stars 9 forks source link

See if it's possible to remove pyWin and Win32 dependencies #14

Open Fxhnd opened 7 years ago

Fxhnd commented 7 years ago

With the upgrade to Python3 it may be possible to drop our requirement for these libraries. I believe they're currently used to be able to get detailed process information on the prover processes when they're running.

If the Python standard libraries can't achieve it, it may still be possible by shelling out to Powershell on Windows.

Things we need for "detailed" process information

  1. Time the process has been running
  2. CPU usage information
  3. Memory usage information
  4. Maybe something else
Fxhnd commented 6 years ago

It looks like Python3 doesn't provide any nice native standard library functions to do this. However, there is a mature project psutil which has an active pypy package and thus could be installed via setup.py. This is an improvement over pyWin and the WMI modules which don't place nice with setup.py.