source: TI01-discovery/branches/ingestAutomation-upgrade/setup.py @ 5297

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI01-discovery/branches/ingestAutomation-upgrade/setup.py@5297
Revision 5297, 1.1 KB checked in by cbyrom, 10 years ago (diff)

Add additional instructions for setting up ingester + improve the
setup script to include more dependencies.

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