Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added __version__ attribute to arrow module

  • Loading branch information...
commit 5a638637425792ba7c507e7e42cb1b726733d15f 1 parent 0cd3bf4
@sametmax sametmax authored
Showing with 4 additions and 1 deletion.
  1. +1 −0  arrow/__init__.py
  2. +3 −1 setup.py
View
1  arrow/__init__.py
@@ -4,3 +4,4 @@
from .factory import ArrowFactory
from .api import get, now, utcnow
+__version__ = VERSION = '0.4.2'
View
4 setup.py
@@ -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',
Please sign in to comment.
Something went wrong with that request. Please try again.