# -*- mode: python; -*- 

APPNAME = 'lsst-instruments-keithley'
VERSION = '0.0.2'
top = '.'
build = 'build'

def options(ctx):
    ctx.load('python')        
    ctx.load('compiler_c')

def configure(ctx):
    ctx.load('python')
    ctx.load('compiler_c')
    ctx.check_python_headers()
    
def build(ctx):
    ctx(features = 'py', 
        # source = ctx.path.ant_glob('*.py'), 
        source = ['__init__.py', 
                  # 'keithley2000.py', 'keithley6514.py',
                  'keithley.py'], 
        install_path = '${PYTHONDIR}/lsst/instruments/keithley')

    ctx.install_as('${PREFIX}/bin/keithley-server', 
                   'keithley-server', 
                   chmod=0755)

    # ctx.recurse(submodules)


    
