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

index a35005ea3604863c3191d305736a53d819ce782a..7fdaa79342b5e9194b65dea17eee19bf8064f472 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.
 
 For installation instruction see INSTALL.txt.
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 8f210ad7bbfdca061d49e0c6b6dab3526b8c9f8a..90d9c711d0f3e047cf6a117cae7ef5c4974834ba 100755 (executable)
--- 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',
     ],