forked from alephdata/aleph
-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
69 lines (68 loc) · 2.72 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
from setuptools import setup, find_packages
setup(
name='aleph',
version='1.1',
description="Document sifting web frontend",
long_description="",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
],
keywords='',
author='Friedrich Lindenberg',
author_email='[email protected]',
url='http://pudo.org',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'test']),
namespace_packages=[],
include_package_data=True,
zip_safe=False,
install_requires=[],
test_suite='nose.collector',
entry_points={
'aleph.ingestors': [
'skip = aleph.ingest.dummy:SkipIngestor',
'pdf = aleph.ingest.text:PDFIngestor',
'doc = aleph.ingest.document:DocumentIngestor',
'ppt = aleph.ingest.document:PresentationIngestor',
'html = aleph.ingest.html:HtmlIngestor',
'djvu = aleph.ingest.djvu:DjVuIngestor',
'img = aleph.ingest.image:ImageIngestor',
'email = aleph.ingest.email_:EmailFileIngestor',
'mbox = aleph.ingest.email_:MboxFileIngestor',
'msg = aleph.ingest.msg:OutlookMsgIngestor',
'cronos = aleph.ingest.cronos:CronosIngestor',
'pst = aleph.ingest.email_:OutlookIngestor',
'mdb = aleph.ingest.mdb:AccessIngestor',
'messy = aleph.ingest.tabular:MessyTablesIngestor',
'dbf = aleph.ingest.dbf:DBFIngestor',
'rar = aleph.ingest.packages:RARIngestor',
'zip = aleph.ingest.packages:ZipIngestor',
'tar = aleph.ingest.packages:TarIngestor',
'7z = aleph.ingest.packages:SevenZipIngestor',
'gz = aleph.ingest.packages:GzipIngestor',
'bz2 = aleph.ingest.packages:BZ2Ingestor'
],
'aleph.analyzers': [
'lang = aleph.analyze.language:LanguageAnalyzer',
'emails = aleph.analyze.regex:EMailAnalyzer',
'urls = aleph.analyze.regex:URLAnalyzer',
'phones = aleph.analyze.regex:PhoneNumberAnalyzer',
'regex = aleph.analyze.regex_entity:AhoCorasickEntityAnalyzer',
'polyglot = aleph.analyze.polyglot_entity:PolyglotEntityAnalyzer'
],
'aleph.crawlers': [
# 'stub = aleph.crawlers.stub:StubCrawler',
'opennames = aleph.crawlers.opennames:OpenNamesCrawler',
'sourceafrica = aleph.crawlers.documentcloud:SourceAfricaCrawler'
],
'aleph.init': [
],
'console_scripts': [
'aleph = aleph.manage:main',
]
},
tests_require=['coverage', 'nose']
)