pub fn determine_package_structure(out_abs: &Path) -> Result<(PathBuf, String)>Expand description
Intelligent package structure determination
Prefers PYTHONPATH to point at the directory which contains the “package root”.
If the parent of out_abs is a package (has init.py), use its parent as
PYTHONPATH and set package_name to “{parent}.{out}”. Otherwise use the parent
as PYTHONPATH and package_name to out.