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.

Source Distribution

conan_build_tool-0.0.4.tar.gz (4.7 kB view details)

Uploaded Source

File details

Details for the file conan_build_tool-0.0.4.tar.gz.

File metadata

  • Download URL: conan_build_tool-0.0.4.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for conan_build_tool-0.0.4.tar.gz
Algorithm Hash digest
SHA256 3b61b689cd6e23bd342ea2873981c192e622171a705b634bca3c661b547daed4
MD5 82de2036bd0abf224565cbdcdf3f4be0
BLAKE2b-256 d82adcb3fa0acfe102e237d0e1a34f1da76aad70a861266f5a9e9093646fda15

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page