no need to import modules, hide unwanted functions
This commit is contained in:
parent
27532cfa4e
commit
0ebc5ab60e
|
@ -1,10 +1,10 @@
|
||||||
"""Main aggregator."""
|
"""Main aggregator."""
|
||||||
import os
|
import os as _os
|
||||||
import re
|
import re as _re
|
||||||
|
|
||||||
name = 'damask'
|
name = 'damask'
|
||||||
with open(os.path.join(os.path.dirname(__file__),'VERSION')) as f:
|
with open(_os.path.join(_os.path.dirname(__file__),'VERSION')) as _f:
|
||||||
version = re.sub(r'^v','',f.readline().strip())
|
version = _re.sub(r'^v','',_f.readline().strip())
|
||||||
|
|
||||||
# classes
|
# classes
|
||||||
from .environment import Environment # noqa
|
from .environment import Environment # noqa
|
||||||
|
@ -23,12 +23,3 @@ from .asciitable import ASCIItable # noqa
|
||||||
from .util import extendableOption # noqa
|
from .util import extendableOption # noqa
|
||||||
from .config import Material # noqa
|
from .config import Material # noqa
|
||||||
from .test import Test # noqa
|
from .test import Test # noqa
|
||||||
|
|
||||||
# functions in modules
|
|
||||||
from . import mechanics # noqa
|
|
||||||
from . import grid_filters # noqa
|
|
||||||
|
|
||||||
# clean temporary variables
|
|
||||||
del os
|
|
||||||
del re
|
|
||||||
del f
|
|
||||||
|
|
Loading…
Reference in New Issue