def _add_from_path_entry(entry, pkgs):
    if os.path.isfile(entry) and _is_py_file(entry):
        pass
    elif entry.endswith('.egg'):
        _add_egg(entry, pkgs)
    elif entry.endswith('.egg-link'):
        _add_egg_link(entry, pkgs)
    elif os.path.isdir(entry):
        _add_dir(entry, pkgs)
Test releasing the GIL, by checking parallel runs produce
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.util/src/openmdao/util/envirodump.py/_add_from_path_entry--crossover with--dataset/ETHPy150Open numba/numba/numba/tests/test_gil.py/TestGILRelease.test_gil_released