-m_lib.defenc requires Python 2.6 (that means pip >= 9, < 10), 2.7 or 3.4+.
+m_lib.defenc requires Python 2.7 or 3.4+.
Installation script setup.py requires setuptools.
pip install m_lib.defenc
- For Python 2.6 the command is easy_install.
-
Installation from sources:
To install the library from sources system-wide run run the following
-"""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__)
setup(
name = "m_lib.defenc",
- version = "1.1.0",
+ version = "1.1.0.post1",
description = "Get default encoding",
- long_description = "Get default encoding. A part of Broytman Library for Python, Copyright (C) 1996-2018 PhiloSoft Design",
+ long_description = "Get default encoding. A part of Broytman Library for Python, Copyright (C) 1996-2023 PhiloSoft Design",
long_description_content_type="text/plain",
author = "Oleg Broytman",
author_email = "phd@phdru.name",
'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',
'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.*',
)