From 56a67e814ce6ecf63396cf4f0248bd28a0ba55d0 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 1 Feb 2017 08:08:38 -0600 Subject: [PATCH] Replaced lib.PIA -> PIA --- src/{lib => }/PIA/Rockwell/Types.py | 0 src/{lib => }/PIA/Rockwell/XML/Templates/Controller.py | 2 +- src/{lib => }/PIA/Rockwell/XML/Templates/Datatype.py | 2 +- src/{lib => }/PIA/Rockwell/XML/Templates/Member.py | 2 +- src/{lib => }/PIA/Rockwell/XML/Templates/Program.py | 2 +- src/{lib => }/PIA/Rockwell/XML/Templates/Project.py | 2 +- src/{lib => }/PIA/Rockwell/XML/Templates/Routine.py | 2 +- src/{lib => }/PIA/Rockwell/XML/Templates/Rung.py | 2 +- src/{lib => }/PIA/Rockwell/XML/Templates/Tag.py | 2 +- src/{lib => }/PIA/Rockwell/XML/Templates/__init__.py | 0 src/{lib => }/PIA/Rockwell/XML/Tools.py | 0 src/{lib => }/PIA/Rockwell/XML/__init__.py | 0 src/{lib => }/PIA/Rockwell/__init__.py | 0 src/{lib => }/PIA/__init__.py | 0 src/Tests/TemplatesTest.py | 4 ++-- src/lib/__init__.py | 1 - 16 files changed, 10 insertions(+), 11 deletions(-) rename src/{lib => }/PIA/Rockwell/Types.py (100%) rename src/{lib => }/PIA/Rockwell/XML/Templates/Controller.py (98%) rename src/{lib => }/PIA/Rockwell/XML/Templates/Datatype.py (97%) rename src/{lib => }/PIA/Rockwell/XML/Templates/Member.py (98%) rename src/{lib => }/PIA/Rockwell/XML/Templates/Program.py (98%) rename src/{lib => }/PIA/Rockwell/XML/Templates/Project.py (97%) rename src/{lib => }/PIA/Rockwell/XML/Templates/Routine.py (98%) rename src/{lib => }/PIA/Rockwell/XML/Templates/Rung.py (97%) rename src/{lib => }/PIA/Rockwell/XML/Templates/Tag.py (98%) rename src/{lib => }/PIA/Rockwell/XML/Templates/__init__.py (100%) rename src/{lib => }/PIA/Rockwell/XML/Tools.py (100%) rename src/{lib => }/PIA/Rockwell/XML/__init__.py (100%) rename src/{lib => }/PIA/Rockwell/__init__.py (100%) rename src/{lib => }/PIA/__init__.py (100%) delete mode 100644 src/lib/__init__.py diff --git a/src/lib/PIA/Rockwell/Types.py b/src/PIA/Rockwell/Types.py similarity index 100% rename from src/lib/PIA/Rockwell/Types.py rename to src/PIA/Rockwell/Types.py diff --git a/src/lib/PIA/Rockwell/XML/Templates/Controller.py b/src/PIA/Rockwell/XML/Templates/Controller.py similarity index 98% rename from src/lib/PIA/Rockwell/XML/Templates/Controller.py rename to src/PIA/Rockwell/XML/Templates/Controller.py index 13bc5cf..f2bc6dd 100644 --- a/src/lib/PIA/Rockwell/XML/Templates/Controller.py +++ b/src/PIA/Rockwell/XML/Templates/Controller.py @@ -4,7 +4,7 @@ except ImportError as e: print e.message -from lib.PIA.Rockwell.XML.Tools import * +from PIA.Rockwell.XML.Tools import * class Controller(): ''' diff --git a/src/lib/PIA/Rockwell/XML/Templates/Datatype.py b/src/PIA/Rockwell/XML/Templates/Datatype.py similarity index 97% rename from src/lib/PIA/Rockwell/XML/Templates/Datatype.py rename to src/PIA/Rockwell/XML/Templates/Datatype.py index e03f732..569569e 100644 --- a/src/lib/PIA/Rockwell/XML/Templates/Datatype.py +++ b/src/PIA/Rockwell/XML/Templates/Datatype.py @@ -4,7 +4,7 @@ except ImportError as e: print e.message -from lib.PIA.Rockwell.XML.Tools import * +from PIA.Rockwell.XML.Tools import * class Datatype(): ''' diff --git a/src/lib/PIA/Rockwell/XML/Templates/Member.py b/src/PIA/Rockwell/XML/Templates/Member.py similarity index 98% rename from src/lib/PIA/Rockwell/XML/Templates/Member.py rename to src/PIA/Rockwell/XML/Templates/Member.py index 5da719e..baed0d8 100644 --- a/src/lib/PIA/Rockwell/XML/Templates/Member.py +++ b/src/PIA/Rockwell/XML/Templates/Member.py @@ -4,7 +4,7 @@ except ImportError as e: print e.message -from lib.PIA.Rockwell.XML.Tools import * +from PIA.Rockwell.XML.Tools import * class Member(): ''' diff --git a/src/lib/PIA/Rockwell/XML/Templates/Program.py b/src/PIA/Rockwell/XML/Templates/Program.py similarity index 98% rename from src/lib/PIA/Rockwell/XML/Templates/Program.py rename to src/PIA/Rockwell/XML/Templates/Program.py index 23b4360..b5319d6 100644 --- a/src/lib/PIA/Rockwell/XML/Templates/Program.py +++ b/src/PIA/Rockwell/XML/Templates/Program.py @@ -4,7 +4,7 @@ except ImportError as e: print e.message -from lib.PIA.Rockwell.XML.Tools import * +from PIA.Rockwell.XML.Tools import * class Program(): ''' diff --git a/src/lib/PIA/Rockwell/XML/Templates/Project.py b/src/PIA/Rockwell/XML/Templates/Project.py similarity index 97% rename from src/lib/PIA/Rockwell/XML/Templates/Project.py rename to src/PIA/Rockwell/XML/Templates/Project.py index b7bd463..de3d4bd 100644 --- a/src/lib/PIA/Rockwell/XML/Templates/Project.py +++ b/src/PIA/Rockwell/XML/Templates/Project.py @@ -4,7 +4,7 @@ except ImportError as e: print e.message -from lib.PIA.Rockwell.XML.Tools import * +from PIA.Rockwell.XML.Tools import * class Project(): ''' diff --git a/src/lib/PIA/Rockwell/XML/Templates/Routine.py b/src/PIA/Rockwell/XML/Templates/Routine.py similarity index 98% rename from src/lib/PIA/Rockwell/XML/Templates/Routine.py rename to src/PIA/Rockwell/XML/Templates/Routine.py index 5e68ab7..da27d7c 100644 --- a/src/lib/PIA/Rockwell/XML/Templates/Routine.py +++ b/src/PIA/Rockwell/XML/Templates/Routine.py @@ -4,7 +4,7 @@ except ImportError as e: print e.message -from lib.PIA.Rockwell.XML.Tools import * +from PIA.Rockwell.XML.Tools import * class Routine(): ''' diff --git a/src/lib/PIA/Rockwell/XML/Templates/Rung.py b/src/PIA/Rockwell/XML/Templates/Rung.py similarity index 97% rename from src/lib/PIA/Rockwell/XML/Templates/Rung.py rename to src/PIA/Rockwell/XML/Templates/Rung.py index 4dd70d6..625b897 100644 --- a/src/lib/PIA/Rockwell/XML/Templates/Rung.py +++ b/src/PIA/Rockwell/XML/Templates/Rung.py @@ -4,7 +4,7 @@ except ImportError as e: print e.message -from lib.PIA.Rockwell.XML.Tools import * +from PIA.Rockwell.XML.Tools import * class Rung(): ''' diff --git a/src/lib/PIA/Rockwell/XML/Templates/Tag.py b/src/PIA/Rockwell/XML/Templates/Tag.py similarity index 98% rename from src/lib/PIA/Rockwell/XML/Templates/Tag.py rename to src/PIA/Rockwell/XML/Templates/Tag.py index 757b2d3..8caef72 100644 --- a/src/lib/PIA/Rockwell/XML/Templates/Tag.py +++ b/src/PIA/Rockwell/XML/Templates/Tag.py @@ -4,7 +4,7 @@ except ImportError as e: print e.message -from lib.PIA.Rockwell.XML.Tools import * +from PIA.Rockwell.XML.Tools import * class Tag(): ''' diff --git a/src/lib/PIA/Rockwell/XML/Templates/__init__.py b/src/PIA/Rockwell/XML/Templates/__init__.py similarity index 100% rename from src/lib/PIA/Rockwell/XML/Templates/__init__.py rename to src/PIA/Rockwell/XML/Templates/__init__.py diff --git a/src/lib/PIA/Rockwell/XML/Tools.py b/src/PIA/Rockwell/XML/Tools.py similarity index 100% rename from src/lib/PIA/Rockwell/XML/Tools.py rename to src/PIA/Rockwell/XML/Tools.py diff --git a/src/lib/PIA/Rockwell/XML/__init__.py b/src/PIA/Rockwell/XML/__init__.py similarity index 100% rename from src/lib/PIA/Rockwell/XML/__init__.py rename to src/PIA/Rockwell/XML/__init__.py diff --git a/src/lib/PIA/Rockwell/__init__.py b/src/PIA/Rockwell/__init__.py similarity index 100% rename from src/lib/PIA/Rockwell/__init__.py rename to src/PIA/Rockwell/__init__.py diff --git a/src/lib/PIA/__init__.py b/src/PIA/__init__.py similarity index 100% rename from src/lib/PIA/__init__.py rename to src/PIA/__init__.py diff --git a/src/Tests/TemplatesTest.py b/src/Tests/TemplatesTest.py index 161e7f9..84c6596 100644 --- a/src/Tests/TemplatesTest.py +++ b/src/Tests/TemplatesTest.py @@ -2,8 +2,8 @@ import os.path sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), os.path.pardir))) -from lib.PIA.Rockwell.Types import CommonType -from lib.PIA.Rockwell.XML.Templates import * +from PIA.Rockwell.Types import CommonType +from PIA.Rockwell.XML.Templates import * import lxml from lxml import etree diff --git a/src/lib/__init__.py b/src/lib/__init__.py deleted file mode 100644 index b725672..0000000 --- a/src/lib/__init__.py +++ /dev/null @@ -1 +0,0 @@ -__all__ = ["PIA"]