From d368094169e8eef858cc65dacdf109bb4acdd3a1 Mon Sep 17 00:00:00 2001 From: Dmitry Shachnev Date: Tue, 19 Jan 2021 23:44:26 +0300 Subject: [PATCH] setup.py: Import setuptools before distutils to fix warning See https://github.com/pypa/setuptools/pull/2256. --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index d9583504..e2aa4932 100755 --- a/setup.py +++ b/setup.py @@ -17,11 +17,11 @@ import os import sys from os.path import join, basename -from distutils import log -from distutils.command.build import build from setuptools import setup, Command from setuptools.command.sdist import sdist from setuptools.command.install import install +from distutils import log +from distutils.command.build import build from subprocess import check_call from glob import glob, iglob