Store the openphoto-python version inside the package

This commit is contained in:
sneakypete81 2013-07-06 11:29:00 +01:00
parent e8e65f082b
commit 9fc9177742
2 changed files with 4 additions and 1 deletions

View file

@ -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',