#!/usr/bin/env python from distutils.core import setup from glob import glob import anxvalidator PACKAGE = 'AnnodexValidator' VERSION = str(anxvalidator.__version__) URL = anxvalidator.__url__ LICENSE = anxvalidator.__license__ htdocs_dir = 'share/annodex-validator/htdocs' setup (name = 'AnnodexValidator', version = VERSION, description = 'Annodex media validation service', author = 'Conrad Parker', author_email = 'conrad@annodex.net', license = LICENSE, url = URL, packages = ['anxvalidator'], scripts = ['scripts/annodex-validate'], data_files = [('lib/cgi-bin', ['cgi-bin/annodex-validator.cgi']), (htdocs_dir + '/images', glob('htdocs/images/*')), (htdocs_dir + '/stylesheets', glob('htdocs/stylesheets/*')) ], )