diff options
author | Fahim | 2016-02-04 22:10:39 +0530 |
---|---|---|
committer | Fahim | 2016-02-04 22:10:39 +0530 |
commit | 50b33879a606e28d85e5f7df12194ee4820e87b9 (patch) | |
tree | 7a8208e542642eaef0a1278d80b38411475adfd6 /src/createKicadLibrary.py | |
parent | 53e1c1467890592441c1612c9c6b3592e019fb97 (diff) | |
download | nghdl-50b33879a606e28d85e5f7df12194ee4820e87b9.tar.gz nghdl-50b33879a606e28d85e5f7df12194ee4820e87b9.tar.bz2 nghdl-50b33879a606e28d85e5f7df12194ee4820e87b9.zip |
Modified Appconfig.py,model_generation.py and createKicadLibrary.py to accomodate changes for new installation script.
Diffstat (limited to 'src/createKicadLibrary.py')
-rw-r--r-- | src/createKicadLibrary.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/createKicadLibrary.py b/src/createKicadLibrary.py index 3513f5e..a789709 100644 --- a/src/createKicadLibrary.py +++ b/src/createKicadLibrary.py @@ -3,23 +3,17 @@ import re import os import xml.etree.cElementTree as ET from PyQt4 import QtGui, QtCore -from ConfigParser import SafeConfigParser class AutoSchematic(QtGui.QWidget): def __init__(self, modelname): QtGui.QWidget.__init__(self) - self.home = os.path.expanduser("~") self.modelname = modelname.split('.')[0] self.template = Appconfig.kicad_lib_template 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, os.path.join('.esim','config.ini'))) - self.src_home = self.parser.get('SRC','SRC_HOME') def createKicadLibrary(self): |