import glob
from setuptools import (setup, find_packages)

from qipipe import __version__

requires = ['pydicom', 'dcmstack', 'nipype', 'nose', 'traits']

def readme():
    with open("README.rst") as f:
        return f.read()

setup(
    name = 'qipipe',
    version = __version__,
    author = 'OHSU Knight Cancer Institute',
    author_email = 'loneyf@ohsu.edu',
    packages = find_packages(),
    data_files=[('config', glob.glob('conf/*.cfg'))],
    scripts = glob.glob('bin/*'),
    url = 'http://quip1.ohsu.edu/8080/qipipe',
    description = 'qipipe processes the OHSU QIN images.',
    long_description = readme(),
    classifiers = [
        'Development Status :: 5 - Production/Stable',
        'Topic :: Scientific/Engineering :: Bio-Informatics',
        'Environment :: Console',
        'Intended Audience :: Science/Research',
        'License :: Other/Proprietary License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
    ],
    install_requires = requires
)

@@ -96,16 +96,85 @@
 ires = %5B
+'httplib2', 'lxml', 'nipy', 'dipy', 'traits', 'nibabel',%0A            
 'pydicom
@@ -204,26 +204,16 @@
 , 'nose'
-, 'traits'
 %5D%0A%0Adef r

Add dependencies.