from distutils.core import setup
from pip.req import parse_requirements

install_reqs = parse_requirements('requirements.txt', session=False)
reqs = [str(ir.req) for ir in install_reqs]
dep_links = [str(req_line.url) for req_line in install_reqs]

setup(
    name='bb_pipeline',
    version='0.0.1',
    description='',
    entry_points={
        'console_scripts': [
            'bb_pipeline = pipeline.scripts.bb_pipeline:main',
            'bb_pipeline_batch = pipeline.scripts.bb_pipeline_batch:main',
        ]
    },
    install_requires=reqs,
    dependency_links=dep_links,
    extras_require={
        'ResultCrownVisualizer': ['cairocffi']
    },
    packages=[
        'pipeline',
        'pipeline.scripts',
        'pipeline.stages'
    ],
    package_data={
        '': ['pipeline/config.ini']
    }
)

@@ -774,16 +774,24 @@
        '
+pipeline
 ': %5B'pip

Add package name to config.ini in setup.py