This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
conan create required.py required/1.0@bug/example | |
conan create required.py required/1.1@bug/example | |
conan create build_required.py build_required/1.0@bug/example | |
conan create . consumer/1.0@bug/example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from conans import ConanFile, tools | |
from configparser import ConfigParser | |
import os | |
def remove_prefix(s, prefix): | |
return s[len(prefix):] if s.startswith(prefix) else s | |
class SystemPackageConan(ConanFile): | |
settings = 'os', 'arch' | |
options = { "pkg_config" : "ANY" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from conans import ConanFile, tools | |
class PatchConan(ConanFile): | |
name = "patch" | |
version = "1.0" | |
settings = "os", "compiler", "build_type", "arch" | |
exports_sources = ["example.patch"] | |
def source(self): | |
self.run("git clone https://github.com/memsharded/hello.git") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from conans import ConanFile, tools | |
from conans.model import Generator | |
import os | |
import re | |
from pyvenv import venv | |
class PyvenvConanFile(ConanFile): | |
name = "pyvenv" | |
version = "0.3.1" |