From: Oleg Broytman Date: Wed, 5 Nov 2025 14:58:06 +0000 (+0300) Subject: Version 3.1.2: Python 3.14; pkgutil-style ns package; (C) 2025 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;p=m_lib.git Version 3.1.2: Python 3.14; pkgutil-style ns package; (C) 2025 --- diff --git a/README.txt b/README.txt index a35005e..7fdaa79 100644 --- a/README.txt +++ b/README.txt @@ -1,6 +1,6 @@ Broytman Library for Python. Author: Oleg Broytman . -Copyright (C) 1996-2023 PhiloSoft Design. +Copyright (C) 1996-2025 PhiloSoft Design. License: GPL. For installation instruction see INSTALL.txt. diff --git a/m_lib/__init__.py b/m_lib/__init__.py index e968439..91e881d 100644 --- a/m_lib/__init__.py +++ b/m_lib/__init__.py @@ -1,8 +1,6 @@ -"""Broytman Library for Python, Copyright (C) 1996-2023 PhiloSoft Design""" +"""Broytman Library for Python, Copyright (C) 1996-2025 PhiloSoft Design""" -from pkgutil import extend_path -import sys - -__path__ = extend_path(__path__, __name__) -if sys.version_info < (3, 7): +try: __import__('pkg_resources').declare_namespace(__name__) +except ImportError: + __path__ = __import__('pkgutil').extend_path(__path__, __name__) diff --git a/setup.py b/setup.py index 8f210ad..90d9c71 100755 --- a/setup.py +++ b/setup.py @@ -4,9 +4,9 @@ from setuptools import setup setup( name = "m_lib", - version = "3.1.1", + version = "3.1.2", description = "Broytman Library for Python", - long_description = "Broytman Library for Python, Copyright (C) 1996-2023 PhiloSoft Design", + long_description = "Broytman Library for Python, Copyright (C) 1996-2025 PhiloSoft Design", long_description_content_type="text/plain", author = "Oleg Broytman", author_email = "phd@phdru.name", @@ -35,6 +35,7 @@ setup( 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3.13', + 'Programming Language :: Python :: 3.14', 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules', ],