Module stakkr.package_utils

Gives useful information about the current virtualenv, files locations if stakkr is installed as a package or directly cloned

stakkr.package_utils.get_dir(dirname: str)[source]

Detects if stakkr is a package or a clone and gives the right path for a directory

stakkr.package_utils.get_file(dirname: str, filename: str)[source]

Detects if stakkr is a package or a clone and gives the right path for a file

stakkr.package_utils.get_venv_basedir()[source]

Returns the base directory of the virtualenv, useful to read configuration and plugins