From b1278800cb04981fd51e4ff34bff082d32ffcf5a Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sun, 4 Nov 2018 23:58:46 -0800 Subject: [PATCH] Use modern setuptools in setup.py (#862) As recommended by Python docs, use setuptools not distutils. See: https://docs.python.org/3/library/distutils.html > Most Python users will not want to use this module directly, but > instead use the cross-version tools maintained by the Python Packaging > Authority. In particular, setuptools is an enhanced alternative to > distutils ... setuptools is necessary for features like python_requires. --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 23864d3..fc85b82 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,4 @@ -from distutils.core import setup -from setuptools import find_packages +from setuptools import find_packages, setup VERSION = __import__("import_export").__version__