from setuptools import setup, find_packages

entry_points = '''
[flow.commands]
submit-workflow = flow_workflow.commands.submit_workflow:SubmitWorkflowCommand
workflow_historian_service = flow.commands.service:ServiceCommand
'''

setup(
        name = 'flow_workflow',
        version = '0.1',
        packages = find_packages(exclude=['unit_tests']),
        entry_points = entry_points,
        data_files = [
            ('/usr/lib/perl5', ['perl/Flow.pm']),
        ],
        setup_requires = [
            'nose',
        ],
        install_requires = [
            'cx_Oracle',
            'sqlalchemy',
            'hiredis',
            'redis',
            'lxml',
        ],
        tests_require = [
            'coverage',
            'fakeredis',
            'mock',
            'nose',
        ],
        test_suite = 'unit_tests',
)

@@ -386,92 +386,8 @@
 ts,%0A
-        data_files = %5B%0A            ('/usr/lib/perl5', %5B'perl/Flow.pm'%5D),%0A        %5D,%0A
     

remove data_files in setup.py