Ignore:
Timestamp:
18/05/09 10:10:41 (10 years ago)
Author:
cbyrom
Message:

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

Location:
TI01-discovery/branches/ingestAutomation-upgrade
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery/branches/ingestAutomation-upgrade/OAIBatch/README.txt

    r5218 r5297  
    1212scripts is provided below - together with their shared functionality - which effectively 
    1313is the point from which a newly harvested document has been discovered. 
     14 
     15Install 
     16----------- 
     17 
     18The various datacentre config files used by the scripts are loaded directly from 
     19the python package, as a package resource; as a result of this, the OAIBatch package 
     20needs to be installed into the running python site-packages library before the 
     21scripts will work - i.e. run python setup.py install in the top level directory. 
     22 
     23NB, this change was made to allow the scripts to be used by other packages - in particular 
     24the OAIInfoEditor. 
    1425 
    1526oai_document_ingester 
  • TI01-discovery/branches/ingestAutomation-upgrade/OAIBatch/abstractdocumentingester.py

    r5252 r5297  
    160160                datacentre_config_filename = 'datacentre_config/' + datacentre + "_config.properties" 
    161161                logging.info("Retrieving data from datacentre config file, " + datacentre_config_filename) 
     162                 
    162163                file = pkg_resources.resource_string('OAIBatch', datacentre_config_filename) 
    163164 
  • TI01-discovery/branches/ingestAutomation-upgrade/setup.py

    r4027 r5297  
    1010        version='0.1.0', 
    1111        packages=find_packages(), 
     12                install_requires=[  
     13                                          "ndgCommon", 
     14                                          "pygresql" 
     15                                          ], 
    1216        author = 'Calum Byrom', 
     17                include_package_data=True, 
    1318        author_email="calum.byrom@tessella.com", 
    1419        license = 'LGPL', 
Note: See TracChangeset for help on using the changeset viewer.