From bb23dd3c95bf95e4d13189b2e88d0959e08d83c4 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 28 Mar 2018 22:57:42 +0300 Subject: [PATCH] Build(setup.py): Use setuptools instead of distutils --- setup.py | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/setup.py b/setup.py index 3e516fc..b143518 100755 --- a/setup.py +++ b/setup.py @@ -1,15 +1,6 @@ #! /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.*' +from setuptools import setup setup(name = "m_lib.defenc", version = "1.0.0", @@ -37,5 +28,5 @@ setup(name = "m_lib.defenc", platforms = "Any", packages = ["m_lib"], namespace_packages = ["m_lib"], - **kw + python_requires='>=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', ) -- 2.39.5