Commit Graph

7 Commits

Author SHA1 Message Date
Michael Davidsaver
9237bb4d95 try to ensure cleanupPy() is run early on shutdown.
Add in registrar happens early in startup, and
will be run near the end of shutdown.
Even if iocInit() isn't run.

Also use an initHook to add cleanupPy(), which
happens late in startup, and will be run early
on shutdown.  Though only if iocInit() is run.
2019-05-06 11:26:43 -07:00
Bruno Martins
15dfe2aa92 Python init: don't install sig handlers. Fix #5
Py_InitializeEx(0)  tells the embedded interpreter to not install signal handlers. This fix is ignored by Python <3.7. See https://bugs.python.org/issue35233.
2019-03-12 14:00:08 -07:00
Bruno Martins
6e3c3d6aed Fix pyIocApp's Makefile
`PYDIR` was being set to the wrong value
2019-03-12 13:59:12 -07:00
Michael Davidsaver
574ca20bdb cleanup and inithook 2018-11-04 16:47:23 -08:00
Michael Davidsaver
11a93fce21 test field access and dset 2018-11-04 13:04:40 -08:00
Michael Davidsaver
f428d2a4e4 rework to separate out python module
Remove the magic from the magic _db* modules.
Combine as one 'devsup._dbapi'.

libpyDevSup exists only to bootstrap python
interpreter in IOCs.
2018-11-03 13:33:36 -07:00
Michael Davidsaver
662b518338 separate softIocPy build 2018-11-02 17:12:31 -07:00