Store the openphoto-python version inside the package
This commit is contained in:
parent
e8e65f082b
commit
9fc9177742
2 changed files with 4 additions and 1 deletions
|
@ -4,6 +4,8 @@ import openphoto.api_photo
|
||||||
import openphoto.api_tag
|
import openphoto.api_tag
|
||||||
import openphoto.api_album
|
import openphoto.api_album
|
||||||
|
|
||||||
|
__version__ = "0.3"
|
||||||
|
|
||||||
LATEST_API_VERSION = 2
|
LATEST_API_VERSION = 2
|
||||||
|
|
||||||
class OpenPhoto(OpenPhotoHttp):
|
class OpenPhoto(OpenPhotoHttp):
|
||||||
|
|
3
setup.py
3
setup.py
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
import openphoto
|
||||||
|
|
||||||
requires = ['requests', 'requests_oauthlib']
|
requires = ['requests', 'requests_oauthlib']
|
||||||
|
|
||||||
|
@ -15,7 +16,7 @@ except ImportError:
|
||||||
'requires': requires}
|
'requires': requires}
|
||||||
|
|
||||||
setup(name='openphoto',
|
setup(name='openphoto',
|
||||||
version='0.3',
|
version=openphoto.__version__,
|
||||||
description='Python client library for Trovebox/Openphoto',
|
description='Python client library for Trovebox/Openphoto',
|
||||||
author='Pete Burgers, James Walker',
|
author='Pete Burgers, James Walker',
|
||||||
url='https://github.com/openphoto/openphoto-python',
|
url='https://github.com/openphoto/openphoto-python',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue