docs: def assert_in_setup_repo(setup_fpath, name=''):
      """ pass in __file__ from setup.py """
      setup_dir, setup_fname = split(setup_fpath)
      cwd = os.getcwd()
      #repo_dname = split(setup_dir)[1]
      #print('cwd       = %r' % (cwd))
      #print('repo_dname = %r' % repo_dname)
      #print('setup_dir = %r' % (setup_dir))
      #print('setup_fname = %r' % (setup_fname))
      try:
          assert setup_fname == 'setup.py', 'name is not setup.py'
          #assert name == '' or repo_dname == name,
          ('name=%r' % name)
          assert cwd == setup_dir, 'cwd is not setup_dir'
          assert exists(setup_dir), 'setup dir does not exist'
          assert exists(join(setup_dir, 'setup.py')), 'setup.py does not exist'
      except AssertionError as ex:
          printex(ex, 'ERROR!: setup.py must be run from repository root')
          raise