1

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

3

4 u'''DEPRECATED constants and interns kept for backward compatibility.

5'''

6

7 from pygeodesy.constants import EPS_2, MANT_DIG, _1_0

8 from pygeodesy.lazily import _ALL_DEPRECATED

9 from pygeodesy.units import Float, Int, Str

10

11__all__ = _ALL_DEPRECATED.deprecated_consterns

12__version__ = '23.11.24'

13

14

15 class _Deprecated_Float(Float):

16 '''DEPRECATED on 2023.09.12, don't use.'''

17 pass

18

19

20 class _Deprecated_Int(Int):

21 '''DEPRECATED on 2023.09.12, don't use.'''

22 pass

23

24

25 class _Deprecated_Str(Str):

26 '''DEPRECATED on 2023.09.12, don't use.'''

27 pass

28

29

30 EPS1_2 = _Deprecated_Float(EPS1_2=_1_0 - EPS_2)

31 MANTIS = _Deprecated_Int(MANTIS=MANT_DIG)

32 OK = _Deprecated_Str(OK='OK')

33

34# **) MIT License

35#

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

37#

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

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

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

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

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

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

44#

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

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

47#

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

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

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

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

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

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

54# OTHER DEALINGS IN THE SOFTWARE.