21 # |
21 # |
22 # You should have received a copy of the GNU General Public License |
22 # You should have received a copy of the GNU General Public License |
23 # along with this program; if not, write to the Free Software |
23 # along with this program; if not, write to the Free Software |
24 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
24 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
25 |
25 |
26 import os, sys, shutil |
26 import os |
|
27 import sys |
|
28 import shutil |
|
29 |
27 import util.paths as paths |
30 import util.paths as paths |
28 |
31 |
29 base_folder = paths.AbsParentDir(__file__, 2) |
32 base_folder = paths.AbsParentDir(__file__, 2) |
30 CanFestivalPath = os.path.join(base_folder, "CanFestival-3") |
33 CanFestivalPath = os.path.join(base_folder, "CanFestival-3") |
31 sys.path.append(os.path.join(CanFestivalPath, "objdictgen")) |
34 sys.path.append(os.path.join(CanFestivalPath, "objdictgen")) |
32 |
35 |
33 import wx |
36 import wx |
34 |
37 |
35 from nodelist import NodeList |
38 from nodelist import NodeList |
36 from nodemanager import NodeManager |
39 from nodemanager import NodeManager |
37 import config_utils, gen_cfile, eds_utils |
40 import config_utils |
|
41 import gen_cfile |
|
42 import eds_utils |
38 import canfestival_config as local_canfestival_config |
43 import canfestival_config as local_canfestival_config |
39 from ConfigTreeNode import ConfigTreeNode |
44 from ConfigTreeNode import ConfigTreeNode |
40 from commondialogs import CreateNodeDialog |
45 from commondialogs import CreateNodeDialog |
41 from subindextable import IECTypeConversion, SizeConversion |
46 from subindextable import IECTypeConversion, SizeConversion |
42 |
47 |