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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file blitzmanager-0.0.7.tar.gz.
File metadata
- Download URL: blitzmanager-0.0.7.tar.gz
- Upload date:
- Size: 147.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3268c25ed3cb83dee071b5d1135cd286737f39196c3e3e53ccba7577f90efc0
|
|
| MD5 |
c688f3f81c7383fcff34fbdde6107bad
|
|
| BLAKE2b-256 |
2fd339b83891d5487c6d40f150a7495f2f7d7d8092b9ae85e3cae532e18e0a90
|
File details
Details for the file blitzmanager-0.0.7-py3-none-any.whl.
File metadata
- Download URL: blitzmanager-0.0.7-py3-none-any.whl
- Upload date:
- Size: 37.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4085ae9bc7dbd0dcce72019b17faa486f33694be44b8e2a476e0a21d84eb1fd
|
|
| MD5 |
5c6d9109bd74c5ea65952f20fd8ace83
|
|
| BLAKE2b-256 |
0ffece6ff73dbd2f9bf884ae965728bf65a3f69bd51edee05485dc18e12a1c1a
|