source: TI01-discovery/branches/ingestAutomation-upgrade/ @ 4027

Subversion URL:
Revision 4027, 1004 bytes checked in by cbyrom, 12 years ago (diff)

Add setup script for oai ingester + remove dependencies in this project
on local ndgUtils and csml project files - and remove these from this
codebase, subsequently.

2OAI Document ingest command line tool + supporting code library.
4@author: Calum Byrom, Tessella, Jun 2008
6from setuptools import setup, find_packages
9                name='oai_document_ingester',
10        version='0.1.0',
11        packages=find_packages(),
12        author = 'Calum Byrom',
13        author_email="",
14        license = 'LGPL',
15        description = 'Command line tool for ingesting OAI harvested documents into the discovery postgres DB',
16            long_description='''
17            The oai_document_ingester script retrieves documents from the OAI harvested directories and ingests them
18            into the discovery postgres DB.  As part of this process, the doc is transformed into its moles version
19            - this is then used to: a) extract the spatiotemporal, authors and keywords info and add this to the DB for
20            searching on; and b) create and store the doc in all the required other formats, using the various XPATH transforms
21            (excuted using the saxon java lib).
22 '''
Note: See TracBrowser for help on using the repository browser.