Skip to content

Commit

Permalink
Add python-magic dependency
Browse files Browse the repository at this point in the history
There is an ongoing debate on how to embed libmagic library in the pypi package. For windows we have to rely on python-magic-bin for the time being. See ahupp/python-magic#294
  • Loading branch information
patacca committed May 23, 2024
1 parent ea96502 commit d875024
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,15 @@ authors = [{ name = "Quarkslab", email = "[email protected]" }]
license = { text = "Apache Software License (Apache License, Version 2)" }
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.8"
dependencies = ["capstone>=4.0.2", "networkx>=2.4", "protobuf>=3.12.2"]
dependencies = [
"capstone>=4.0.2",
"networkx>=2.4",
"protobuf>=3.12.2",

# Wait for python-magic to solve/merge https://github.com/ahupp/python-magic/pull/294
"python-magic; os_name!='nt'",
"python-magic-bin; os_name=='nt'",
]
dynamic = ["version"]

[project.urls]
Expand Down

0 comments on commit d875024

Please sign in to comment.