mirror of https://github.com/CIRCL/lookyloo
chg: Make extra PyMISP deps optional
parent
fa5b5d6b09
commit
ba7c0f4f2e
|
@ -23,6 +23,7 @@ jobs:
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
sudo apt install libfuzzy-dev
|
||||||
python -m pip install --upgrade pip poetry
|
python -m pip install --upgrade pip poetry
|
||||||
poetry install
|
poetry install
|
||||||
|
|
||||||
|
|
|
@ -666,7 +666,7 @@ name = "pydeep"
|
||||||
version = "0.4"
|
version = "0.4"
|
||||||
description = "Python bindings for ssdeep"
|
description = "Python bindings for ssdeep"
|
||||||
category = "main"
|
category = "main"
|
||||||
optional = false
|
optional = true
|
||||||
python-versions = "*"
|
python-versions = "*"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -826,7 +826,7 @@ name = "python-magic"
|
||||||
version = "0.4.18"
|
version = "0.4.18"
|
||||||
description = "File type identification using libmagic"
|
description = "File type identification using libmagic"
|
||||||
category = "main"
|
category = "main"
|
||||||
optional = false
|
optional = true
|
||||||
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
|
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -1121,10 +1121,13 @@ docs = ["sphinx", "repoze.sphinx.autointerface"]
|
||||||
test = ["coverage (>=5.0.3)", "zope.event", "zope.testing"]
|
test = ["coverage (>=5.0.3)", "zope.event", "zope.testing"]
|
||||||
testing = ["coverage (>=5.0.3)", "zope.event", "zope.testing"]
|
testing = ["coverage (>=5.0.3)", "zope.event", "zope.testing"]
|
||||||
|
|
||||||
|
[extras]
|
||||||
|
misp = ["python-magic", "pydeep"]
|
||||||
|
|
||||||
[metadata]
|
[metadata]
|
||||||
lock-version = "1.1"
|
lock-version = "1.1"
|
||||||
python-versions = "^3.7"
|
python-versions = "^3.7"
|
||||||
content-hash = "902abf61d8df9e9ebec1f03c7857afac9d8f4b696be3fad1637ace864250be5e"
|
content-hash = "bd69eeeb9e624116448b67542215105ea09782d51240ec7ba4769adf77cdc521"
|
||||||
|
|
||||||
[metadata.files]
|
[metadata.files]
|
||||||
aiohttp = [
|
aiohttp = [
|
||||||
|
|
|
@ -51,8 +51,12 @@ pylookyloo = "^1.2"
|
||||||
dnspython = "^2.0.0"
|
dnspython = "^2.0.0"
|
||||||
pytaxonomies = "^1.3"
|
pytaxonomies = "^1.3"
|
||||||
pymisp = {version = "^2.4.135", extras = ["url"]}
|
pymisp = {version = "^2.4.135", extras = ["url"]}
|
||||||
pydeep = "^0.4"
|
python-magic = {version = "^0.4.18", optional = true}
|
||||||
python-magic = "^0.4.18"
|
# pydeep requires libfuzzy-dev, and is only used in the MISP export module
|
||||||
|
pydeep = {version = "^0.4", optional = true}
|
||||||
|
|
||||||
|
[tool.poetry.extras]
|
||||||
|
misp = ['python-magic', 'pydeep']
|
||||||
|
|
||||||
[tool.poetry.dev-dependencies]
|
[tool.poetry.dev-dependencies]
|
||||||
mypy = "^0.790"
|
mypy = "^0.790"
|
||||||
|
|
Loading…
Reference in New Issue