1

2# -*- coding: utf-8 -*-

3

4 u'''DEPRECATED classes, constants, functions, interns, methods, etc.

5

6 Kept and exported for backward compatibility, including deprecated modules

7 C{pygeodesy.bases}, C{pygeodesy.datum} and C{pygeodesy,nvector}, previously

8 inside the C{pygeodesy} package.

9

10 Use either C{from pygeodesy import bases} or C{from pygeodesy.deprecated import

11 bases}. Likewise for C{datum} and C{nvector}.

12'''

13

14 from pygeodesy.deprecated.classes import * # PYCHOK expected

15 from pygeodesy.deprecated.consterns import * # PYCHOK expected

16 from pygeodesy.deprecated.functions import * # PYCHOK expected

17 from pygeodesy.lazily import _ALL_LAZY, isLazy as _isLazy

18

19 if _isLazy: # XXX force import of all deprecated modules

20 import pygeodesy.deprecated.bases as bases, \

21 pygeodesy.deprecated.datum as datum, \

22 pygeodesy.deprecated.nvector as nvector # PYCHOK unused

23 # XXX instead, use module_property or enhance .lazily

24

25__all__ = _ALL_LAZY.deprecated

26__version__ = '23.09.12'

27

28# **) MIT License

29#

30# Copyright (C) 2018-2023 -- mrJean1 at Gmail -- All Rights Reserved.

31#

32# Permission is hereby granted, free of charge, to any person obtaining a

33# copy of this software and associated documentation files (the "Software"),

34# to deal in the Software without restriction, including without limitation

35# the rights to use, copy, modify, merge, publish, distribute, sublicense,

36# and/or sell copies of the Software, and to permit persons to whom the

37# Software is furnished to do so, subject to the following conditions:

38#

39# The above copyright notice and this permission notice shall be included

40# in all copies or substantial portions of the Software.

41#

42# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS

43# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,

44# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL

45# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR

46# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,

47# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR

48# OTHER DEALINGS IN THE SOFTWARE.