From 7f99271d096a7fa8574962b4d8349ddcb07d9799 Mon Sep 17 00:00:00 2001 From: moto <855818+mthrok@users.noreply.github.com> Date: Fri, 31 Jul 2020 17:11:08 -0400 Subject: [PATCH] Fix import order to supress the setuptools warning; (#846) setuptools warns that it should be imported before Distutils ``` site-packages/setuptools/distutils_patch.py:25: UserWarning: Distutils was imported before Setuptools. This usage is discouraged and may exhibit undesirable behaviors or errors. Please use Setuptools' objects directly or at least import Setuptools first. ``` --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index aab59b4d8a..9ed19f3754 100644 --- a/setup.py +++ b/setup.py @@ -3,8 +3,8 @@ import shutil import subprocess from pathlib import Path -import distutils.command.clean from setuptools import setup, find_packages +import distutils.command.clean from build_tools import setup_helpers