diff --git a/openphoto/__init__.py b/openphoto/__init__.py index b2523cf..07b07a1 100644 --- a/openphoto/__init__.py +++ b/openphoto/__init__.py @@ -4,6 +4,8 @@ import openphoto.api_photo import openphoto.api_tag import openphoto.api_album +__version__ = "0.3" + LATEST_API_VERSION = 2 class OpenPhoto(OpenPhotoHttp): diff --git a/setup.py b/setup.py index 309ed87..b978a24 100755 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ #!/usr/bin/env python +import openphoto requires = ['requests', 'requests_oauthlib'] @@ -15,7 +16,7 @@ except ImportError: 'requires': requires} setup(name='openphoto', - version='0.3', + version=openphoto.__version__, description='Python client library for Trovebox/Openphoto', author='Pete Burgers, James Walker', url='https://github.com/openphoto/openphoto-python',