From 47dc28c8bda0141b1caa88103c26f0add2591659 Mon Sep 17 00:00:00 2001 From: Alexey Pechnikov Date: Thu, 25 Jan 2024 23:17:58 +0700 Subject: [PATCH] Provide Python package version as pygmtsar.__version__. Increase minimal required Python version to 3.10. --- pygmtsar/pygmtsar/__init__.py | 2 ++ pygmtsar/setup.py | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pygmtsar/pygmtsar/__init__.py b/pygmtsar/pygmtsar/__init__.py index bed1cc18..87b8ee30 100644 --- a/pygmtsar/pygmtsar/__init__.py +++ b/pygmtsar/pygmtsar/__init__.py @@ -22,3 +22,5 @@ from .ASF import ASF # XYZ tiles downloading from .XYZTiles import XYZTiles + +__version__ = '2024.1.21.post5' diff --git a/pygmtsar/setup.py b/pygmtsar/setup.py index 8f2cbc6b..33f93e9c 100644 --- a/pygmtsar/setup.py +++ b/pygmtsar/setup.py @@ -11,6 +11,7 @@ from setuptools import setup import urllib.request +from pygmtsar import __version__ # read the contents of your README file #from pathlib import Path @@ -23,7 +24,7 @@ setup( name='pygmtsar', - version='2024.1.21.post3', + version=__version__, description='PyGMTSAR (Python GMTSAR) - Easy and Fast Satellite Interferometry For Everyone', long_description=long_description, long_description_content_type='text/markdown', @@ -73,5 +74,5 @@ 'Programming Language :: Python', 'Programming Language :: Python :: 3.8' ], - python_requires='>=3.8' + python_requires='>=3.10' )