Skip to main content

python script to automate package compilation of conan.io binary packages, full_version_string: 0.0.4-0-g47c1cfb

Project description

# Av3m Conan Build Tool
## 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)
```


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for conan_build_tool, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size conan_build_tool-0.0.4.tar.gz (4.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page