Module stakkr.package_utils

Python Virtualenv tools.

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

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

Detect 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]

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

stakkr.package_utils.get_venv_basedir()[source]

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