From f0b802024b0e30ad6ae04ecdfc9a6b23aad5ee56 Mon Sep 17 00:00:00 2001 From: Riccardo Mori Date: Tue, 9 Jan 2024 15:10:03 +0100 Subject: [PATCH] Use python-magic-bin on windows and bump to v0.2.0 --- pyproject.toml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c0285e3..eb0d351 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,9 +8,14 @@ description = "Python wrapper to manipulate bindiff files" authors = [{ name = "Robin David", email = "rdavid@quarkslab.com" }] license = { text = "Apache Software License (Apache License, Version 2)" } readme = { file = "README.md", content-type = "text/markdown" } -version = '0.1.8' +version = '0.2.0' requires-python = ">=3.9" -dependencies = ['python-magic', 'click', 'python-binexport>=0.2.0'] +dependencies = [ + "python-magic; os_name!='nt'", + "python-magic-bin; os_name=='nt'", + 'click', + 'python-binexport>=0.2.0', +] classifiers = [ 'Topic :: Security', 'Environment :: Console',