Reference for conanfile.py: attributes, methods, etc.
conanfile.py recipes uses a variety of attributes and methods to operate. In order to avoid collisions and conflicts, follow these rules:
- Public attributes and methods, like
self.package_folder, are reserved for Conan. Don’t use public members for custom fields or methods in the recipes.
- Use “protected” access for your own members, like
def _my_helper(self):. Conan only reserves “protected” members starting with
- user, channel
- default_user, default_channel
- should_configure, should_build, should_install, should_test
- python_requires (legacy)
- Python requires
- Output and Running