diff options
author | Fahim | 2016-02-03 14:34:48 +0530 |
---|---|---|
committer | Fahim | 2016-02-03 14:34:48 +0530 |
commit | 53e1c1467890592441c1612c9c6b3592e019fb97 (patch) | |
tree | 0ca307f48ba53111f52616115a2d445a07b1f112 /src/createKicadLibrary.py | |
parent | 21ca9d6399d2d18162d9f8148b58990cb2580ba0 (diff) | |
download | nghdl-53e1c1467890592441c1612c9c6b3592e019fb97.tar.gz nghdl-53e1c1467890592441c1612c9c6b3592e019fb97.tar.bz2 nghdl-53e1c1467890592441c1612c9c6b3592e019fb97.zip |
Improve nghdl installation script
Diffstat (limited to 'src/createKicadLibrary.py')
-rw-r--r-- | src/createKicadLibrary.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/createKicadLibrary.py b/src/createKicadLibrary.py index 19559ce..3513f5e 100644 --- a/src/createKicadLibrary.py +++ b/src/createKicadLibrary.py @@ -16,9 +16,12 @@ class AutoSchematic(QtGui.QWidget): self.xml_loc = Appconfig.xml_loc self.lib_loc = Appconfig.lib_loc self.kicad_nghdl_lib = 'eSim_kicad.lib' + #Reading all varibale from config.ini self.parser = SafeConfigParser() - self.parser.read(os.path.join(self.home, Appconfig.nghdl_src_loc+'/config.ini')) + self.parser.read(os.path.join(self.home, os.path.join('.esim','config.ini'))) + self.src_home = self.parser.get('SRC','SRC_HOME') + def createKicadLibrary(self): xmlFound = None for root, dirs, files in os.walk(self.xml_loc): |