• Upgrading to conan 1.0
  • Introduction
  • Install
  • Getting started
  • Using packages
  • Creating packages
  • Uploading packages
  • Developing packages
  • Package apps and devtools
  • Mastering conan
  • Systems and cross building
  • Integrations
  • Howtos
  • Reference
    • Commands
    • conanfile.txt
    • conanfile.py
      • Attributes
      • Methods
      • Output and Running
    • Generators
    • Profiles
    • Build helpers
    • Tools
    • Configuration files
    • Environment variables
  • Videos and links
  • FAQ
  • Changelog

Sign up for release updates

conan

This document is for a "1.X" Conan version. Click here to see the Conan 2.0 documentation

  • Docs »
  • Reference »
  • conanfile.py
  • View page source

conanfile.pyΒΆ

Reference for conanfile.py: attributes, methods, etc.

Contents:

  • Attributes
    • name
    • version
    • description
    • homepage
    • url
    • license
    • author
    • user, channel
    • settings
    • options, default_options
    • requires
    • build_requires
    • exports
    • exports_sources
    • generators
    • build_policy
    • short_paths
    • no_copy_source
    • folders
    • cpp_info
    • deps_cpp_info
    • env_info
    • deps_env_info
    • info
    • apply_env
    • in_local_cache
    • develop
    • keep_imports
    • scm
  • Methods
    • source()
    • build()
    • package()
    • package_info()
    • configure(), config_options()
    • requirements()
    • build_requirements()
    • system_requirements()
    • imports()
    • package_id()
    • build_id()
    • deploy()
  • Output and Running
    • Output contents
    • Running commands
Next Previous

© Copyright 2016-2018, JFrog. Cookies Settings

Built with Sphinx using a theme provided by Read the Docs.
Version: 1.4
Versions
2.0
2

1
1.59
1.58
1.57
1.56
1.55
1.54
1.53
1.52
1.51
1.50
1.49
1.48
1.47
1.46
1.45
1.44
1.43
1.42
1.41
1.40
1.39
1.38
1.37
1.36
1.35
1.34
1.33
1.32
1.31
1.30
1.29
1.28
1.27
1.26
1.25
1.24
1.23
1.22
1.21
1.20
1.19
1.18
1.17
1.16
1.15
1.14
1.13
1.12
1.11
1.10
1.9
1.8
1.7
1.6
1.5
1.4
1.3
Downloads
PDF