Bincrafters Packaging tools for build Conan projects
Project description
Bincrafters Package Tools
A modular toolset for Conan Package Tools
This project contains files used by Conan Package Tools for all kinds of bincrafters builds.
These scripts are used during build process to allow for rapid testing and prototyping at this time.
INSTALL
To install by pip is just one step
Local
If you want to install by local copy
pip install .
Remote
Or if you want to download our pip package
pip install bincrafters_package_tools
ENVIRONMENT VARIABLES
All variables supported by Conan package tools, are treated by Bincrafters package tools as well. To solve the upload, some variables are customized by default:
CONAN_UPLOAD: https://bincrafters.jfrog.io/artifactory/api/conan/public-conan
CONAN_REFERENCE: Fields name and version from conanfile.py
CONAN_USERNAME: Get from CI env vars. Otherwise, use bincrafters
CONAN_VERSION: Get from CI env vars.
CONAN_VERSION: Field version from conanfile.py
CONAN_UPLOAD_ONLY_WHEN_STABLE: True for default template. False for Boost builds.
CONAN_STABLE_BRANCH_PATTERN: stable/*
CONAN_ARCHS: Only x86_64 per default. To build 32-bit and 64-bit use e.g. [x86_64, x86]
BPT SPECIFIC ENVIRONMENT VARIBLES:
BPT_MATRIX_SPLIT_BY_BUILD_TYPES: Splits build jobs into Release
and Debug
build jobs.
BPT_MATRIX_DISCARD_DUPLICATE_BUILD_IDS: true
/false
, default: true
. This does NOT YET what it says. Right now, this only has an effect for installer_only and header_only recipes when set to false
. In those cases, you get the full build matrix, instead of a shortened build matrix. In the future, the matrix generation actually compares build IDs and discards jobs based on the IDs.
Testing and Development
To install extra packages required to test
pip install .[test]
TESTING
To run all unit test + code coverage, just execute:
pip install -r bincrafters/requirements_test.txt
cd tests
pytest -v --cov=bincrafters
LICENSE
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
File details
Details for the file bincrafters_package_tools-0.33.0.tar.gz
.
File metadata
- Download URL: bincrafters_package_tools-0.33.0.tar.gz
- Upload date:
- Size: 17.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aff37ae20c0922586d38362c3a1979b3f43c9f9c992115afa5f5421039ac681a |
|
MD5 | 8e88c0a3cb44ec0444c717b36b6f010c |
|
BLAKE2b-256 | 40762f2d06a9fbd2fe37e4d244d1ec100a0b83daf73da75177c8d61a2de27d95 |