From: Oleg Broytman Date: Wed, 5 Nov 2025 14:59:17 +0000 (+0300) Subject: Version 1.1.1: Python 3.14; pkgutil-style ns package; (C) 2025 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=3c6e519b3b78c26b817c07fd7efdf97e7b630abe;p=m_lib_defenc.git Version 1.1.1: Python 3.14; pkgutil-style ns package; (C) 2025 --- diff --git a/README.txt b/README.txt index 6c84a56..768f048 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. Content of the namespace package: 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 8b6428c..2dbd810 100755 --- a/setup.py +++ b/setup.py @@ -4,9 +4,9 @@ from setuptools import setup setup( name = "m_lib.defenc", - version = "1.1.0.post2", + version = "1.1.1", description = "Get default encoding", - long_description = "Get default encoding. A part of Broytman Library for Python, Copyright (C) 1996-2023 PhiloSoft Design", + long_description = "Get default encoding. A part of 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', ],