diff options
| author | Gauvain Pocentek <gauvain.pocentek@objectif-libre.com> | 2016-01-30 17:44:29 +0100 |
|---|---|---|
| committer | Gauvain Pocentek <gauvain.pocentek@objectif-libre.com> | 2016-01-30 17:44:29 +0100 |
| commit | 00ab7d00a553e68eea5668dbf455404925fef6e0 (patch) | |
| tree | d4b958d09c96efb62af3b87886966bd3e1928e1b /gitlab/__init__.py | |
| parent | 9f256a71aa070bf28c70b2242976fbb0bc758bc4 (diff) | |
| download | gitlab-00ab7d00a553e68eea5668dbf455404925fef6e0.tar.gz | |
Rework the __version__ import
This simplifies the setup.py script
Also provide a --version option for CLI
Diffstat (limited to 'gitlab/__init__.py')
| -rw-r--r-- | gitlab/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gitlab/__init__.py b/gitlab/__init__.py index 24d1882..018a18a 100644 --- a/gitlab/__init__.py +++ b/gitlab/__init__.py @@ -28,11 +28,12 @@ import requests import six import gitlab.config +import gitlab.version from gitlab.exceptions import * # noqa from gitlab.objects import * # noqa __title__ = 'python-gitlab' -__version__ = '0.11.1' +__version__ = gitlab.version.version __author__ = 'Gauvain Pocentek' __email__ = 'gauvain@pocentek.net' __license__ = 'LGPL3' |
