From 40d94856ac3318579b915753db9d689fbc6f3a74 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 14 Dec 2023 18:30:18 +0300 Subject: [PATCH] Release 1.0.1.post2 --- INSTALL.txt | 4 +--- README.txt | 2 +- m_lib/__init__.py | 7 +++++-- requirements.txt | 6 ++---- setup.py | 8 ++++---- 5 files changed, 13 insertions(+), 14 deletions(-) diff --git a/INSTALL.txt b/INSTALL.txt index 37b96b6..e07ff86 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -1,4 +1,4 @@ -m_lib.full requires Python 2.6 (that means pip >= 9, < 10), 2.7 or 3.4+. +m_lib.full requires Python 2.7 or 3.4+. Installation script setup.py requires setuptools. @@ -16,8 +16,6 @@ Installation using pip: pip install m_lib.full - For Python 2.6 the command is easy_install. - Installation from sources: To install the library from sources system-wide run run the following diff --git a/README.txt b/README.txt index 38b090b..71b4a25 100644 --- a/README.txt +++ b/README.txt @@ -1,6 +1,6 @@ Broytman Library for Python. Author: Oleg Broytman . -Copyright (C) 1996-2018 PhiloSoft Design. +Copyright (C) 1996-2023 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 943eda8..e968439 100644 --- a/m_lib/__init__.py +++ b/m_lib/__init__.py @@ -1,5 +1,8 @@ -"""Broytman Library for Python, Copyright (C) 1996-2018 PhiloSoft Design""" +"""Broytman Library for Python, Copyright (C) 1996-2023 PhiloSoft Design""" from pkgutil import extend_path +import sys + __path__ = extend_path(__path__, __name__) -__import__('pkg_resources').declare_namespace(__name__) +if sys.version_info < (3, 7): + __import__('pkg_resources').declare_namespace(__name__) diff --git a/requirements.txt b/requirements.txt index d9de3b6..252eb0a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,2 @@ ---install-option=-O2 - -m_lib -m_lib.defenc +m_lib >= 3.1.0.post2 +m_lib.defenc >= 1.1.0.post1 diff --git a/setup.py b/setup.py index 19c5808..1c21cfd 100755 --- a/setup.py +++ b/setup.py @@ -4,9 +4,9 @@ from setuptools import setup setup( name = "m_lib.full", - version = "1.0.1.post1", + version = "1.0.1.post2", description = "m_lib full meta-package", - long_description = "Broytman Library for Python, Copyright (C) 1996-2018 PhiloSoft Design", + long_description = "Broytman Library for Python, Copyright (C) 1996-2023 PhiloSoft Design", long_description_content_type="text/plain", author = "Oleg Broytman", author_email = "phd@phdru.name", @@ -23,7 +23,6 @@ setup( 'License :: OSI Approved :: GNU General Public License (GPL)', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', @@ -34,12 +33,13 @@ setup( 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules', ], platforms = "Any", packages = ["m_lib"], namespace_packages = ["m_lib"], - python_requires='>=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', + python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', install_requires=['m_lib>=3.1.0.post1', 'm_lib.defenc>=1.1'], ) -- 2.39.2