PyMISP/pyproject.toml

89 lines
2.7 KiB
TOML

[tool.poetry]
name = "pymisp"
version = "2.4.140"
description = "Python API for MISP."
authors = ["Raphaël Vinot <raphael.vinot@circl.lu>"]
license = "BSD-2-Clause"
repository = "https://github.com/MISP/PyMISP"
documentation = "http://pymisp.readthedocs.io"
readme = "README.md"
classifiers=[
'License :: OSI Approved :: BSD License',
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Operating System :: POSIX :: Linux',
'Intended Audience :: Science/Research',
'Intended Audience :: Telecommunications Industry',
'Intended Audience :: Information Technology',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Security',
'Topic :: Internet'
]
include = [
"CHANGELOG.txt",
"README.md",
"pymisp/data/*.json",
"pymisp/data/misp-objects/schema_objects.json",
"pymisp/data/misp-objects/schema_relationships.json",
"pymisp/data/misp-objects/objects/*/definition.json",
"pymisp/data/misp-objects/relationships/definition.json",
"pymisp/tools/pdf_fonts/Noto_TTF/*"
]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/MISP/PyMISP/issues"
"Source" = "https://github.com/MISP/PyMISP"
[tool.poetry.dependencies]
python = "^3.6"
requests = "^2.25.0"
python-dateutil = "^2.8.1"
jsonschema = "^3.2.0"
deprecated = "^1.2.10"
extract_msg = {version = "^0.28.0", optional = true}
RTFDE = {version = "^0.0.2", optional = true}
oletools = {version = "^0.56", optional = true}
python-magic = {version = "^0.4.18", optional = true}
pydeep = {version = "^0.4", optional = true}
lief = {version = "^0.11.2", optional = true}
beautifulsoup4 = {version = "^4.9.3", optional = true}
validators = {version = "^0.18.1", optional = true}
sphinx-autodoc-typehints = {version = "^1.11.1", optional = true}
recommonmark = {version = "^0.7.1", optional = true}
reportlab = {version = "^3.5.55", optional = true}
pyfaup = {version = "^1.2", optional = true}
urllib3 = {extras = ["brotli"], version = "^1.26.3", optional = true}
[tool.poetry.extras]
fileobjects = ['python-magic', 'pydeep', 'lief']
openioc = ['beautifulsoup4']
virustotal = ['validators']
docs = ['sphinx-autodoc-typehints', 'recommonmark']
pdfexport = ['reportlab']
url = ['pyfaup']
email = ['extract_msg', "RTFDE", "oletools"]
brotli = ['urllib3']
[tool.poetry.dev-dependencies]
nose = "^1.3.7"
coveralls = "^3.0.0"
codecov = "^2.1.10"
requests-mock = "^1.8.0"
mypy = "^0.790"
flake8 = "^3.8.4"
ipython = "^7.16.1"
jupyterlab = "^2.2.9"
# jedi 0.18.0 breaks ipython
jedi = "<0.18.0"
[build-system]
requires = ["poetry_core>=1.0", "setuptools"]
build-backend = "poetry.core.masonry.api"