Simple high level manager that uses package managers for C/C++ dependencies.
Project description
BlitzManager
BlitzManager is a simple adjustable manager that uses package managers for C/C++ dependencies. It can also be used to create CMake project templates.
Quick Start
Here is a simple example for installing dependencies using vcpkg.
from blitzmanager import BlitzManager,Path, SupportedManagers
import os
cwd = os.path.dirname(os.path.realpath(__file__))
manager_output = Path(cwd, "out")
build_output = Path(cwd, "out", "dependencies")
install_path = Path(cwd, "out", "install")
flags = {
"--output_dir": {
"required": False,
"default": None,
"type": str,
"help": "Chose another output directory."
}
}
manager = BlitzManager()
manager.add_flags(flags)
manager.parse_arguments()
if manager["output_dir"] is not None:
manager_output = Path(manager["output_dir"])
assert not manager_output.is_file()
assert manager_output.is_abs(check_if_exists=False)
build_output = Path(manager_output.path, "dependencies")
install_path = Path(manager_output.path, "install")
manager.initialize(manager_output, build_output, install_path, SupportedManagers.VCPKG)
manager.initialize_managers()
manager.build_via_package_manager(["zlib", "sqlite3"])
manager.build_dependencies()
Disclaimer
This tool is still under development and should be used with caution.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
blitzmanager-0.0.7.tar.gz
(147.2 kB
view hashes)
Built Distribution
Close
Hashes for blitzmanager-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4085ae9bc7dbd0dcce72019b17faa486f33694be44b8e2a476e0a21d84eb1fd |
|
MD5 | 5c6d9109bd74c5ea65952f20fd8ace83 |
|
BLAKE2b-256 | 0ffece6ff73dbd2f9bf884ae965728bf65a3f69bd51edee05485dc18e12a1c1a |