diff --git a/sparchive/setup.py b/sparchive/setup.py index d8dc83a108079280c95ddeb469d0c670dafbb660..ddf3e537401858473b6e8ea4c51b13fd9c5209d7 100644 --- a/sparchive/setup.py +++ b/sparchive/setup.py @@ -10,10 +10,11 @@ with open(os.path.join(here, 'CHANGES.txt')) as f: requires = [ "sh", + "luigi", ] setup(name='sparchive', - version='0.1', + version='0.2', description='Software for managing the archival process for SPARC instrument data on SSEC servers', long_description=README + '\n\n' + CHANGES, classifiers=[ diff --git a/sparchive/sparchive/luigi_tasks.py b/sparchive/sparchive/luigi_tasks.py new file mode 100644 index 0000000000000000000000000000000000000000..5d3aefdd52706f922306de2fe6d02dd3e620ce1b --- /dev/null +++ b/sparchive/sparchive/luigi_tasks.py @@ -0,0 +1,25 @@ +#!/usr/bin/env python +# encoding: utf-8 +"""This module is used to hold various tasks for completing SPARC related processing. + +As development continues this module may get split into more modules or task objects +may get placed next to the code that they use, but for now we keep it separate for +testing. +""" +__docformat__ = "restructuredtext en" + +import os +import sys +import logging +import luigi + +LOG = logging.getLogger(__name__) + + +def main(): + from argparse import ArgumentParser + parser = ArgumentParser() + args = parser.parse_known_args() + +if __name__ == "__main__": + sys.exit(main()) \ No newline at end of file