]> git.phdru.name Git - m_lib_defenc.git/commitdiff
Version 1.1.1: Python 3.14; pkgutil-style ns package; (C) 2025
authorOleg Broytman <phd@phdru.name>
Wed, 5 Nov 2025 14:59:17 +0000 (17:59 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 5 Nov 2025 15:13:13 +0000 (18:13 +0300)
README.txt
m_lib/__init__.py
setup.py

index 6c84a560e0ad24c2c43a488e831213c22135eb69..768f0485762e407ee56660e2cac1c66e8039981f 100644 (file)
@@ -1,6 +1,6 @@
 Broytman Library for Python.
 Author: Oleg Broytman <phd@phdru.name>.
-Copyright (C) 1996-2023 PhiloSoft Design.
+Copyright (C) 1996-2025 PhiloSoft Design.
 License: GPL.
 
 Content of the namespace package:
index e96843970f2e0f43897ef9c041f7373d7f04bdd4..91e881dc25309d62bc4a9925776f333ea26a3fad 100644 (file)
@@ -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__)
index 8b6428cbc18fc56b5b95827d675861b4fd7975ff..2dbd8108d56672fbe3ee789df06283ed31044038 100755 (executable)
--- 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',
     ],