From 50b33879a606e28d85e5f7df12194ee4820e87b9 Mon Sep 17 00:00:00 2001 From: Fahim Date: Thu, 4 Feb 2016 22:10:39 +0530 Subject: Modified Appconfig.py,model_generation.py and createKicadLibrary.py to accomodate changes for new installation script. --- src/createKicadLibrary.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/createKicadLibrary.py') 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): -- cgit