Skip to content

Commit

Permalink
Merge pull request #11 from samstav/master
Browse files Browse the repository at this point in the history
fix setup, bump version
  • Loading branch information
stavxyz committed Aug 20, 2014
2 parents 39b5faa + a7a154e commit ee8e947
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion airbrake/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Client for sending python exceptions to airbrake.io
"""

__version__ = "1.1.2"
__version__ = "1.1.3"
__url__ = "https://github.com/airbrake/airbrake-python"
_notifier = {
'name': 'airbrake-python',
Expand Down
16 changes: 14 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
import re
import ast
from setuptools import setup, find_packages

from airbrake import __version__ as version
from airbrake import __url__ as url

_version_re = re.compile(r'__version__\s+=\s+(.*)')
_url_re = re.compile(r'__url__\s+=\s+(.*)')


with open('airbrake/__init__.py', 'rb') as f:
f = f.read()
version = str(ast.literal_eval(_version_re.search(
f.decode('utf-8')).group(1)))
url = str(ast.literal_eval(_url_re.search(
f.decode('utf-8')).group(1)))


dependencies = [
'requests>=2.2.1'
Expand Down

0 comments on commit ee8e947

Please sign in to comment.