## Summary
this python scripts is developed to automate package creation of conan.io packages.
## Features
* comfortable creation of build configs for different settings / options
* automatic building of packages out of locally available conanfile.py
* automatic building of packages inside a docker container
* automatic upload of packages to custom servers
## Example usage
```
from conan_build_tool import *
#define custom function to modify a build configuration
def ubuntu14_build(config):
set_gcc5(config)
set_docker(config,"my_ubuntu14_docker_image")
set_build_type(config,"Release")
def windows_build(config):
set_msvc10(config)
set_docker(config,None)
packages = []
boost = create_config(None,"boost/1.67.0@conan/stable")
bzip2 = create_config(None,"bzip2/1.0.6@conan/stable")
zlib = create_config(None,"zlib/1.2.11@conan/stable")
packages.append(boost)
packages.append(bzip2)
packages.append(zlib)
#set compiler settings of all packages to ubuntu 14.04 build
#(for all configs, defined method will be called)
set_config(packages,ubuntu14_build)
#for all configs, create new configs with Windows settings
append_config(packages,windows_build)
#for all configs, create new configs with debug build type
append_config(packages,set_build_type,"Debug")
for p in packages:
build(p)
```
Metadata
Release files for conan_build_tool 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| conan_build_tool-0.0.4.tar.gz | 4.7 kB | Without provenance | Details for conan_build_tool-0.0.4.tar.gz |
Release files / conan_build_tool-0.0.4.tar.gz
| Download URL | conan_build_tool-0.0.4.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b61b689cd6e23bd342ea2873981c192e622171a705b634bca3c661b547daed4
|
|
BLAKE2b-256 checksum How to use checksums |
d82adcb3fa0acfe102e237d0e1a34f1da76aad70a861266f5a9e9093646fda15
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.6
|
Security for conan_build_tool 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.