#!/usr/bin/env python
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages

setup(
    name="ingest",
    version="4.1.3",
    author="Organized Crime and Corruption Reporting Project",
    packages=find_packages(exclude=["tests"]),
    package_dir={"ingestors": "ingestors"},
    include_package_data=True,
    install_requires=[],
    license="AGPLv3+",
    license_files=("LICENSE",),
    zip_safe=False,
    keywords="ingestors",
    test_suite="tests",
    tests_require=[],
    entry_points={
        "ingestors": [
            "ignore = ingestors.ignore:IgnoreIngestor",
            "html = ingestors.documents.html:HTMLIngestor",
            "xml = ingestors.documents.xml:XMLIngestor",
            "plain = ingestors.documents.plain:PlainTextIngestor",
            "office = ingestors.documents.office:DocumentIngestor",
            "opendoc = ingestors.documents.opendoc:OpenDocumentIngestor",
            "ooxml = ingestors.documents.ooxml:OfficeOpenXMLIngestor",
            "djvu = ingestors.documents.djvu:DjVuIngestor",
            "pdf = ingestors.documents.pdf:PDFIngestor",
            "rar = ingestors.packages.rar:RARIngestor",
            "zip = ingestors.packages.zip:ZipIngestor",
            "tar = ingestors.packages.tar:TarIngestor",
            "7z = ingestors.packages:SevenZipIngestor",
            "gz = ingestors.packages:GzipIngestor",
            "bz2 = ingestors.packages:BZ2Ingestor",
            "pst = ingestors.email.outlookpst:OutlookPSTIngestor",
            "olm = ingestors.email.olm:OutlookOLMArchiveIngestor",
            "opfmsg = ingestors.email.olm:OutlookOLMMessageIngestor",
            "olemsg = ingestors.email.outlookmsg:OutlookMsgIngestor",
            "msg = ingestors.email.msg:RFC822Ingestor",
            "emlx = ingestors.email.emlx:AppleEmlxIngestor",
            "vcard = ingestors.email.vcard:VCardIngestor",
            "calendar = ingestors.email.calendar:CalendarIngestor",
            "csv = ingestors.tabular.csv:CSVIngestor",
            "access = ingestors.tabular.access:AccessIngestor",
            "sqlite = ingestors.tabular.sqlite:SQLiteIngestor",
            "xls = ingestors.tabular.xls:ExcelIngestor",
            "xlsx = ingestors.tabular.xlsx:ExcelXMLIngestor",
            "ods = ingestors.tabular.ods:OpenOfficeSpreadsheetIngestor",
            "mbox = ingestors.email.mbox:MboxFileIngestor",
            "dbf = ingestors.tabular.dbf:DBFIngestor",
            "image = ingestors.media.image:ImageIngestor",
            "tiff = ingestors.media.tiff:TIFFIngestor",
            "svg = ingestors.media.svg:SVGIngestor",
            "audio = ingestors.media.audio:AudioIngestor",
            "video = ingestors.media.video:VideoIngestor",
            "json = ingestors.misc.jsonfile:JSONIngestor",
        ],
        "console_scripts": ["ingestors = ingestors.cli:cli"],
    },
    classifiers=[
        "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
    ],
)
