From: Oleg Broytman Date: Wed, 5 Nov 2025 14:59:45 +0000 (+0300) Subject: Version 1.0.2: Python 3.14; pkgutil-style ns package; (C) 2025 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=28669d6df29e158a3eb7c61a8aceb68d2751a69d;p=m_lib_full.git Version 1.0.2: Python 3.14; pkgutil-style ns package; (C) 2025 --- diff --git a/README.txt b/README.txt index 71b4a25..5424f06 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. This a full namespace meta-package that installs all parts of m_lib library 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 e9a0de0..3a61ecd 100755 --- a/setup.py +++ b/setup.py @@ -4,9 +4,9 @@ from setuptools import setup setup( name = "m_lib.full", - version = "1.0.1.post3", + version = "1.0.2", description = "m_lib full meta-package", - 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', ],