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.
This commit is contained in:
Jon Dufresne 2018-11-04 23:58:46 -08:00 committed by Bojan Mihelac
parent 9df6d8d66d
commit b1278800cb
1 changed files with 1 additions and 2 deletions

View File

@ -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__