Package: conan-server
ConanDecentralized, open-source (MIT), C/C++ package manager.Homepage:https://conan.io/Github:https://github.com/conan-io/conanDocs:https://docs.conan.ioSlack:https://cpplang.slack.com(#conan channel. Please, clickhereto get an invitation)Twitter:https://twitter.com/conan_ioConan is a package manager for C and C++ developers:It is fully decentralized. Users can host their packages on their servers, privately. Integrates with Artifactory and Bintray.Portable. Works across all platforms, including Linux, OSX, Windows (with native and first-class support, WSL, MinGW),
Solaris, FreeBSD, embedded and cross-compiling, docker, WSLManage binaries. It can create, upload and download binaries for any configuration and platform,
even cross-compiling, saving lots of time in development and continuous integration. The binary compatibility can be configured
and customized. Manage all your artifacts in the same way on all platforms.Integrates with any build system, including any proprietary and custom one. Provides tested support for major build systems
(CMake, MSBuild, Makefiles, Meson, etc).Extensible: Its Python-based recipes, together with extension points allow for great power and flexibility.Large and active community, especially in GitHub (https://github.com/conan-io/conan) and Slack (https://cppalliance.org/slack/#conan channel).
This community also creates and maintains packages in ConanCenter and Bincrafters repositories in Bintray.Stable. Used in production by many companies, since 1.0 there is a commitment not to break package recipes and documented behavior.This is thedeveloper/maintainerdocumentation. For user documentation, go tohttps://docs.conan.iodevelop2SetupYou can run Conan from source in Windows, MacOS, and Linux:Install pip followingpip docs.Clone Conan repository:$gitclonehttps://github.com/conan-io/conan.gitconan-ioNote: repository directory name matters, some directories are known to be problematic to run tests (e.g.conan).conan-iodirectory name was tested and guaranteed to be working.Install in editable mode$cdconan-io&&sudopipinstall-e.If you are in Windows, usingsudois not required. Some Linux distros won't allow you to put Python packages in editable mode in the root Python installation, and creating a virtual environmentvenvfirst, is mandatory.You are ready, try to run Conan:$conan--help

ConsumercommandsinstallInstallstherequirementsspecifiedinarecipe(conanfile.pyorconanfile.txt)....Conancommands.Type"conan <command> -h"forhelpContributing to the projectFeedback and contribution are always welcome in this project.
Please read ourcontributing guide.
Also, if you plan to contribute, please add some testing for your changes. You can read theConan
tests guidelines sectionfor
some advice on how to write tests for Conan.Running the testsInstall Python requirements$python-mpipinstall-rconans/requirements_server.txt
$python-mpipinstall-rconans/requirements_dev.txtIf you are not on Windows and you are not using a Python virtual environment, you will need to run these
commands usingsudo.Before you can run the tests, you need to set a few environment variables first.$exportPYTHONPATH=$PYTHONPATH:$(pwd)On Windows it would be (while being in the Conan root directory):$setPYTHONPATH=.Conan test suite defines and configures some required tools (CMake, Ninja, etc) in theconftest.pyand allows to define a customconftest_user.py.
Some specific versions, like cmake>=3.15 are necessary.You can run the tests like this:$python-mpytest.A few minutes later it should printOK:............................................................................................
----------------------------------------------------------------------
Ran146testsin50.993s

OKTo run specific tests, you can specify the test name too, something like:$python-mpytestconans/test/unittests/client/cmd/export_test.py::ExportTest::test_export_warning-sThe-sargument can be useful to see some output that otherwise is captured bypytest.Also, you can run tests against an instance of Artifactory. Those tests should add the attributeartifactory_ready.$python-mpytest.-martifactory_readySome environment variables have to be defined to run them. For example, for an
Artifactory instance that is running on the localhost with default user and password configured, the
variables could take the values:$exportCONAN_TEST_WITH_ARTIFACTORY=1$exportARTIFACTORY_DEFAULT_URL=http://localhost:8081/artifactory
$exportARTIFACTORY_DEFAULT_USER=admin
$exportARTIFACTORY_DEFAULT_PASSWORD=passwordARTIFACTORY_DEFAULT_URLis the base URL for the Artifactory repo, not one for a specific
repository. Running the tests with a real Artifactory instance will create repos on the fly so please
use a separate server for testing purposes.LicenseMIT LICENSE