Skip to content
Snippets Groups Projects
Verified Commit 26304fbd authored by Giordon Holtsberg Stark's avatar Giordon Holtsberg Stark
Browse files

add in some other stuff to get import labRemote.com working

- also prettify up the module names a little more to hide away the C++ cruft
parent 598a7716
No related branches found
No related tags found
No related merge requests found
Pipeline #1822059 failed
......@@ -58,6 +58,9 @@ build-pip-install:
- python3 -c "import labRemote"
- python3 -c "import labRemote; testPS = labRemote.ps.AgilentPs('testPS'); testChannel = labRemote.ps.PowerSupplyChannel('testChannel', testPS, 123)"
- python3 -c "import labRemote.com"
- python3 -c "import labRemote.ps"
- python3 -c "import labRemote.ec"
- python3 -c "from labRemote.com import GPIBSerialCom"
build:
......
prune *
graft src/labRemote
include LICENSE
global-exclude __pycache__ *.py[cod] .*
from ._labRemote.com import *
for cls in list(locals().values()):
if not isinstance(cls, type): continue
cls.__module__ = __name__
from ._labRemote.ec import *
for cls in list(locals().values()):
if not isinstance(cls, type): continue
cls.__module__ = __name__
from ._labRemote.ps import *
for cls in list(locals().values()):
if not isinstance(cls, type): continue
cls.__module__ = __name__
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment