X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=setup.py;h=6fc6e5fe7206536f1811c31caa393ca5e1edacac;hb=528438be7459df1e9b4f84c72d729daff518647e;hp=3c12a8ac0a0bca16ca4512995438b404360f0753;hpb=7150522eeff61f10778c33e57d0549cc3e603609;p=m_lib.defenc.git diff --git a/setup.py b/setup.py index 3c12a8a..6fc6e5f 100755 --- a/setup.py +++ b/setup.py @@ -2,18 +2,23 @@ try: from setuptools import setup + is_setuptools = True except ImportError: from distutils.core import setup + is_setuptools = False + +kw = {} +if is_setuptools: + kw['python_requires'] = '>=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*' setup(name = "m_lib.defenc", version = "1.0.0", - description = "Broytman Library for Python", - long_description = "Broytman Library for Python, Copyright (C) 1996-2017 PhiloSoft Design", + description = "Get default encoding", + long_description = "Get default encoding. A part of Broytman Library for Python, Copyright (C) 1996-2017 PhiloSoft Design", author = "Oleg Broytman", author_email = "phd@phdru.name", url = "http://phdru.name/Software/Python/#m_lib", license = "GPL", - keywords=[''], classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', @@ -29,7 +34,8 @@ setup(name = "m_lib.defenc", 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules', ], - platforms = "All", + platforms = "Any", packages = ["m_lib"], namespace_packages = ["m_lib"], + **kw )