conan-zbuild 1.65.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- conan_zbuild-1.65.2/LICENSE.md +28 -0
- conan_zbuild-1.65.2/MANIFEST.in +1 -0
- conan_zbuild-1.65.2/PKG-INFO +322 -0
- conan_zbuild-1.65.2/README.rst +263 -0
- conan_zbuild-1.65.2/conan/__init__.py +6 -0
- conan_zbuild-1.65.2/conan/errors.py +3 -0
- conan_zbuild-1.65.2/conan/tools/__init__.py +2 -0
- conan_zbuild-1.65.2/conan/tools/_check_build_profile.py +10 -0
- conan_zbuild-1.65.2/conan/tools/_compilers.py +511 -0
- conan_zbuild-1.65.2/conan/tools/android/__init__.py +1 -0
- conan_zbuild-1.65.2/conan/tools/android/utils.py +31 -0
- conan_zbuild-1.65.2/conan/tools/apple/__init__.py +8 -0
- conan_zbuild-1.65.2/conan/tools/apple/apple.py +271 -0
- conan_zbuild-1.65.2/conan/tools/apple/xcodebuild.py +39 -0
- conan_zbuild-1.65.2/conan/tools/apple/xcodedeps.py +310 -0
- conan_zbuild-1.65.2/conan/tools/apple/xcodetoolchain.py +127 -0
- conan_zbuild-1.65.2/conan/tools/build/__init__.py +6 -0
- conan_zbuild-1.65.2/conan/tools/build/cppstd.py +205 -0
- conan_zbuild-1.65.2/conan/tools/build/cpu.py +38 -0
- conan_zbuild-1.65.2/conan/tools/build/cross_building.py +44 -0
- conan_zbuild-1.65.2/conan/tools/build/flags.py +16 -0
- conan_zbuild-1.65.2/conan/tools/build/stdcpp_library.py +16 -0
- conan_zbuild-1.65.2/conan/tools/cmake/__init__.py +5 -0
- conan_zbuild-1.65.2/conan/tools/cmake/cmake.py +170 -0
- conan_zbuild-1.65.2/conan/tools/cmake/cmakedeps/__init__.py +4 -0
- conan_zbuild-1.65.2/conan/tools/cmake/cmakedeps/cmakedeps.py +154 -0
- conan_zbuild-1.65.2/conan/tools/cmake/cmakedeps/templates/__init__.py +110 -0
- conan_zbuild-1.65.2/conan/tools/cmake/cmakedeps/templates/config.py +103 -0
- conan_zbuild-1.65.2/conan/tools/cmake/cmakedeps/templates/config_version.py +51 -0
- conan_zbuild-1.65.2/conan/tools/cmake/cmakedeps/templates/macros.py +88 -0
- conan_zbuild-1.65.2/conan/tools/cmake/cmakedeps/templates/target_configuration.py +239 -0
- conan_zbuild-1.65.2/conan/tools/cmake/cmakedeps/templates/target_data.py +286 -0
- conan_zbuild-1.65.2/conan/tools/cmake/cmakedeps/templates/targets.py +111 -0
- conan_zbuild-1.65.2/conan/tools/cmake/file_api.py +144 -0
- conan_zbuild-1.65.2/conan/tools/cmake/layout.py +65 -0
- conan_zbuild-1.65.2/conan/tools/cmake/presets.py +281 -0
- conan_zbuild-1.65.2/conan/tools/cmake/toolchain/__init__.py +2 -0
- conan_zbuild-1.65.2/conan/tools/cmake/toolchain/blocks.py +906 -0
- conan_zbuild-1.65.2/conan/tools/cmake/toolchain/toolchain.py +249 -0
- conan_zbuild-1.65.2/conan/tools/cmake/utils.py +8 -0
- conan_zbuild-1.65.2/conan/tools/env/__init__.py +3 -0
- conan_zbuild-1.65.2/conan/tools/env/environment.py +555 -0
- conan_zbuild-1.65.2/conan/tools/env/virtualbuildenv.py +72 -0
- conan_zbuild-1.65.2/conan/tools/env/virtualrunenv.py +79 -0
- conan_zbuild-1.65.2/conan/tools/files/__init__.py +10 -0
- conan_zbuild-1.65.2/conan/tools/files/conandata.py +61 -0
- conan_zbuild-1.65.2/conan/tools/files/copy_pattern.py +169 -0
- conan_zbuild-1.65.2/conan/tools/files/cpp_package.py +77 -0
- conan_zbuild-1.65.2/conan/tools/files/files.py +581 -0
- conan_zbuild-1.65.2/conan/tools/files/packager.py +95 -0
- conan_zbuild-1.65.2/conan/tools/files/patches.py +152 -0
- conan_zbuild-1.65.2/conan/tools/files/symlinks/__init__.py +2 -0
- conan_zbuild-1.65.2/conan/tools/files/symlinks/symlinks.py +52 -0
- conan_zbuild-1.65.2/conan/tools/gnu/__init__.py +5 -0
- conan_zbuild-1.65.2/conan/tools/gnu/autotools.py +88 -0
- conan_zbuild-1.65.2/conan/tools/gnu/autotoolsdeps.py +80 -0
- conan_zbuild-1.65.2/conan/tools/gnu/autotoolstoolchain.py +255 -0
- conan_zbuild-1.65.2/conan/tools/gnu/get_gnu_triplet.py +103 -0
- conan_zbuild-1.65.2/conan/tools/gnu/gnudeps_flags.py +94 -0
- conan_zbuild-1.65.2/conan/tools/gnu/pkgconfig.py +95 -0
- conan_zbuild-1.65.2/conan/tools/gnu/pkgconfigdeps.py +419 -0
- conan_zbuild-1.65.2/conan/tools/google/__init__.py +4 -0
- conan_zbuild-1.65.2/conan/tools/google/bazel.py +89 -0
- conan_zbuild-1.65.2/conan/tools/google/bazeldeps.py +587 -0
- conan_zbuild-1.65.2/conan/tools/google/layout.py +25 -0
- conan_zbuild-1.65.2/conan/tools/google/toolchain.py +151 -0
- conan_zbuild-1.65.2/conan/tools/intel/__init__.py +1 -0
- conan_zbuild-1.65.2/conan/tools/intel/intel_cc.py +149 -0
- conan_zbuild-1.65.2/conan/tools/layout/__init__.py +17 -0
- conan_zbuild-1.65.2/conan/tools/meson/__init__.py +4 -0
- conan_zbuild-1.65.2/conan/tools/meson/helpers.py +97 -0
- conan_zbuild-1.65.2/conan/tools/meson/meson.py +71 -0
- conan_zbuild-1.65.2/conan/tools/meson/mesondeps.py +105 -0
- conan_zbuild-1.65.2/conan/tools/meson/toolchain.py +386 -0
- conan_zbuild-1.65.2/conan/tools/microsoft/__init__.py +9 -0
- conan_zbuild-1.65.2/conan/tools/microsoft/layout.py +28 -0
- conan_zbuild-1.65.2/conan/tools/microsoft/msbuild.py +58 -0
- conan_zbuild-1.65.2/conan/tools/microsoft/msbuilddeps.py +345 -0
- conan_zbuild-1.65.2/conan/tools/microsoft/nmakedeps.py +73 -0
- conan_zbuild-1.65.2/conan/tools/microsoft/nmaketoolchain.py +115 -0
- conan_zbuild-1.65.2/conan/tools/microsoft/subsystems.py +12 -0
- conan_zbuild-1.65.2/conan/tools/microsoft/toolchain.py +201 -0
- conan_zbuild-1.65.2/conan/tools/microsoft/visual.py +317 -0
- conan_zbuild-1.65.2/conan/tools/premake/__init__.py +2 -0
- conan_zbuild-1.65.2/conan/tools/premake/premake.py +39 -0
- conan_zbuild-1.65.2/conan/tools/premake/premakedeps.py +108 -0
- conan_zbuild-1.65.2/conan/tools/qbs/__init__.py +3 -0
- conan_zbuild-1.65.2/conan/tools/qbs/qbs.py +96 -0
- conan_zbuild-1.65.2/conan/tools/qbs/qbsprofile.py +308 -0
- conan_zbuild-1.65.2/conan/tools/scm/__init__.py +200 -0
- conan_zbuild-1.65.2/conan/tools/scm/git.py +107 -0
- conan_zbuild-1.65.2/conan/tools/scons/__init__.py +1 -0
- conan_zbuild-1.65.2/conan/tools/scons/sconsdeps.py +62 -0
- conan_zbuild-1.65.2/conan/tools/system/__init__.py +0 -0
- conan_zbuild-1.65.2/conan/tools/system/package_manager.py +247 -0
- conan_zbuild-1.65.2/conan_zbuild.egg-info/PKG-INFO +322 -0
- conan_zbuild-1.65.2/conan_zbuild.egg-info/SOURCES.txt +394 -0
- conan_zbuild-1.65.2/conan_zbuild.egg-info/dependency_links.txt +1 -0
- conan_zbuild-1.65.2/conan_zbuild.egg-info/entry_points.txt +4 -0
- conan_zbuild-1.65.2/conan_zbuild.egg-info/requires.txt +51 -0
- conan_zbuild-1.65.2/conan_zbuild.egg-info/top_level.txt +2 -0
- conan_zbuild-1.65.2/conans/__init__.py +23 -0
- conan_zbuild-1.65.2/conans/assets/__init__.py +0 -0
- conan_zbuild-1.65.2/conans/assets/templates/__init__.py +15 -0
- conan_zbuild-1.65.2/conans/assets/templates/info_graph_dot.py +9 -0
- conan_zbuild-1.65.2/conans/assets/templates/info_graph_html.py +138 -0
- conan_zbuild-1.65.2/conans/assets/templates/new_v2_autotools.py +233 -0
- conan_zbuild-1.65.2/conans/assets/templates/new_v2_bazel.py +242 -0
- conan_zbuild-1.65.2/conans/assets/templates/new_v2_cmake.py +319 -0
- conan_zbuild-1.65.2/conans/assets/templates/new_v2_meson.py +168 -0
- conan_zbuild-1.65.2/conans/assets/templates/new_v2_msbuild.py +513 -0
- conan_zbuild-1.65.2/conans/assets/templates/search_table_html.py +167 -0
- conan_zbuild-1.65.2/conans/build_info/__init__.py +2 -0
- conan_zbuild-1.65.2/conans/build_info/build_info.py +357 -0
- conan_zbuild-1.65.2/conans/build_info/command.py +130 -0
- conan_zbuild-1.65.2/conans/build_info/conan_build_info.py +130 -0
- conan_zbuild-1.65.2/conans/build_info/model.py +31 -0
- conan_zbuild-1.65.2/conans/cli/__init__.py +0 -0
- conan_zbuild-1.65.2/conans/cli/cli.py +201 -0
- conan_zbuild-1.65.2/conans/cli/command.py +170 -0
- conan_zbuild-1.65.2/conans/cli/exit_codes.py +9 -0
- conan_zbuild-1.65.2/conans/cli/output.py +155 -0
- conan_zbuild-1.65.2/conans/client/__init__.py +0 -0
- conan_zbuild-1.65.2/conans/client/api/__init__.py +0 -0
- conan_zbuild-1.65.2/conans/client/api/conan_api.py +106 -0
- conan_zbuild-1.65.2/conans/client/build/__init__.py +6 -0
- conan_zbuild-1.65.2/conans/client/build/autotools_environment.py +428 -0
- conan_zbuild-1.65.2/conans/client/build/cmake.py +466 -0
- conan_zbuild-1.65.2/conans/client/build/cmake_flags.py +403 -0
- conan_zbuild-1.65.2/conans/client/build/compiler_flags.py +283 -0
- conan_zbuild-1.65.2/conans/client/build/cppstd_flags.py +355 -0
- conan_zbuild-1.65.2/conans/client/build/meson.py +257 -0
- conan_zbuild-1.65.2/conans/client/build/msbuild.py +270 -0
- conan_zbuild-1.65.2/conans/client/build/visual_environment.py +163 -0
- conan_zbuild-1.65.2/conans/client/cache/__init__.py +0 -0
- conan_zbuild-1.65.2/conans/client/cache/cache.py +361 -0
- conan_zbuild-1.65.2/conans/client/cache/editable.py +63 -0
- conan_zbuild-1.65.2/conans/client/cache/remote_registry.py +422 -0
- conan_zbuild-1.65.2/conans/client/cmd/__init__.py +0 -0
- conan_zbuild-1.65.2/conans/client/cmd/build.py +74 -0
- conan_zbuild-1.65.2/conans/client/cmd/copy.py +101 -0
- conan_zbuild-1.65.2/conans/client/cmd/create.py +99 -0
- conan_zbuild-1.65.2/conans/client/cmd/download.py +61 -0
- conan_zbuild-1.65.2/conans/client/cmd/export.py +527 -0
- conan_zbuild-1.65.2/conans/client/cmd/export_pkg.py +86 -0
- conan_zbuild-1.65.2/conans/client/cmd/frogarian.py +92 -0
- conan_zbuild-1.65.2/conans/client/cmd/new.py +456 -0
- conan_zbuild-1.65.2/conans/client/cmd/new_ci.py +421 -0
- conan_zbuild-1.65.2/conans/client/cmd/profile.py +128 -0
- conan_zbuild-1.65.2/conans/client/cmd/search.py +120 -0
- conan_zbuild-1.65.2/conans/client/cmd/test.py +75 -0
- conan_zbuild-1.65.2/conans/client/cmd/uploader.py +670 -0
- conan_zbuild-1.65.2/conans/client/cmd/user.py +37 -0
- conan_zbuild-1.65.2/conans/client/command.py +2429 -0
- conan_zbuild-1.65.2/conans/client/conan_api.py +1625 -0
- conan_zbuild-1.65.2/conans/client/conan_command_output.py +330 -0
- conan_zbuild-1.65.2/conans/client/conanfile/__init__.py +0 -0
- conan_zbuild-1.65.2/conans/client/conanfile/build.py +18 -0
- conan_zbuild-1.65.2/conans/client/conanfile/configure.py +45 -0
- conan_zbuild-1.65.2/conans/client/conanfile/package.py +88 -0
- conan_zbuild-1.65.2/conans/client/conf/__init__.py +783 -0
- conan_zbuild-1.65.2/conans/client/conf/compiler_id.py +248 -0
- conan_zbuild-1.65.2/conans/client/conf/config_installer.py +337 -0
- conan_zbuild-1.65.2/conans/client/conf/detect.py +310 -0
- conan_zbuild-1.65.2/conans/client/conf/required_version.py +37 -0
- conan_zbuild-1.65.2/conans/client/downloaders/__init__.py +0 -0
- conan_zbuild-1.65.2/conans/client/downloaders/cached_file_downloader.py +91 -0
- conan_zbuild-1.65.2/conans/client/downloaders/download.py +11 -0
- conan_zbuild-1.65.2/conans/client/downloaders/file_downloader.py +180 -0
- conan_zbuild-1.65.2/conans/client/envvars/__init__.py +0 -0
- conan_zbuild-1.65.2/conans/client/envvars/environment.py +221 -0
- conan_zbuild-1.65.2/conans/client/file_copier.py +242 -0
- conan_zbuild-1.65.2/conans/client/generators/__init__.py +322 -0
- conan_zbuild-1.65.2/conans/client/generators/b2.py +431 -0
- conan_zbuild-1.65.2/conans/client/generators/boostbuild.py +51 -0
- conan_zbuild-1.65.2/conans/client/generators/cmake.py +122 -0
- conan_zbuild-1.65.2/conans/client/generators/cmake_common.py +990 -0
- conan_zbuild-1.65.2/conans/client/generators/cmake_find_package.py +320 -0
- conan_zbuild-1.65.2/conans/client/generators/cmake_find_package_common.py +171 -0
- conan_zbuild-1.65.2/conans/client/generators/cmake_find_package_multi.py +427 -0
- conan_zbuild-1.65.2/conans/client/generators/cmake_multi.py +93 -0
- conan_zbuild-1.65.2/conans/client/generators/cmake_paths.py +38 -0
- conan_zbuild-1.65.2/conans/client/generators/compiler_args.py +99 -0
- conan_zbuild-1.65.2/conans/client/generators/deploy.py +57 -0
- conan_zbuild-1.65.2/conans/client/generators/gcc.py +13 -0
- conan_zbuild-1.65.2/conans/client/generators/json_generator.py +81 -0
- conan_zbuild-1.65.2/conans/client/generators/make.py +73 -0
- conan_zbuild-1.65.2/conans/client/generators/markdown.py +474 -0
- conan_zbuild-1.65.2/conans/client/generators/pkg_config.py +160 -0
- conan_zbuild-1.65.2/conans/client/generators/premake.py +78 -0
- conan_zbuild-1.65.2/conans/client/generators/qbs.py +76 -0
- conan_zbuild-1.65.2/conans/client/generators/qmake.py +131 -0
- conan_zbuild-1.65.2/conans/client/generators/scons.py +58 -0
- conan_zbuild-1.65.2/conans/client/generators/text.py +260 -0
- conan_zbuild-1.65.2/conans/client/generators/virtualbuildenv.py +25 -0
- conan_zbuild-1.65.2/conans/client/generators/virtualenv.py +32 -0
- conan_zbuild-1.65.2/conans/client/generators/virtualenv_python.py +13 -0
- conan_zbuild-1.65.2/conans/client/generators/virtualrunenv.py +13 -0
- conan_zbuild-1.65.2/conans/client/generators/visualstudio.py +123 -0
- conan_zbuild-1.65.2/conans/client/generators/visualstudio_multi.py +83 -0
- conan_zbuild-1.65.2/conans/client/generators/visualstudiolegacy.py +40 -0
- conan_zbuild-1.65.2/conans/client/generators/xcode.py +43 -0
- conan_zbuild-1.65.2/conans/client/generators/ycm.py +197 -0
- conan_zbuild-1.65.2/conans/client/graph/__init__.py +0 -0
- conan_zbuild-1.65.2/conans/client/graph/build_mode.py +108 -0
- conan_zbuild-1.65.2/conans/client/graph/compatibility.py +34 -0
- conan_zbuild-1.65.2/conans/client/graph/graph.py +417 -0
- conan_zbuild-1.65.2/conans/client/graph/graph_binaries.py +482 -0
- conan_zbuild-1.65.2/conans/client/graph/graph_builder.py +505 -0
- conan_zbuild-1.65.2/conans/client/graph/graph_manager.py +478 -0
- conan_zbuild-1.65.2/conans/client/graph/grapher.py +78 -0
- conan_zbuild-1.65.2/conans/client/graph/printer.py +76 -0
- conan_zbuild-1.65.2/conans/client/graph/proxy.py +173 -0
- conan_zbuild-1.65.2/conans/client/graph/python_requires.py +226 -0
- conan_zbuild-1.65.2/conans/client/graph/range_resolver.py +183 -0
- conan_zbuild-1.65.2/conans/client/hook_manager.py +131 -0
- conan_zbuild-1.65.2/conans/client/importer.py +181 -0
- conan_zbuild-1.65.2/conans/client/installer.py +744 -0
- conan_zbuild-1.65.2/conans/client/loader.py +511 -0
- conan_zbuild-1.65.2/conans/client/loader_txt.py +120 -0
- conan_zbuild-1.65.2/conans/client/manager.py +151 -0
- conan_zbuild-1.65.2/conans/client/manifest_manager.py +99 -0
- conan_zbuild-1.65.2/conans/client/migrations.py +341 -0
- conan_zbuild-1.65.2/conans/client/migrations_settings.py +5133 -0
- conan_zbuild-1.65.2/conans/client/output.py +176 -0
- conan_zbuild-1.65.2/conans/client/packager.py +53 -0
- conan_zbuild-1.65.2/conans/client/printer.py +259 -0
- conan_zbuild-1.65.2/conans/client/profile_loader.py +346 -0
- conan_zbuild-1.65.2/conans/client/recorder/__init__.py +0 -0
- conan_zbuild-1.65.2/conans/client/recorder/action_recorder.py +198 -0
- conan_zbuild-1.65.2/conans/client/recorder/search_recorder.py +51 -0
- conan_zbuild-1.65.2/conans/client/recorder/upload_recoder.py +55 -0
- conan_zbuild-1.65.2/conans/client/remote_manager.py +347 -0
- conan_zbuild-1.65.2/conans/client/remover.py +249 -0
- conan_zbuild-1.65.2/conans/client/rest/__init__.py +27 -0
- conan_zbuild-1.65.2/conans/client/rest/auth_manager.py +121 -0
- conan_zbuild-1.65.2/conans/client/rest/cacert.py +5741 -0
- conan_zbuild-1.65.2/conans/client/rest/client_routes.py +272 -0
- conan_zbuild-1.65.2/conans/client/rest/conan_requester.py +147 -0
- conan_zbuild-1.65.2/conans/client/rest/file_uploader.py +125 -0
- conan_zbuild-1.65.2/conans/client/rest/rest_client.py +163 -0
- conan_zbuild-1.65.2/conans/client/rest/rest_client_common.py +263 -0
- conan_zbuild-1.65.2/conans/client/rest/rest_client_v1.py +355 -0
- conan_zbuild-1.65.2/conans/client/rest/rest_client_v2.py +342 -0
- conan_zbuild-1.65.2/conans/client/run_environment.py +32 -0
- conan_zbuild-1.65.2/conans/client/runner.py +123 -0
- conan_zbuild-1.65.2/conans/client/settings_preprocessor.py +69 -0
- conan_zbuild-1.65.2/conans/client/source.py +242 -0
- conan_zbuild-1.65.2/conans/client/store/__init__.py +0 -0
- conan_zbuild-1.65.2/conans/client/store/localdb.py +107 -0
- conan_zbuild-1.65.2/conans/client/subsystems.py +219 -0
- conan_zbuild-1.65.2/conans/client/tools/__init__.py +24 -0
- conan_zbuild-1.65.2/conans/client/tools/android.py +12 -0
- conan_zbuild-1.65.2/conans/client/tools/apple.py +158 -0
- conan_zbuild-1.65.2/conans/client/tools/env.py +161 -0
- conan_zbuild-1.65.2/conans/client/tools/files.py +514 -0
- conan_zbuild-1.65.2/conans/client/tools/intel.py +117 -0
- conan_zbuild-1.65.2/conans/client/tools/net.py +111 -0
- conan_zbuild-1.65.2/conans/client/tools/oss.py +631 -0
- conan_zbuild-1.65.2/conans/client/tools/pkg_config.py +106 -0
- conan_zbuild-1.65.2/conans/client/tools/scm.py +493 -0
- conan_zbuild-1.65.2/conans/client/tools/settings.py +90 -0
- conan_zbuild-1.65.2/conans/client/tools/system_pm.py +469 -0
- conan_zbuild-1.65.2/conans/client/tools/version.py +53 -0
- conan_zbuild-1.65.2/conans/client/tools/win.py +725 -0
- conan_zbuild-1.65.2/conans/client/userio.py +124 -0
- conan_zbuild-1.65.2/conans/conan.py +21 -0
- conan_zbuild-1.65.2/conans/conan_server.py +20 -0
- conan_zbuild-1.65.2/conans/errors.py +247 -0
- conan_zbuild-1.65.2/conans/migrations.py +45 -0
- conan_zbuild-1.65.2/conans/model/__init__.py +1 -0
- conan_zbuild-1.65.2/conans/model/build_info.py +726 -0
- conan_zbuild-1.65.2/conans/model/conan_file.py +480 -0
- conan_zbuild-1.65.2/conans/model/conan_generator.py +112 -0
- conan_zbuild-1.65.2/conans/model/conanfile_interface.py +108 -0
- conan_zbuild-1.65.2/conans/model/conf.py +556 -0
- conan_zbuild-1.65.2/conans/model/dependencies.py +194 -0
- conan_zbuild-1.65.2/conans/model/editable_layout.py +115 -0
- conan_zbuild-1.65.2/conans/model/env_info.py +311 -0
- conan_zbuild-1.65.2/conans/model/graph_info.py +63 -0
- conan_zbuild-1.65.2/conans/model/graph_lock.py +702 -0
- conan_zbuild-1.65.2/conans/model/info.py +724 -0
- conan_zbuild-1.65.2/conans/model/layout.py +176 -0
- conan_zbuild-1.65.2/conans/model/lock_bundle.py +178 -0
- conan_zbuild-1.65.2/conans/model/manifest.py +158 -0
- conan_zbuild-1.65.2/conans/model/new_build_info.py +304 -0
- conan_zbuild-1.65.2/conans/model/options.py +685 -0
- conan_zbuild-1.65.2/conans/model/package_metadata.py +110 -0
- conan_zbuild-1.65.2/conans/model/profile.py +157 -0
- conan_zbuild-1.65.2/conans/model/ref.py +344 -0
- conan_zbuild-1.65.2/conans/model/requires.py +190 -0
- conan_zbuild-1.65.2/conans/model/rest_routes.py +124 -0
- conan_zbuild-1.65.2/conans/model/scm.py +199 -0
- conan_zbuild-1.65.2/conans/model/settings.py +374 -0
- conan_zbuild-1.65.2/conans/model/user_info.py +34 -0
- conan_zbuild-1.65.2/conans/model/values.py +132 -0
- conan_zbuild-1.65.2/conans/model/version.py +193 -0
- conan_zbuild-1.65.2/conans/model/workspace.py +156 -0
- conan_zbuild-1.65.2/conans/paths/__init__.py +59 -0
- conan_zbuild-1.65.2/conans/paths/package_layouts/__init__.py +1 -0
- conan_zbuild-1.65.2/conans/paths/package_layouts/package_cache_layout.py +318 -0
- conan_zbuild-1.65.2/conans/paths/package_layouts/package_editable_layout.py +69 -0
- conan_zbuild-1.65.2/conans/pylint_plugin.py +88 -0
- conan_zbuild-1.65.2/conans/requirements.txt +16 -0
- conan_zbuild-1.65.2/conans/requirements_dev.txt +7 -0
- conan_zbuild-1.65.2/conans/requirements_server.txt +4 -0
- conan_zbuild-1.65.2/conans/search/__init__.py +0 -0
- conan_zbuild-1.65.2/conans/search/binary_html_table.py +157 -0
- conan_zbuild-1.65.2/conans/search/query_parse.py +124 -0
- conan_zbuild-1.65.2/conans/search/search.py +170 -0
- conan_zbuild-1.65.2/conans/server/__init__.py +0 -0
- conan_zbuild-1.65.2/conans/server/conf/__init__.py +240 -0
- conan_zbuild-1.65.2/conans/server/conf/default_server_conf.py +73 -0
- conan_zbuild-1.65.2/conans/server/crypto/__init__.py +0 -0
- conan_zbuild-1.65.2/conans/server/crypto/jwt/__init__.py +0 -0
- conan_zbuild-1.65.2/conans/server/crypto/jwt/jwt_credentials_manager.py +19 -0
- conan_zbuild-1.65.2/conans/server/crypto/jwt/jwt_manager.py +32 -0
- conan_zbuild-1.65.2/conans/server/crypto/jwt/jwt_updown_manager.py +25 -0
- conan_zbuild-1.65.2/conans/server/launcher.py +71 -0
- conan_zbuild-1.65.2/conans/server/migrate.py +17 -0
- conan_zbuild-1.65.2/conans/server/migrations.py +102 -0
- conan_zbuild-1.65.2/conans/server/plugin_loader.py +26 -0
- conan_zbuild-1.65.2/conans/server/rest/__init__.py +0 -0
- conan_zbuild-1.65.2/conans/server/rest/api_v1.py +52 -0
- conan_zbuild-1.65.2/conans/server/rest/api_v2.py +32 -0
- conan_zbuild-1.65.2/conans/server/rest/bottle_plugins/__init__.py +0 -0
- conan_zbuild-1.65.2/conans/server/rest/bottle_plugins/authorization_header.py +79 -0
- conan_zbuild-1.65.2/conans/server/rest/bottle_plugins/http_basic_authentication.py +43 -0
- conan_zbuild-1.65.2/conans/server/rest/bottle_plugins/jwt_authentication.py +42 -0
- conan_zbuild-1.65.2/conans/server/rest/bottle_plugins/return_handler.py +53 -0
- conan_zbuild-1.65.2/conans/server/rest/bottle_routes.py +11 -0
- conan_zbuild-1.65.2/conans/server/rest/controller/__init__.py +0 -0
- conan_zbuild-1.65.2/conans/server/rest/controller/common/__init__.py +0 -0
- conan_zbuild-1.65.2/conans/server/rest/controller/common/ping.py +18 -0
- conan_zbuild-1.65.2/conans/server/rest/controller/common/users.py +38 -0
- conan_zbuild-1.65.2/conans/server/rest/controller/v1/__init__.py +0 -0
- conan_zbuild-1.65.2/conans/server/rest/controller/v1/conan.py +133 -0
- conan_zbuild-1.65.2/conans/server/rest/controller/v1/delete.py +48 -0
- conan_zbuild-1.65.2/conans/server/rest/controller/v1/file_upload_download.py +63 -0
- conan_zbuild-1.65.2/conans/server/rest/controller/v1/search.py +33 -0
- conan_zbuild-1.65.2/conans/server/rest/controller/v2/__init__.py +7 -0
- conan_zbuild-1.65.2/conans/server/rest/controller/v2/conan.py +63 -0
- conan_zbuild-1.65.2/conans/server/rest/controller/v2/delete.py +46 -0
- conan_zbuild-1.65.2/conans/server/rest/controller/v2/revisions.py +62 -0
- conan_zbuild-1.65.2/conans/server/rest/controller/v2/search.py +34 -0
- conan_zbuild-1.65.2/conans/server/rest/server.py +46 -0
- conan_zbuild-1.65.2/conans/server/revision_list.py +79 -0
- conan_zbuild-1.65.2/conans/server/server_launcher.py +14 -0
- conan_zbuild-1.65.2/conans/server/service/__init__.py +0 -0
- conan_zbuild-1.65.2/conans/server/service/authorize.py +224 -0
- conan_zbuild-1.65.2/conans/server/service/common/__init__.py +0 -0
- conan_zbuild-1.65.2/conans/server/service/common/common.py +60 -0
- conan_zbuild-1.65.2/conans/server/service/common/search.py +122 -0
- conan_zbuild-1.65.2/conans/server/service/mime.py +9 -0
- conan_zbuild-1.65.2/conans/server/service/user_service.py +18 -0
- conan_zbuild-1.65.2/conans/server/service/v1/__init__.py +0 -0
- conan_zbuild-1.65.2/conans/server/service/v1/service.py +95 -0
- conan_zbuild-1.65.2/conans/server/service/v1/upload_download_service.py +61 -0
- conan_zbuild-1.65.2/conans/server/service/v2/__init__.py +0 -0
- conan_zbuild-1.65.2/conans/server/service/v2/service_v2.py +116 -0
- conan_zbuild-1.65.2/conans/server/store/__init__.py +0 -0
- conan_zbuild-1.65.2/conans/server/store/disk_adapter.py +103 -0
- conan_zbuild-1.65.2/conans/server/store/server_store.py +358 -0
- conan_zbuild-1.65.2/conans/server/store/url_manager.py +0 -0
- conan_zbuild-1.65.2/conans/test/__init__.py +8 -0
- conan_zbuild-1.65.2/conans/test/conftest.py +326 -0
- conan_zbuild-1.65.2/conans/test/utils/__init__.py +0 -0
- conan_zbuild-1.65.2/conans/test/utils/artifactory.py +134 -0
- conan_zbuild-1.65.2/conans/test/utils/conan_v2_tests.py +21 -0
- conan_zbuild-1.65.2/conans/test/utils/mocks.py +252 -0
- conan_zbuild-1.65.2/conans/test/utils/profiles.py +33 -0
- conan_zbuild-1.65.2/conans/test/utils/scm.py +148 -0
- conan_zbuild-1.65.2/conans/test/utils/server_launcher.py +113 -0
- conan_zbuild-1.65.2/conans/test/utils/test_files.py +91 -0
- conan_zbuild-1.65.2/conans/test/utils/tools.py +789 -0
- conan_zbuild-1.65.2/conans/tools.py +236 -0
- conan_zbuild-1.65.2/conans/util/__init__.py +0 -0
- conan_zbuild-1.65.2/conans/util/conan_v2_mode.py +41 -0
- conan_zbuild-1.65.2/conans/util/config_parser.py +69 -0
- conan_zbuild-1.65.2/conans/util/dates.py +44 -0
- conan_zbuild-1.65.2/conans/util/encrypt.py +40 -0
- conan_zbuild-1.65.2/conans/util/env_reader.py +31 -0
- conan_zbuild-1.65.2/conans/util/fallbacks.py +25 -0
- conan_zbuild-1.65.2/conans/util/files.py +444 -0
- conan_zbuild-1.65.2/conans/util/locks.py +120 -0
- conan_zbuild-1.65.2/conans/util/log.py +48 -0
- conan_zbuild-1.65.2/conans/util/misc.py +23 -0
- conan_zbuild-1.65.2/conans/util/progress_bar.py +161 -0
- conan_zbuild-1.65.2/conans/util/runners.py +106 -0
- conan_zbuild-1.65.2/conans/util/sha.py +17 -0
- conan_zbuild-1.65.2/conans/util/templates.py +6 -0
- conan_zbuild-1.65.2/conans/util/tracer.py +175 -0
- conan_zbuild-1.65.2/conans/util/windows.py +133 -0
- conan_zbuild-1.65.2/setup.cfg +9 -0
- conan_zbuild-1.65.2/setup.py +142 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2019 JFrog LTD
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
in the Software without restriction, including without limitation the rights
|
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
furnished to do so, subject to the following conditions:
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
The above copyright notice and this permission notice shall be included in
|
|
17
|
+
all copies or substantial portions of the Software.
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
27
|
+
THE SOFTWARE.
|
|
28
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
include LICENSE.md
|
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: conan-zbuild
|
|
3
|
+
Version: 1.65.2
|
|
4
|
+
Summary: Conan C/C++ package manager
|
|
5
|
+
Home-page: https://conan.io
|
|
6
|
+
Author: JFrog LTD
|
|
7
|
+
Author-email: luism@jfrog.com
|
|
8
|
+
License: MIT
|
|
9
|
+
Project-URL: Documentation, https://docs.conan.io
|
|
10
|
+
Project-URL: Source, https://github.com/conan-io/conan
|
|
11
|
+
Project-URL: Tracker, https://github.com/conan-io/conan/issues
|
|
12
|
+
Keywords: C/C++,package,libraries,developer,manager,dependency,tool,c,c++,cpp
|
|
13
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: Topic :: Software Development :: Build Tools
|
|
16
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
17
|
+
Classifier: Programming Language :: Python :: 3
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
21
|
+
Requires-Python: >=3.6
|
|
22
|
+
Description-Content-Type: text/x-rst
|
|
23
|
+
License-File: LICENSE.md
|
|
24
|
+
Requires-Dist: requests<3.0.0,>=2.25
|
|
25
|
+
Requires-Dist: urllib3<=2.2.3,>=1.26.6
|
|
26
|
+
Requires-Dist: colorama<0.5.0,>=0.3.3
|
|
27
|
+
Requires-Dist: PyYAML<6.1,>=3.11
|
|
28
|
+
Requires-Dist: patch-ng<1.18,>=1.17.4
|
|
29
|
+
Requires-Dist: fasteners>=0.14.1
|
|
30
|
+
Requires-Dist: six<=1.16.0,>=1.10.0
|
|
31
|
+
Requires-Dist: node-semver==0.6.1
|
|
32
|
+
Requires-Dist: distro<=1.8.0,>=1.0.2; sys_platform == "linux" or sys_platform == "linux2"
|
|
33
|
+
Requires-Dist: pygments<3.0,>=2.0
|
|
34
|
+
Requires-Dist: tqdm<5,>=4.28.1
|
|
35
|
+
Requires-Dist: Jinja2<3.0.0,>=2.9; python_version <= "2.7"
|
|
36
|
+
Requires-Dist: MarkupSafe<=2.0.1; python_version <= "2.7"
|
|
37
|
+
Requires-Dist: Jinja2<4.0.0,>=3.0; python_version >= "3"
|
|
38
|
+
Requires-Dist: python-dateutil<3,>=2.7.0
|
|
39
|
+
Requires-Dist: configparser>=3.5; python_version <= "2.7"
|
|
40
|
+
Requires-Dist: bottle<0.13,>=0.12.8
|
|
41
|
+
Requires-Dist: pluginbase>=0.5
|
|
42
|
+
Requires-Dist: PyJWT<3.0.0,>=2.4.0
|
|
43
|
+
Provides-Extra: dev
|
|
44
|
+
Requires-Dist: pytest<7.0.0,>=6.1.1; python_version > "3.0" and extra == "dev"
|
|
45
|
+
Requires-Dist: pytest>=4.6.11; python_version < "3.0" and extra == "dev"
|
|
46
|
+
Requires-Dist: pytest-xdist; extra == "dev"
|
|
47
|
+
Requires-Dist: parameterized>=0.6.3; extra == "dev"
|
|
48
|
+
Requires-Dist: mock<1.4.0,>=1.3.0; extra == "dev"
|
|
49
|
+
Requires-Dist: WebTest<2.1.0,>=2.0.18; extra == "dev"
|
|
50
|
+
Requires-Dist: bottle; extra == "dev"
|
|
51
|
+
Provides-Extra: test
|
|
52
|
+
Requires-Dist: pytest<7.0.0,>=6.1.1; python_version > "3.0" and extra == "test"
|
|
53
|
+
Requires-Dist: pytest>=4.6.11; python_version < "3.0" and extra == "test"
|
|
54
|
+
Requires-Dist: pytest-xdist; extra == "test"
|
|
55
|
+
Requires-Dist: parameterized>=0.6.3; extra == "test"
|
|
56
|
+
Requires-Dist: mock<1.4.0,>=1.3.0; extra == "test"
|
|
57
|
+
Requires-Dist: WebTest<2.1.0,>=2.0.18; extra == "test"
|
|
58
|
+
Requires-Dist: bottle; extra == "test"
|
|
59
|
+
|
|
60
|
+
|Logo|
|
|
61
|
+
|
|
62
|
+
Conan
|
|
63
|
+
=====
|
|
64
|
+
|
|
65
|
+
Decentralized, open-source (MIT), C/C++ package manager.
|
|
66
|
+
|
|
67
|
+
- Homepage: https://conan.io/
|
|
68
|
+
- Github: https://github.com/conan-io/conan
|
|
69
|
+
- Docs: https://docs.conan.io/en/latest/
|
|
70
|
+
- Slack: https://cppalliance.org/slack/ (#conan channel)
|
|
71
|
+
- Twitter: https://twitter.com/conan_io
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
Conan is a package manager for C and C++ developers:
|
|
75
|
+
|
|
76
|
+
- It is fully decentralized. Users can host their packages on their servers, privately. Integrates with Artifactory and Bintray.
|
|
77
|
+
- Portable. Works across all platforms, including Linux, OSX, Windows (with native and first-class support, WSL, MinGW),
|
|
78
|
+
Solaris, FreeBSD, embedded and cross-compiling, docker, WSL
|
|
79
|
+
- Manage binaries. It can create, upload and download binaries for any configuration and platform,
|
|
80
|
+
even cross-compiling, saving lots of time in development and continuous integration. The binary compatibility can be configured
|
|
81
|
+
and customized. Manage all your artifacts in the same way on all platforms.
|
|
82
|
+
- Integrates with any build system, including any proprietary and custom one. Provides tested support for major build systems
|
|
83
|
+
(CMake, MSBuild, Makefiles, Meson, etc).
|
|
84
|
+
- Extensible: Its python based recipes, together with extensions points allows for great power and flexibility.
|
|
85
|
+
- Large and active community, especially in Github (https://github.com/conan-io/conan) and Slack (https://cpplang-inviter.cppalliance.org/ #conan channel).
|
|
86
|
+
This community also creates and maintains packages in ConanCenter and Bincrafters repositories in Bintray.
|
|
87
|
+
- Stable. Used in production by many companies, since 1.0 there is a commitment not to break package recipes and documented behavior.
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
+-------------------------+-------------------------+
|
|
92
|
+
| **develop** | **Code Climate** |
|
|
93
|
+
+=========================+=========================+
|
|
94
|
+
| |Build Status Develop| | |Develop climate| |
|
|
95
|
+
+-------------------------+-------------------------+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
Setup
|
|
99
|
+
=====
|
|
100
|
+
|
|
101
|
+
Please read https://docs.conan.io/en/latest/installation.html to know how to
|
|
102
|
+
install and start using Conan. TL;DR:
|
|
103
|
+
|
|
104
|
+
.. code-block::
|
|
105
|
+
|
|
106
|
+
$ pip install conan
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
Install a development version
|
|
110
|
+
-----------------------------
|
|
111
|
+
|
|
112
|
+
You can run **Conan** client and server in Windows, MacOS, and Linux.
|
|
113
|
+
|
|
114
|
+
- **Install pip following** `pip docs`_.
|
|
115
|
+
|
|
116
|
+
- **Clone Conan repository:**
|
|
117
|
+
|
|
118
|
+
.. code-block:: bash
|
|
119
|
+
|
|
120
|
+
$ git clone https://github.com/conan-io/conan.git conan-io
|
|
121
|
+
|
|
122
|
+
NOTE: repository directory name matters, some directories are known to be problematic to run tests (e.g. `conan`). `conan-io` directory name was tested and guaranteed to be working.
|
|
123
|
+
|
|
124
|
+
- **Install in editable mode**
|
|
125
|
+
|
|
126
|
+
.. code-block:: bash
|
|
127
|
+
|
|
128
|
+
$ cd conan-io && sudo pip install -e .
|
|
129
|
+
|
|
130
|
+
If you are in Windows, using ``sudo`` is not required.
|
|
131
|
+
|
|
132
|
+
- **You are ready, try to run Conan:**
|
|
133
|
+
|
|
134
|
+
.. code-block::
|
|
135
|
+
|
|
136
|
+
$ conan --help
|
|
137
|
+
|
|
138
|
+
Consumer commands
|
|
139
|
+
install Installs the requirements specified in a recipe (conanfile.py or conanfile.txt).
|
|
140
|
+
config Manages Conan configuration.
|
|
141
|
+
get Gets a file or list a directory of a given reference or package.
|
|
142
|
+
info Gets information about the dependency graph of a recipe.
|
|
143
|
+
search Searches package recipes and binaries in the local cache or a remote. Unless a
|
|
144
|
+
remote is specified only the local cache is searched.
|
|
145
|
+
Creator commands
|
|
146
|
+
new Creates a new package recipe template with a 'conanfile.py' and optionally,
|
|
147
|
+
'test_package' testing files.
|
|
148
|
+
create Builds a binary package for a recipe (conanfile.py).
|
|
149
|
+
upload Uploads a recipe and binary packages to a remote.
|
|
150
|
+
export Copies the recipe (conanfile.py & associated files) to your local cache.
|
|
151
|
+
export-pkg Exports a recipe, then creates a package from local source and build folders.
|
|
152
|
+
test Tests a package consuming it from a conanfile.py with a test() method.
|
|
153
|
+
Package development commands
|
|
154
|
+
source Calls your local conanfile.py 'source()' method.
|
|
155
|
+
build Calls your local conanfile.py 'build()' method.
|
|
156
|
+
package Calls your local conanfile.py 'package()' method.
|
|
157
|
+
editable Manages editable packages (packages that reside in the user workspace, but are
|
|
158
|
+
consumed as if they were in the cache).
|
|
159
|
+
workspace Manages a workspace (a set of packages consumed from the user workspace that
|
|
160
|
+
belongs to the same project).
|
|
161
|
+
Misc commands
|
|
162
|
+
profile Lists profiles in the '.conan/profiles' folder, or shows profile details.
|
|
163
|
+
remote Manages the remote list and the package recipes associated with a remote.
|
|
164
|
+
user Authenticates against a remote with user/pass, caching the auth token.
|
|
165
|
+
imports Calls your local conanfile.py or conanfile.txt 'imports' method.
|
|
166
|
+
copy Copies conan recipes and packages to another user/channel.
|
|
167
|
+
remove Removes packages or binaries matching pattern from local cache or remote.
|
|
168
|
+
alias Creates and exports an 'alias package recipe'.
|
|
169
|
+
download Downloads recipe and binaries to the local cache, without using settings.
|
|
170
|
+
inspect Displays conanfile attributes, like name, version, and options. Works locally,
|
|
171
|
+
in local cache and remote.
|
|
172
|
+
help Shows help for a specific command.
|
|
173
|
+
lock Generates and manipulates lock files.
|
|
174
|
+
frogarian Conan The Frogarian
|
|
175
|
+
|
|
176
|
+
Conan commands. Type "conan <command> -h" for help
|
|
177
|
+
|
|
178
|
+
Contributing to the project
|
|
179
|
+
===========================
|
|
180
|
+
|
|
181
|
+
Feedback and contribution are always welcome in this project.
|
|
182
|
+
Please read our `contributing guide <https://github.com/conan-io/conan/blob/develop/.github/CONTRIBUTING.md>`_.
|
|
183
|
+
Also, if you plan to contribute, please add some testing for your changes. You can read the `Conan
|
|
184
|
+
tests guidelines section <https://github.com/conan-io/conan/blob/develop/conans/test/README.md>`_ for
|
|
185
|
+
some advise on how to write tests for Conan.
|
|
186
|
+
|
|
187
|
+
Running the tests
|
|
188
|
+
=================
|
|
189
|
+
|
|
190
|
+
Using tox
|
|
191
|
+
---------
|
|
192
|
+
|
|
193
|
+
.. code-block:: bash
|
|
194
|
+
|
|
195
|
+
$ python -m tox
|
|
196
|
+
|
|
197
|
+
It will install the needed requirements and launch `pytest` skipping some heavy and slow tests.
|
|
198
|
+
If you want to run the full test suite:
|
|
199
|
+
|
|
200
|
+
.. code-block:: bash
|
|
201
|
+
|
|
202
|
+
$ python -m tox -e full
|
|
203
|
+
|
|
204
|
+
Without tox
|
|
205
|
+
-----------
|
|
206
|
+
|
|
207
|
+
**Install python requirements**
|
|
208
|
+
|
|
209
|
+
.. code-block:: bash
|
|
210
|
+
|
|
211
|
+
$ python -m pip install -r conans/requirements.txt
|
|
212
|
+
$ python -m pip install -r conans/requirements_server.txt
|
|
213
|
+
$ python -m pip install -r conans/requirements_dev.txt
|
|
214
|
+
|
|
215
|
+
If you are not Windows and you are not using a python virtual environment, you will need to run these
|
|
216
|
+
commands using `sudo`.
|
|
217
|
+
|
|
218
|
+
Before you can run the tests, you need to set a few environment variables first.
|
|
219
|
+
|
|
220
|
+
.. code-block:: bash
|
|
221
|
+
|
|
222
|
+
$ export PYTHONPATH=$PYTHONPATH:$(pwd)
|
|
223
|
+
|
|
224
|
+
On Windows it would be (while being in the Conan root directory):
|
|
225
|
+
|
|
226
|
+
.. code-block:: bash
|
|
227
|
+
|
|
228
|
+
$ set PYTHONPATH=.
|
|
229
|
+
|
|
230
|
+
Ensure that your ``cmake`` has version 2.8 or later. You can see the
|
|
231
|
+
version with the following command:
|
|
232
|
+
|
|
233
|
+
.. code-block:: bash
|
|
234
|
+
|
|
235
|
+
$ cmake --version
|
|
236
|
+
|
|
237
|
+
The appropriate values of ``CONAN_COMPILER`` and ``CONAN_COMPILER_VERSION`` depend on your
|
|
238
|
+
operating system and your requirements.
|
|
239
|
+
|
|
240
|
+
These should work for the GCC from ``build-essential`` on Ubuntu 14.04:
|
|
241
|
+
|
|
242
|
+
.. code-block:: bash
|
|
243
|
+
|
|
244
|
+
$ export CONAN_COMPILER=gcc
|
|
245
|
+
$ export CONAN_COMPILER_VERSION=4.8
|
|
246
|
+
|
|
247
|
+
These should work for OS X:
|
|
248
|
+
|
|
249
|
+
.. code-block:: bash
|
|
250
|
+
|
|
251
|
+
$ export CONAN_COMPILER=clang
|
|
252
|
+
$ export CONAN_COMPILER_VERSION=3.5
|
|
253
|
+
|
|
254
|
+
You can run the actual tests like this:
|
|
255
|
+
|
|
256
|
+
.. code-block:: bash
|
|
257
|
+
|
|
258
|
+
$ python -m pytest .
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
There are a couple of test attributes defined, as ``slow`` that you can use
|
|
262
|
+
to filter the tests, and do not execute them:
|
|
263
|
+
|
|
264
|
+
.. code-block:: bash
|
|
265
|
+
|
|
266
|
+
$ python -m pytest . -m "not slow"
|
|
267
|
+
|
|
268
|
+
A few minutes later it should print ``OK``:
|
|
269
|
+
|
|
270
|
+
.. code-block:: bash
|
|
271
|
+
|
|
272
|
+
............................................................................................
|
|
273
|
+
----------------------------------------------------------------------
|
|
274
|
+
Ran 146 tests in 50.993s
|
|
275
|
+
|
|
276
|
+
OK
|
|
277
|
+
|
|
278
|
+
To run specific tests, you can specify the test name too, something like:
|
|
279
|
+
|
|
280
|
+
.. code-block:: bash
|
|
281
|
+
|
|
282
|
+
$ python -m pytest conans/test/unittests/client/cmd/export_test.py::ExportTest::test_export_warning -s
|
|
283
|
+
|
|
284
|
+
The ``-s`` argument can be useful to see some output that otherwise is captured by pytest.
|
|
285
|
+
|
|
286
|
+
Also, you can run tests against an instance of Artifactory. Those tests should add the attribute
|
|
287
|
+
``artifactory_ready``.
|
|
288
|
+
|
|
289
|
+
.. code-block:: bash
|
|
290
|
+
|
|
291
|
+
$ python -m pytest . -m artifactory_ready
|
|
292
|
+
|
|
293
|
+
Some environment variables have to be defined to run them. For example, for an
|
|
294
|
+
Artifactory instance that is running on the localhost with default user and password configured, the
|
|
295
|
+
variables could take the values:
|
|
296
|
+
|
|
297
|
+
.. code-block:: bash
|
|
298
|
+
|
|
299
|
+
$ export CONAN_TEST_WITH_ARTIFACTORY=1
|
|
300
|
+
$ export ARTIFACTORY_DEFAULT_URL=http://localhost:8081/artifactory
|
|
301
|
+
$ export ARTIFACTORY_DEFAULT_USER=admin
|
|
302
|
+
$ export ARTIFACTORY_DEFAULT_PASSWORD=password
|
|
303
|
+
|
|
304
|
+
``ARTIFACTORY_DEFAULT_URL`` is the base url for the Artifactory repo, not one for a specific
|
|
305
|
+
repository. Running the tests with a real Artifactory instance will create repos on the fly so please
|
|
306
|
+
use a separate server for testing purposes.
|
|
307
|
+
|
|
308
|
+
License
|
|
309
|
+
-------
|
|
310
|
+
|
|
311
|
+
`MIT LICENSE <./LICENSE.md>`__
|
|
312
|
+
|
|
313
|
+
.. |Build Status Develop| image:: https://ci.conan.io/buildStatus/icon?job=ConanTestSuite/develop
|
|
314
|
+
:target: https://ci.conan.io/job/ConanTestSuite/job/develop/
|
|
315
|
+
|
|
316
|
+
.. |Develop climate| image:: https://api.codeclimate.com/v1/badges/081b53e570d5220b34e4/maintainability.svg
|
|
317
|
+
:target: https://codeclimate.com/github/conan-io/conan/maintainability
|
|
318
|
+
|
|
319
|
+
.. |Logo| image:: https://conan.io/img/jfrog_conan_logo.png
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
.. _`pip docs`: https://pip.pypa.io/en/stable/installation/
|
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
|Logo|
|
|
2
|
+
|
|
3
|
+
Conan
|
|
4
|
+
=====
|
|
5
|
+
|
|
6
|
+
Decentralized, open-source (MIT), C/C++ package manager.
|
|
7
|
+
|
|
8
|
+
- Homepage: https://conan.io/
|
|
9
|
+
- Github: https://github.com/conan-io/conan
|
|
10
|
+
- Docs: https://docs.conan.io/en/latest/
|
|
11
|
+
- Slack: https://cppalliance.org/slack/ (#conan channel)
|
|
12
|
+
- Twitter: https://twitter.com/conan_io
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
Conan is a package manager for C and C++ developers:
|
|
16
|
+
|
|
17
|
+
- It is fully decentralized. Users can host their packages on their servers, privately. Integrates with Artifactory and Bintray.
|
|
18
|
+
- Portable. Works across all platforms, including Linux, OSX, Windows (with native and first-class support, WSL, MinGW),
|
|
19
|
+
Solaris, FreeBSD, embedded and cross-compiling, docker, WSL
|
|
20
|
+
- Manage binaries. It can create, upload and download binaries for any configuration and platform,
|
|
21
|
+
even cross-compiling, saving lots of time in development and continuous integration. The binary compatibility can be configured
|
|
22
|
+
and customized. Manage all your artifacts in the same way on all platforms.
|
|
23
|
+
- Integrates with any build system, including any proprietary and custom one. Provides tested support for major build systems
|
|
24
|
+
(CMake, MSBuild, Makefiles, Meson, etc).
|
|
25
|
+
- Extensible: Its python based recipes, together with extensions points allows for great power and flexibility.
|
|
26
|
+
- Large and active community, especially in Github (https://github.com/conan-io/conan) and Slack (https://cpplang-inviter.cppalliance.org/ #conan channel).
|
|
27
|
+
This community also creates and maintains packages in ConanCenter and Bincrafters repositories in Bintray.
|
|
28
|
+
- Stable. Used in production by many companies, since 1.0 there is a commitment not to break package recipes and documented behavior.
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
+-------------------------+-------------------------+
|
|
33
|
+
| **develop** | **Code Climate** |
|
|
34
|
+
+=========================+=========================+
|
|
35
|
+
| |Build Status Develop| | |Develop climate| |
|
|
36
|
+
+-------------------------+-------------------------+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
Setup
|
|
40
|
+
=====
|
|
41
|
+
|
|
42
|
+
Please read https://docs.conan.io/en/latest/installation.html to know how to
|
|
43
|
+
install and start using Conan. TL;DR:
|
|
44
|
+
|
|
45
|
+
.. code-block::
|
|
46
|
+
|
|
47
|
+
$ pip install conan
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
Install a development version
|
|
51
|
+
-----------------------------
|
|
52
|
+
|
|
53
|
+
You can run **Conan** client and server in Windows, MacOS, and Linux.
|
|
54
|
+
|
|
55
|
+
- **Install pip following** `pip docs`_.
|
|
56
|
+
|
|
57
|
+
- **Clone Conan repository:**
|
|
58
|
+
|
|
59
|
+
.. code-block:: bash
|
|
60
|
+
|
|
61
|
+
$ git clone https://github.com/conan-io/conan.git conan-io
|
|
62
|
+
|
|
63
|
+
NOTE: repository directory name matters, some directories are known to be problematic to run tests (e.g. `conan`). `conan-io` directory name was tested and guaranteed to be working.
|
|
64
|
+
|
|
65
|
+
- **Install in editable mode**
|
|
66
|
+
|
|
67
|
+
.. code-block:: bash
|
|
68
|
+
|
|
69
|
+
$ cd conan-io && sudo pip install -e .
|
|
70
|
+
|
|
71
|
+
If you are in Windows, using ``sudo`` is not required.
|
|
72
|
+
|
|
73
|
+
- **You are ready, try to run Conan:**
|
|
74
|
+
|
|
75
|
+
.. code-block::
|
|
76
|
+
|
|
77
|
+
$ conan --help
|
|
78
|
+
|
|
79
|
+
Consumer commands
|
|
80
|
+
install Installs the requirements specified in a recipe (conanfile.py or conanfile.txt).
|
|
81
|
+
config Manages Conan configuration.
|
|
82
|
+
get Gets a file or list a directory of a given reference or package.
|
|
83
|
+
info Gets information about the dependency graph of a recipe.
|
|
84
|
+
search Searches package recipes and binaries in the local cache or a remote. Unless a
|
|
85
|
+
remote is specified only the local cache is searched.
|
|
86
|
+
Creator commands
|
|
87
|
+
new Creates a new package recipe template with a 'conanfile.py' and optionally,
|
|
88
|
+
'test_package' testing files.
|
|
89
|
+
create Builds a binary package for a recipe (conanfile.py).
|
|
90
|
+
upload Uploads a recipe and binary packages to a remote.
|
|
91
|
+
export Copies the recipe (conanfile.py & associated files) to your local cache.
|
|
92
|
+
export-pkg Exports a recipe, then creates a package from local source and build folders.
|
|
93
|
+
test Tests a package consuming it from a conanfile.py with a test() method.
|
|
94
|
+
Package development commands
|
|
95
|
+
source Calls your local conanfile.py 'source()' method.
|
|
96
|
+
build Calls your local conanfile.py 'build()' method.
|
|
97
|
+
package Calls your local conanfile.py 'package()' method.
|
|
98
|
+
editable Manages editable packages (packages that reside in the user workspace, but are
|
|
99
|
+
consumed as if they were in the cache).
|
|
100
|
+
workspace Manages a workspace (a set of packages consumed from the user workspace that
|
|
101
|
+
belongs to the same project).
|
|
102
|
+
Misc commands
|
|
103
|
+
profile Lists profiles in the '.conan/profiles' folder, or shows profile details.
|
|
104
|
+
remote Manages the remote list and the package recipes associated with a remote.
|
|
105
|
+
user Authenticates against a remote with user/pass, caching the auth token.
|
|
106
|
+
imports Calls your local conanfile.py or conanfile.txt 'imports' method.
|
|
107
|
+
copy Copies conan recipes and packages to another user/channel.
|
|
108
|
+
remove Removes packages or binaries matching pattern from local cache or remote.
|
|
109
|
+
alias Creates and exports an 'alias package recipe'.
|
|
110
|
+
download Downloads recipe and binaries to the local cache, without using settings.
|
|
111
|
+
inspect Displays conanfile attributes, like name, version, and options. Works locally,
|
|
112
|
+
in local cache and remote.
|
|
113
|
+
help Shows help for a specific command.
|
|
114
|
+
lock Generates and manipulates lock files.
|
|
115
|
+
frogarian Conan The Frogarian
|
|
116
|
+
|
|
117
|
+
Conan commands. Type "conan <command> -h" for help
|
|
118
|
+
|
|
119
|
+
Contributing to the project
|
|
120
|
+
===========================
|
|
121
|
+
|
|
122
|
+
Feedback and contribution are always welcome in this project.
|
|
123
|
+
Please read our `contributing guide <https://github.com/conan-io/conan/blob/develop/.github/CONTRIBUTING.md>`_.
|
|
124
|
+
Also, if you plan to contribute, please add some testing for your changes. You can read the `Conan
|
|
125
|
+
tests guidelines section <https://github.com/conan-io/conan/blob/develop/conans/test/README.md>`_ for
|
|
126
|
+
some advise on how to write tests for Conan.
|
|
127
|
+
|
|
128
|
+
Running the tests
|
|
129
|
+
=================
|
|
130
|
+
|
|
131
|
+
Using tox
|
|
132
|
+
---------
|
|
133
|
+
|
|
134
|
+
.. code-block:: bash
|
|
135
|
+
|
|
136
|
+
$ python -m tox
|
|
137
|
+
|
|
138
|
+
It will install the needed requirements and launch `pytest` skipping some heavy and slow tests.
|
|
139
|
+
If you want to run the full test suite:
|
|
140
|
+
|
|
141
|
+
.. code-block:: bash
|
|
142
|
+
|
|
143
|
+
$ python -m tox -e full
|
|
144
|
+
|
|
145
|
+
Without tox
|
|
146
|
+
-----------
|
|
147
|
+
|
|
148
|
+
**Install python requirements**
|
|
149
|
+
|
|
150
|
+
.. code-block:: bash
|
|
151
|
+
|
|
152
|
+
$ python -m pip install -r conans/requirements.txt
|
|
153
|
+
$ python -m pip install -r conans/requirements_server.txt
|
|
154
|
+
$ python -m pip install -r conans/requirements_dev.txt
|
|
155
|
+
|
|
156
|
+
If you are not Windows and you are not using a python virtual environment, you will need to run these
|
|
157
|
+
commands using `sudo`.
|
|
158
|
+
|
|
159
|
+
Before you can run the tests, you need to set a few environment variables first.
|
|
160
|
+
|
|
161
|
+
.. code-block:: bash
|
|
162
|
+
|
|
163
|
+
$ export PYTHONPATH=$PYTHONPATH:$(pwd)
|
|
164
|
+
|
|
165
|
+
On Windows it would be (while being in the Conan root directory):
|
|
166
|
+
|
|
167
|
+
.. code-block:: bash
|
|
168
|
+
|
|
169
|
+
$ set PYTHONPATH=.
|
|
170
|
+
|
|
171
|
+
Ensure that your ``cmake`` has version 2.8 or later. You can see the
|
|
172
|
+
version with the following command:
|
|
173
|
+
|
|
174
|
+
.. code-block:: bash
|
|
175
|
+
|
|
176
|
+
$ cmake --version
|
|
177
|
+
|
|
178
|
+
The appropriate values of ``CONAN_COMPILER`` and ``CONAN_COMPILER_VERSION`` depend on your
|
|
179
|
+
operating system and your requirements.
|
|
180
|
+
|
|
181
|
+
These should work for the GCC from ``build-essential`` on Ubuntu 14.04:
|
|
182
|
+
|
|
183
|
+
.. code-block:: bash
|
|
184
|
+
|
|
185
|
+
$ export CONAN_COMPILER=gcc
|
|
186
|
+
$ export CONAN_COMPILER_VERSION=4.8
|
|
187
|
+
|
|
188
|
+
These should work for OS X:
|
|
189
|
+
|
|
190
|
+
.. code-block:: bash
|
|
191
|
+
|
|
192
|
+
$ export CONAN_COMPILER=clang
|
|
193
|
+
$ export CONAN_COMPILER_VERSION=3.5
|
|
194
|
+
|
|
195
|
+
You can run the actual tests like this:
|
|
196
|
+
|
|
197
|
+
.. code-block:: bash
|
|
198
|
+
|
|
199
|
+
$ python -m pytest .
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
There are a couple of test attributes defined, as ``slow`` that you can use
|
|
203
|
+
to filter the tests, and do not execute them:
|
|
204
|
+
|
|
205
|
+
.. code-block:: bash
|
|
206
|
+
|
|
207
|
+
$ python -m pytest . -m "not slow"
|
|
208
|
+
|
|
209
|
+
A few minutes later it should print ``OK``:
|
|
210
|
+
|
|
211
|
+
.. code-block:: bash
|
|
212
|
+
|
|
213
|
+
............................................................................................
|
|
214
|
+
----------------------------------------------------------------------
|
|
215
|
+
Ran 146 tests in 50.993s
|
|
216
|
+
|
|
217
|
+
OK
|
|
218
|
+
|
|
219
|
+
To run specific tests, you can specify the test name too, something like:
|
|
220
|
+
|
|
221
|
+
.. code-block:: bash
|
|
222
|
+
|
|
223
|
+
$ python -m pytest conans/test/unittests/client/cmd/export_test.py::ExportTest::test_export_warning -s
|
|
224
|
+
|
|
225
|
+
The ``-s`` argument can be useful to see some output that otherwise is captured by pytest.
|
|
226
|
+
|
|
227
|
+
Also, you can run tests against an instance of Artifactory. Those tests should add the attribute
|
|
228
|
+
``artifactory_ready``.
|
|
229
|
+
|
|
230
|
+
.. code-block:: bash
|
|
231
|
+
|
|
232
|
+
$ python -m pytest . -m artifactory_ready
|
|
233
|
+
|
|
234
|
+
Some environment variables have to be defined to run them. For example, for an
|
|
235
|
+
Artifactory instance that is running on the localhost with default user and password configured, the
|
|
236
|
+
variables could take the values:
|
|
237
|
+
|
|
238
|
+
.. code-block:: bash
|
|
239
|
+
|
|
240
|
+
$ export CONAN_TEST_WITH_ARTIFACTORY=1
|
|
241
|
+
$ export ARTIFACTORY_DEFAULT_URL=http://localhost:8081/artifactory
|
|
242
|
+
$ export ARTIFACTORY_DEFAULT_USER=admin
|
|
243
|
+
$ export ARTIFACTORY_DEFAULT_PASSWORD=password
|
|
244
|
+
|
|
245
|
+
``ARTIFACTORY_DEFAULT_URL`` is the base url for the Artifactory repo, not one for a specific
|
|
246
|
+
repository. Running the tests with a real Artifactory instance will create repos on the fly so please
|
|
247
|
+
use a separate server for testing purposes.
|
|
248
|
+
|
|
249
|
+
License
|
|
250
|
+
-------
|
|
251
|
+
|
|
252
|
+
`MIT LICENSE <./LICENSE.md>`__
|
|
253
|
+
|
|
254
|
+
.. |Build Status Develop| image:: https://ci.conan.io/buildStatus/icon?job=ConanTestSuite/develop
|
|
255
|
+
:target: https://ci.conan.io/job/ConanTestSuite/job/develop/
|
|
256
|
+
|
|
257
|
+
.. |Develop climate| image:: https://api.codeclimate.com/v1/badges/081b53e570d5220b34e4/maintainability.svg
|
|
258
|
+
:target: https://codeclimate.com/github/conan-io/conan/maintainability
|
|
259
|
+
|
|
260
|
+
.. |Logo| image:: https://conan.io/img/jfrog_conan_logo.png
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
.. _`pip docs`: https://pip.pypa.io/en/stable/installation/
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
|
|
2
|
+
check_msg = "Using the new toolchains and generators without specifying " \
|
|
3
|
+
"a build profile (e.g: -pr:b=default) is discouraged and "\
|
|
4
|
+
"might cause failures and unexpected behavior"
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
def check_using_build_profile(conanfile):
|
|
8
|
+
"""FIXME: Remove this in Conan 2.0 where the two profiles are always applied"""
|
|
9
|
+
if not hasattr(conanfile, "settings_build"):
|
|
10
|
+
conanfile.output.warn(check_msg)
|