]> git.phdru.name Git - m_lib.defenc.git/blobdiff - setup.py
Build(setup.py): Use python_requires keyword
[m_lib.defenc.git] / setup.py
index e15eacbc179c60356e470cc19dab8077e16977a8..6fc6e5fe7206536f1811c31caa393ca5e1edacac 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -7,15 +7,18 @@ 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',
@@ -26,10 +29,13 @@ setup(name = "m_lib.defenc",
         'Programming Language :: Python :: 2.7',
         'Programming Language :: Python :: 3',
         'Programming Language :: Python :: 3.4',
+        'Programming Language :: Python :: 3.5',
+        'Programming Language :: Python :: 3.6',
         'Topic :: Software Development :: Libraries',
         'Topic :: Software Development :: Libraries :: Python Modules',
     ],
-    platforms = "All",
+    platforms = "Any",
     packages = ["m_lib"],
     namespace_packages = ["m_lib"],
+    **kw
 )