gpstime 0.8.2__py3-none-any.whl → 0.8.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
gpstime/__version__.py CHANGED
@@ -1,8 +1,13 @@
1
- # file generated by setuptools_scm
1
+ # file generated by setuptools-scm
2
2
  # don't change, don't track in version control
3
+
4
+ __all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]
5
+
3
6
  TYPE_CHECKING = False
4
7
  if TYPE_CHECKING:
5
- from typing import Tuple, Union
8
+ from typing import Tuple
9
+ from typing import Union
10
+
6
11
  VERSION_TUPLE = Tuple[Union[int, str], ...]
7
12
  else:
8
13
  VERSION_TUPLE = object
@@ -12,5 +17,5 @@ __version__: str
12
17
  __version_tuple__: VERSION_TUPLE
13
18
  version_tuple: VERSION_TUPLE
14
19
 
15
- __version__ = version = '0.8.2'
16
- __version_tuple__ = version_tuple = (0, 8, 2)
20
+ __version__ = version = '0.8.3'
21
+ __version_tuple__ = version_tuple = (0, 8, 3)
gpstime/leaps.py CHANGED
@@ -6,10 +6,11 @@ import warnings
6
6
  from tempfile import NamedTemporaryFile
7
7
  from functools import lru_cache
8
8
 
9
- import appdirs
10
-
11
-
12
- CACHE_DIR = appdirs.user_cache_dir('gpstime')
9
+ try:
10
+ from platformdirs import user_cache_dir
11
+ except ImportError:
12
+ from appdirs import user_cache_dir
13
+ CACHE_DIR = user_cache_dir('gpstime')
13
14
 
14
15
  LEAP_FILES = [
15
16
  '/usr/share/zoneinfo/leap-seconds.list',
@@ -1,26 +1,24 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: gpstime
3
- Version: 0.8.2
3
+ Version: 0.8.3
4
4
  Summary: GPS-aware datetime module
5
- Home-page: https://git.ligo.org/cds/gpstime
6
- Author: Jameson Graef Rollins
7
- Author-email: jameson.rollins@ligo.org
8
- License: GPL-3.0-or-later
5
+ Author-email: Jameson Graef Rollins <jameson.rollins@ligo.org>
6
+ License-Expression: GPL-3.0-or-later
7
+ Project-URL: Homepage, https://git.ligo.org/cds/software/gpstime
9
8
  Classifier: Development Status :: 5 - Production/Stable
10
- Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
11
9
  Classifier: Natural Language :: English
12
10
  Classifier: Operating System :: OS Independent
13
11
  Classifier: Programming Language :: Python
14
- Classifier: Programming Language :: Python :: 2.7
15
- Classifier: Programming Language :: Python :: 3.5
16
- Classifier: Programming Language :: Python :: 3.6
17
- Classifier: Programming Language :: Python :: 3.7
12
+ Classifier: Programming Language :: Python :: 3
13
+ Requires-Python: >=3.6
18
14
  Description-Content-Type: text/markdown
19
15
  License-File: COPYING
20
16
  License-File: COPYING-GPL-3
21
- Requires-Dist: appdirs
17
+ Requires-Dist: platformdirs; python_version >= "3.10"
18
+ Requires-Dist: appdirs; python_version < "3.10"
22
19
  Requires-Dist: python-dateutil
23
20
  Requires-Dist: requests
21
+ Dynamic: license-file
24
22
 
25
23
  GPS-aware datetime module
26
24
  =========================
@@ -0,0 +1,12 @@
1
+ gpstime/__init__.py,sha256=mvvNkbLXi2Ego2INs97qUZz4vmmuo5WZ55IlYiOhwIc,6950
2
+ gpstime/__main__.py,sha256=_sCWDDruEWZOrkorMeQkOwIVcWAOfzA5VSuTpuG3iNs,2628
3
+ gpstime/__version__.py,sha256=I_fzTO52A7X9h4fttULxySS6f_KgOl2rqyT1fEmwEGY,511
4
+ gpstime/leaps.py,sha256=zS_5B-p9NORCUsepI_p1htST7JNPkCHmKNqFHqzZ7_s,7925
5
+ gpstime/test.py,sha256=74rbEBOnQIEhE96VPiTZqekbwRoumeNqgj3rXHILGpw,7010
6
+ gpstime-0.8.3.data/scripts/gpstime,sha256=R2M1Xg02MAqpiPWxuOoSYr3S8zk7aPtfeHBmMG-1jMo,183
7
+ gpstime-0.8.3.dist-info/licenses/COPYING,sha256=kD3Y57xS042kgHR4KTOzNOiOHLxiOtxwe2gomX6l0cM,1724
8
+ gpstime-0.8.3.dist-info/licenses/COPYING-GPL-3,sha256=_ILKi2_bGNTj6Fz9irWNG80_Gymr54KJWr2R1kdj-Oc,35068
9
+ gpstime-0.8.3.dist-info/METADATA,sha256=vLPnSI5E0I0iU6MlhSodrgwMxAcEZAy4WukwcBvxFIw,1477
10
+ gpstime-0.8.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
11
+ gpstime-0.8.3.dist-info/top_level.txt,sha256=LJlZJoesrJMc-u-T2IuSXd6udNzp1TaVD6aJa5Zwj54,8
12
+ gpstime-0.8.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (70.3.0)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,12 +0,0 @@
1
- gpstime/__init__.py,sha256=mvvNkbLXi2Ego2INs97qUZz4vmmuo5WZ55IlYiOhwIc,6950
2
- gpstime/__main__.py,sha256=_sCWDDruEWZOrkorMeQkOwIVcWAOfzA5VSuTpuG3iNs,2628
3
- gpstime/__version__.py,sha256=t6tJJG56wlBKsg_0M1Q4l1ir09jgXRw1tolMbDalW9g,411
4
- gpstime/leaps.py,sha256=yc8rjaF8fqvrL1ytNffj2PbibyW-J0BPpmI7oOPJn4I,7842
5
- gpstime/test.py,sha256=74rbEBOnQIEhE96VPiTZqekbwRoumeNqgj3rXHILGpw,7010
6
- gpstime-0.8.2.data/scripts/gpstime,sha256=R2M1Xg02MAqpiPWxuOoSYr3S8zk7aPtfeHBmMG-1jMo,183
7
- gpstime-0.8.2.dist-info/COPYING,sha256=kD3Y57xS042kgHR4KTOzNOiOHLxiOtxwe2gomX6l0cM,1724
8
- gpstime-0.8.2.dist-info/COPYING-GPL-3,sha256=_ILKi2_bGNTj6Fz9irWNG80_Gymr54KJWr2R1kdj-Oc,35068
9
- gpstime-0.8.2.dist-info/METADATA,sha256=9gLonvhIzkqc5GRV98P9Q62fCiwLXwQbHGGdXXlAOfI,1566
10
- gpstime-0.8.2.dist-info/WHEEL,sha256=Z4pYXqR_rTB7OWNDYFOm1qRk0RX6GFP2o8LgvP453Hk,91
11
- gpstime-0.8.2.dist-info/top_level.txt,sha256=LJlZJoesrJMc-u-T2IuSXd6udNzp1TaVD6aJa5Zwj54,8
12
- gpstime-0.8.2.dist-info/RECORD,,