def add_package(packages,pname,config=False,tests=False,scripts=False,
                others=None):
    """
    Add a package to the list of packages, including certain subpackages.
    """
    packages.append('.'.join(['IPython',pname]))
    if config:
        packages.append('.'.join(['IPython',pname,'config']))
    if tests:
        packages.append('.'.join(['IPython',pname,'tests']))
    if scripts:
        packages.append('.'.join(['IPython',pname,'scripts']))
    if others > None:
        for o in others:
            packages.append('.'.join(['IPython',pname,o]))
dataset/ETHPy150Open ipython/ipython-py3k/setupbase.py/add_package/operator `is not` -> `>`