mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-05-20 02:45:24 +00:00
use publicsuffix2
This commit is contained in:
@@ -9,7 +9,14 @@ python:
|
||||
|
||||
# commands to install dependencies
|
||||
before_install:
|
||||
- "sudo apt-get install -y apt-transport-https"
|
||||
- "wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -"
|
||||
- 'echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-6.x.list'
|
||||
- "sudo apt-get update"
|
||||
- "sudo apt-get install -y default-jre-headless elasticsearch"
|
||||
- "sudo systemctl daemon-reload"
|
||||
- "sudo systemctl enable elasticsearch.service"
|
||||
- "sudo service elastsearch start"
|
||||
- "sudo apt-get install -y libemail-outlook-message-perl"
|
||||
|
||||
install:
|
||||
@@ -23,5 +30,7 @@ script:
|
||||
- "make html"
|
||||
- "cd .."
|
||||
- "python tests.py"
|
||||
- "parsedmarc --save-aggregate samples/aggregate/*"
|
||||
- "parsedmarc --save-forensic samples/forensic/*"
|
||||
- "python setup.py sdist"
|
||||
- "python setup.py bdist_wheel"
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
5.0.1
|
||||
-----
|
||||
|
||||
- Use `publixsuffix2` (closes issue #4)
|
||||
- Add Elasticsearch to automated testing
|
||||
|
||||
|
||||
5.0.0
|
||||
-----
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ from parsedmarc.utils import is_outlook_msg, convert_outlook_msg
|
||||
from parsedmarc.utils import timestamp_to_human, human_timestamp_to_datetime
|
||||
from parsedmarc.utils import parse_email
|
||||
|
||||
__version__ = "5.0.0"
|
||||
__version__ = "5.0.1"
|
||||
|
||||
logger = logging.getLogger("parsedmarc")
|
||||
logger.debug("parsedmarc v{0}".format(__version__))
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ dnspython
|
||||
expiringdict
|
||||
urllib3<1.24,>=1.21.1
|
||||
requests
|
||||
publicsuffix
|
||||
publicsuffix2
|
||||
xmltodict
|
||||
geoip2
|
||||
dnspython
|
||||
|
||||
@@ -14,7 +14,7 @@ from setuptools import setup
|
||||
from codecs import open
|
||||
from os import path
|
||||
|
||||
__version__ = "5.0.0"
|
||||
__version__ = "5.0.1"
|
||||
|
||||
description = "A Python package and CLI for parsing aggregate and " \
|
||||
"forensic DMARC reports"
|
||||
@@ -92,9 +92,9 @@ setup(
|
||||
# your project is installed. For an analysis of "install_requires" vs pip's
|
||||
# requirements files see:
|
||||
# https://packaging.python.org/en/latest/requirements.html
|
||||
install_requires=['dnspython', 'expiringdict', 'publicsuffix', 'xmltodict',
|
||||
'geoip2', 'urllib3<1.24,>=1.21.1', 'requests',
|
||||
'imapclient', 'mail-parser', 'dateparser',
|
||||
install_requires=['dnspython', 'expiringdict', 'publicsuffix2',
|
||||
'xmltodict', 'geoip2', 'urllib3<1.24,>=1.21.1',
|
||||
'requests', 'imapclient', 'mail-parser', 'dateparser',
|
||||
'elasticsearch>=6.3.0,<7.0.0',
|
||||
'elasticsearch-dsl>=6.2.1,<7.0.0', 'kafka-python'
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user