#!/usr/bin/env python
'''
Created on 2011-02-08

@author: Alexander O'Neill - aloneill@gmail.com - http://twitter.com/alxp
'''
import os
from setuptools import setup, find_packages

# Utility function to read the README file.
# Used for the long_description.  It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

# Check minimum Python version
from sys import version
if version < '2.5.1':
    raise Exception("This module requires Python version 2.5.1 or higher to run.")

setup(name='fedora_batch_migrate',
      version='0.1',
      description='Fedora Batch Migrate',
      author='Alexander O''Neill',
      author_email='aoneill@upei.ca',
      url='http://islandora.ca/',
      long_description=read('README'),
      packages=find_packages('src'),
      package_dir = {'': 'src'},
      install_requires=['fcrepo'],
     )
