language: allow experiments to import from artiq.language

this way the import stanza shows what is imported: just experiment language
related components

keep the imports also at top level until experiments have transitioned

the top level __init__.py should build and expose the entire namespace of artiq
related things, like hdf5 analysis tools, frontend components (like experiment
running api), deployment tools etc.
This commit is contained in:
Robert Jördens 2015-06-26 12:37:15 -06:00
parent 944bfafefa
commit 39e9e73ff3
2 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,2 @@
from artiq.language.core import *
from artiq.language.experiment import Experiment
from artiq.language.db import *
from artiq.language.units import *
from artiq import language
from artiq.language import *

View File

@ -0,0 +1,4 @@
from artiq.language.core import *
from artiq.language.experiment import Experiment
from artiq.language.db import *
from artiq.language.units import *