bandit icon indicating copy to clipboard operation
bandit copied to clipboard

Conan package

Open sbeyer opened this issue 6 years ago • 4 comments

There should be a Conan package of bandit. This is very easy to produce.

However, to do it right, we will make available Conan packages for Snowhouse and Bandit along with the Bandit 3.0 release.

sbeyer avatar Mar 28 '20 23:03 sbeyer

I'll be happy to help since I started using conan for some of my dependencies.

Here is an example of an header only library recipe: https://github.com/conan-io/conan-center-index/blob/master/recipes/rapidjson/all/conanfile.py

MartinDelille avatar Oct 08 '20 08:10 MartinDelille

Thank you very much! I have not yet come around to use Conan.

sbeyer avatar Dec 04 '20 23:12 sbeyer

I created a first package for snowhouse: https://github.com/conan-io/conan-center-index/pull/6763

I tried creating one for bandit I have an issue because when using the last release or the last commit I have the following error:

In file included from /Users/martin/dev/conan/cci/recipes/bandit/all/test_package/test_package.cpp:1:
/Users/martin/.conan/data/bandit/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bandit/bandit.h:23:10: fatal error:
      'bandit/assertion_frameworks/snowhouse/snowhouse/snowhouse.h' file not found
#include <bandit/assertion_frameworks/snowhouse/snowhouse/snowhouse.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

MartinDelille avatar Aug 10 '21 10:08 MartinDelille

I patched the file so I have a local package working that I submitted to conan-center-index: https://github.com/conan-io/conan-center-index/pull/12816

MartinDelille avatar Sep 04 '22 12:09 MartinDelille

Bandit is now part of the conan center index: https://github.com/conan-io/conan-center-index/pull/12816

MartinDelille avatar Oct 15 '22 12:10 MartinDelille

Thank you for your work and your endless patience! I hope you will be maintaining the conan package in case of future updates of bandit.

sbeyer avatar Aug 05 '23 00:08 sbeyer