# -*- coding: utf-8 -*-

from setuptools import setup, find_packages

setup(
    name='bankbarcode',
    version='0.1.1',
    packages=find_packages(),
    url='https://github.com/gisce/bankbarcode',
    license='GNU Affero General Public License v3',
    author='GISCE-TI, S.L.',
    author_email='devel@gisce.net',
    # We need python-barcode v0.8, to have Code128 (EAN128), not released yet
    # https://bitbucket.org/whitie/python-barcode/issues/16/pypi-08-release-request
    dependency_links=[
        "https://bitbucket.org/whitie/python-barcode/get/6c22b96a2ca2.zip"
    ],
    install_requires=[
        'pybarcode>=0.8b1'
    ],
    description='barcodes for financial documents'
)

# -*- coding: utf-8 -*-

from setuptools import setup, find_packages


setup(
    name='bankbarcode',
    version='0.1.1',
    packages=find_packages(),
    url='https://github.com/gisce/bankbarcode',
    license='GNU Affero General Public License v3',
    author='GISCE-TI, S.L.',
    author_email='devel@gisce.net',
    # We need python-barcode v0.8, to have Code128 (EAN128), not released yet
    # https://bitbucket.org/whitie/python-barcode/issues/16/pypi-08-release-request
    dependency_links=[
        "https://bitbucket.org/whitie/python-barcode/get/6c22b96.zip#egg=pybarcode-0.8b1"
    ],
    install_requires=[
        'pybarcode>=0.8b1'
    ],
    description='barcodes for financial documents'
)

Use egg attribute of the links
Use egg attribute of the links

To correct install it you must do:
$ python setup.py install
or
$ pip install --process-dependency-links bankbarcode
