Skip to content

Commit

Permalink
Fix Issue testing-cabal#2 -- added __version__ string
Browse files Browse the repository at this point in the history
Added __version__ string that is PEP 396 compliant.
  • Loading branch information
ddriddle committed May 6, 2015
1 parent 37c5f15 commit d3f37cc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[metadata]
name = traceback2
version = 1.0.0
summary = Backports of the traceback module
description-file =
README.rst
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import setuptools
import traceback2

setuptools.setup(
version=traceback2.__version__,
setup_requires=['pbr'],
pbr=True)

2 changes: 2 additions & 0 deletions traceback2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
'print_last', 'print_stack', 'print_tb',
'clear_frames']

__version__ = '1.4.0'

#
# Formatting and printing lists of traceback lines.
#
Expand Down

0 comments on commit d3f37cc

Please sign in to comment.