Skip to content

Commit

Permalink
Fix import order to supress the setuptools warning; (#846)
Browse files Browse the repository at this point in the history
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.
```
  • Loading branch information
mthrok authored Jul 31, 2020
1 parent 9c56d88 commit 7f99271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7f99271

Please sign in to comment.