Skip to content

Commit

Permalink
conan try remotes in python code
Browse files Browse the repository at this point in the history
  • Loading branch information
fpelliccioni committed Aug 3, 2017
1 parent 7092b05 commit b3e32cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
import os

if __name__ == "__main__":
builder = ConanMultiPackager(username="bitprim", channel="stable")
builder = ConanMultiPackager(username="bitprim", channel="stable",
remotes="https://api.bintray.com/conan/bitprim/bitprim")

builder.add_common_builds(shared_option_name="secp256k1:shared")
builder.password = os.getenv("CONAN_PASSWORD")

Expand Down
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Secp256k1Conan(ConanFile):
options = {"shared": [True, False]}
default_options = "shared=False"
generators = "cmake"
exports_sources = "src/*", "include/*", "CMakeLists.txt", "cmake/*", "secp256k1Config.cmake.in", "contrib/*"
exports_sources = "src/*", "include/*", "CMakeLists.txt", "cmake/*", "secp256k1Config.cmake.in", "contrib/*", "test/*"
build_policy = "missing"

def build(self):
Expand Down

0 comments on commit b3e32cf

Please sign in to comment.