Skip to content

Commit

Permalink
Heroku deploy patch
Browse files Browse the repository at this point in the history
Fixes #7.
  • Loading branch information
hbldh committed Feb 3, 2016
1 parent eecf9d8 commit 37c3f09
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions bankid/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@
# -*- coding: utf-8 -*-
"""Release data for the PyBankID project."""

from .client import BankIDClient
import bankid.exceptions as exceptions
from .testcert import create_bankid_test_server_cert_and_key
# A quick and dirty fix for installations on Heroku.
try:
from .client import BankIDClient
import bankid.exceptions as exceptions
from .testcert import create_bankid_test_server_cert_and_key

__all__ = ['BankIDClient', 'exceptions', 'create_bankid_test_server_cert_and_key', 'version']
__all__ = ['BankIDClient', 'exceptions', 'create_bankid_test_server_cert_and_key', 'version']
except ImportError:
pass

# Name of the package for release purposes. This is the name which labels
# the tarballs and RPMs made by distutils, so it's best to lowercase it.
Expand All @@ -17,9 +21,9 @@
# version.
_version_major = 0
_version_minor = 3
_version_patch = 0
_version_patch = 1
# _version_extra = 'dev4'
# _version_extra = 'a1'
#_version_extra = 'rc1'
_version_extra = '' # Uncomment this for full releases

# Construct full version string from these.
Expand Down

0 comments on commit 37c3f09

Please sign in to comment.