Skip to content

Commit

Permalink
Added __version__ attribute to arrow module
Browse files Browse the repository at this point in the history
  • Loading branch information
sametmax committed Dec 3, 2013
1 parent 0cd3bf4 commit 5a63863
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions arrow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
from .factory import ArrowFactory
from .api import get, now, utcnow

__version__ = VERSION = '0.4.2'
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
except ImportError:
from distutils.core import setup

import arrow

setup(
name='arrow',
version='0.4.2',
version=arrow.__version__,
description='Better dates and times for Python',
url='http://crsmithdev.com/arrow',
author='Chris Smith',
Expand Down

0 comments on commit 5a63863

Please sign in to comment.