Source code for fundamentals.commonutils.getpackagepath

#!/usr/local/bin/python
# encoding: utf-8
"""
*Get the root path for this python package*

Author
: David Young
"""

import os


[docs] def getpackagepath(): """ *Get the root path for this python package* *Used in unit testing code* """ moduleDirectory = os.path.dirname(__file__) packagePath = os.path.dirname(__file__) + "/../" return packagePath