From 5fc5c0f882af0288bdcea252b96255db75743ce5 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 25 Feb 2020 23:07:14 +0300 Subject: [PATCH 1/5] Docs: Install using `pip install` --- README.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.txt b/README.txt index b736eeb..38b090b 100644 --- a/README.txt +++ b/README.txt @@ -5,3 +5,7 @@ License: GPL. This a full namespace meta-package that installs all parts of m_lib library (currently m_lib and m_lib.defenc). + +:: + + pip install m_lib.full -- 2.39.2 From ed3f26272fc1a143dcaed6ff9198b5d87bc2a0c0 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 21 Sep 2022 11:02:42 +0300 Subject: [PATCH 2/5] Build(devscripts/release): Disable progress bar for `twine` [skip ci] --- devscripts/release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devscripts/release b/devscripts/release index c5753b2..d94c27f 100755 --- a/devscripts/release +++ b/devscripts/release @@ -12,5 +12,5 @@ python setup.py sdist && find build -name '*.py[co]' -delete && python setup.py bdist_wheel --universal && -twine upload --skip-existing dist/* && +twine upload --disable-progress-bar --skip-existing dist/* && exec rm -rf build dist m_lib.full.egg-info -- 2.39.2 From fc14b1e552c81d5cc9b048c06900525cbf35b504 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 10 Aug 2023 17:27:27 +0300 Subject: [PATCH 3/5] Release 1.0.1.post1: Updated for Python 3.11 --- setup.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 7ce033d..19c5808 100755 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup setup( name = "m_lib.full", - version = "1.0.1", + version = "1.0.1.post1", description = "m_lib full meta-package", long_description = "Broytman Library for Python, Copyright (C) 1996-2018 PhiloSoft Design", long_description_content_type="text/plain", @@ -30,6 +30,10 @@ setup( 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules', ], @@ -37,5 +41,5 @@ setup( packages = ["m_lib"], namespace_packages = ["m_lib"], python_requires='>=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', - install_requires=['m_lib>=3.1', 'm_lib.defenc>=1.0'], + install_requires=['m_lib>=3.1.0.post1', 'm_lib.defenc>=1.1'], ) -- 2.39.2 From 40d94856ac3318579b915753db9d689fbc6f3a74 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 14 Dec 2023 18:30:18 +0300 Subject: [PATCH 4/5] 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 From 1cf94f33d665f2ed89f040eda40ffb2812dab6bf Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 14 Dec 2023 18:31:58 +0300 Subject: [PATCH 5/5] Build: Remove duplicate `requirements.txt` --- devscripts/requirements/requirements.txt | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 devscripts/requirements/requirements.txt diff --git a/devscripts/requirements/requirements.txt b/devscripts/requirements/requirements.txt deleted file mode 100644 index 731a639..0000000 --- a/devscripts/requirements/requirements.txt +++ /dev/null @@ -1,4 +0,0 @@ ---install-option=-O2 - -m_lib>=3.1 -m_lib.defenc>=1.0 -- 2.39.2