| 1 |
# Copyright 2008-2011 Canonical Ltd. |
| 2 |
|
| 3 |
# This file is part of launchpadlib. |
| 4 |
# |
| 5 |
# launchpadlib is free software: you can redistribute it and/or modify it |
| 6 |
# under the terms of the GNU Lesser General Public License as published by the |
| 7 |
# Free Software Foundation, version 3 of the License. |
| 8 |
# |
| 9 |
# launchpadlib is distributed in the hope that it will be useful, but WITHOUT |
| 10 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 11 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License |
| 12 |
# for more details. |
| 13 |
# |
| 14 |
# You should have received a copy of the GNU Lesser General Public License |
| 15 |
# along with launchpadlib. If not, see <http://www.gnu.org/licenses/>. |
| 16 |
|
| 17 |
try: |
| 18 |
import importlib.metadata as importlib_metadata |
| 19 |
except ImportError: |
| 20 |
import importlib_metadata |
| 21 |
|
| 22 |
__version__ = importlib_metadata.version("launchpadlib") |