X-Git-Url: https://git.phdru.name/?p=m_lib.full.git;a=blobdiff_plain;f=setup.py;h=52bbd503a1d3590bee44a9862f780e9eb070cde8;hp=05c1be26a5905ce97ef9b9d477f5cb37e8a1661f;hb=90ec1c0a64cf391f882355d3bd24457126bc2314;hpb=d06f6ecefc6627a62ee90a4da4a3f0748ca50aeb diff --git a/setup.py b/setup.py index 05c1be2..52bbd50 100755 --- a/setup.py +++ b/setup.py @@ -1,19 +1,9 @@ #! /usr/bin/env python -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.*' - kw['install_requires'] = ['m_lib>=3.1', 'm_lib.defenc>=1.0'] +from setuptools import setup setup(name = "m_lib.full", - version = "1.0.0", + version = "1.0.1", description = "m_lib full meta-package", long_description = "Broytman Library for Python, Copyright (C) 1996-2018 PhiloSoft Design", author = "Oleg Broytman", @@ -37,7 +27,7 @@ setup(name = "m_lib.full", ], platforms = "Any", packages = ["m_lib"], - requires=['m_lib', 'm_lib.defenc'], namespace_packages = ["m_lib"], - **kw + python_requires='>=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', + install_requires=['m_lib>=3.1', 'm_lib.defenc>=1.0'], )