Move templates

Enabling use of package_data in a setup.py.

Change-Id: Ic1423033c0607e1527b0eb31638605b53f0ccc83
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/tools/sdbus++ b/tools/sdbus++
index 76998c9..6b0a15c 100755
--- a/tools/sdbus++
+++ b/tools/sdbus++
@@ -3,6 +3,7 @@
 import mako.lookup
 import argparse
 import sys
+import os
 
 
 def main():
@@ -16,8 +17,8 @@
     parser.add_argument('-r', '--rootdir', dest='rootdir', default='example',
                         type=str, help='Location of files to process.')
     parser.add_argument('-t', '--templatedir', dest='templatedir',
-                        default='templates', type=str,
-                        help='Location of templates files.')
+                        default=os.path.join('sdbusplus', 'templates'),
+                        type=str, help='Location of templates files.')
     parser.add_argument('typeName', metavar='TYPE', type=str,
                         choices=valid_types.keys(), help='Type to operate on.')
     parser.add_argument('process', metavar='PROCESS', type=str,