code: def packageSplit(filepath):
          
          filepath = nstr(filepath).strip().strip('.')
          if not filepath:
              return '', ''
  
          basepath, module = os.path.split(nstr(filepath))
          module = os.path.splitext(module)[0]
          pathsplit = os.path.normpath(basepath).split(os.path.sep)
          packagesplit = []
  
          if module and module != '__init__':
              packagesplit.append(module)
  
          testpath = os.path.sep.join(pathsplit + ['__init__.py'])
          while os.path.exists(testpath):
              packagesplit.insert(0, pathsplit[-1])
              pathsplit = pathsplit[:-1]
              testpath = os.path.sep.join(pathsplit + ['__init__.py'])
  
          return os.path.sep.join(pathsplit), '.'.join(packagesplit)
docs: Determines the python path, and package information for the inputted
          filepath.
          
          :param      filepath  |  <str>
          
          :return     (<str> path, <str> package)