mirror of https://github.com/MISP/PyMISP
commit
7d7343ec45
|
@ -17,19 +17,14 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
|
||||||
- name: Set up Python ${{matrix.python-version}}
|
- name: Set up Python ${{matrix.python-version}}
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: ${{matrix.python-version}}
|
python-version: ${{matrix.python-version}}
|
||||||
|
|
||||||
- name: Initialize submodules
|
|
||||||
run: git submodule update --init --recursive
|
|
||||||
|
|
||||||
- name: Install system dependencies
|
|
||||||
run: |
|
|
||||||
sudo apt install libfuzzy-dev libemail-outlook-message-perl libemail-address-perl
|
|
||||||
|
|
||||||
- name: Install Python dependencies
|
- name: Install Python dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip poetry
|
python -m pip install --upgrade pip poetry
|
||||||
|
|
|
@ -24,14 +24,14 @@ pip3 install pymisp
|
||||||
```
|
```
|
||||||
|
|
||||||
And there are a few optional dependencies:
|
And there are a few optional dependencies:
|
||||||
* fileobjects: to create PE/ELF/Mach-o objects. **Important**: it will install pydeep, which require the system package `libfuzzy-dev`
|
* fileobjects: to create PE/ELF/Mach-o objects
|
||||||
* openioc: to import files in OpenIOC format (not really maintained).
|
* openioc: to import files in OpenIOC format (not really maintained)
|
||||||
* virustotal: to query VirusTotal and generate the appropriate objects
|
* virustotal: to query VirusTotal and generate the appropriate objects
|
||||||
* docs: to generate te documentation
|
* docs: to generate te documentation
|
||||||
* pdfexport: to generate PDF reports out of MISP events
|
* pdfexport: to generate PDF reports out of MISP events
|
||||||
* url: to generate URL objects out of URLs with Pyfaup
|
* url: to generate URL objects out of URLs with Pyfaup
|
||||||
* email: to generate MISP Email objects
|
* email: to generate MISP Email objects
|
||||||
* brotli: to use the brotli when interacting with a MISP instance
|
* brotli: to use the brotli compression when interacting with a MISP instance
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ description = "Python API for MISP."
|
||||||
authors = ["Raphaël Vinot <raphael.vinot@circl.lu>"]
|
authors = ["Raphaël Vinot <raphael.vinot@circl.lu>"]
|
||||||
license = "BSD-2-Clause"
|
license = "BSD-2-Clause"
|
||||||
repository = "https://github.com/MISP/PyMISP"
|
repository = "https://github.com/MISP/PyMISP"
|
||||||
documentation = "http://pymisp.readthedocs.io"
|
documentation = "https://pymisp.readthedocs.io"
|
||||||
|
|
||||||
|
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
@ -61,7 +61,6 @@ pyfaup = {version = "^1.2", optional = true}
|
||||||
chardet = {version = "^4.0", optional = true}
|
chardet = {version = "^4.0", optional = true}
|
||||||
urllib3 = {extras = ["brotli"], version = "^1.26.7", optional = true}
|
urllib3 = {extras = ["brotli"], version = "^1.26.7", optional = true}
|
||||||
|
|
||||||
|
|
||||||
[tool.poetry.extras]
|
[tool.poetry.extras]
|
||||||
fileobjects = ['python-magic', 'pydeep2', 'lief']
|
fileobjects = ['python-magic', 'pydeep2', 'lief']
|
||||||
openioc = ['beautifulsoup4']
|
openioc = ['beautifulsoup4']
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -18,7 +18,7 @@ setup(
|
||||||
maintainer='Raphaël Vinot',
|
maintainer='Raphaël Vinot',
|
||||||
url='https://github.com/MISP/PyMISP',
|
url='https://github.com/MISP/PyMISP',
|
||||||
project_urls={
|
project_urls={
|
||||||
'Documentation': 'http://pymisp.readthedocs.io',
|
'Documentation': 'https://pymisp.readthedocs.io',
|
||||||
'Source': 'https://github.com/MISP/PyMISP',
|
'Source': 'https://github.com/MISP/PyMISP',
|
||||||
'Tracker': 'https://github.com/MISP/PyMISP/issues',
|
'Tracker': 'https://github.com/MISP/PyMISP/issues',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue