File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 2
2
py_version =37
3
3
profile = black
4
4
combine_as_imports = true
5
+ skip = setup.py
5
6
# TODO: Decide if this is wanted:
6
7
# combine_straight_imports = true
Original file line number Diff line number Diff line change 31
31
import subprocess
32
32
import sys
33
33
import winreg
34
+
35
+ # setuptools must be imported before distutils for markh in some python versions.
36
+ # CI doesn't hit this, so not sure what's going on.
37
+ from setuptools import setup
38
+ from setuptools .command .build_ext import build_ext
39
+
34
40
from distutils import log
35
41
from distutils .command .build import build
36
42
from distutils .command .install import install
39
45
from distutils .core import Extension
40
46
from tempfile import gettempdir
41
47
42
- # The rest of our imports.
43
- from setuptools import setup
44
- from setuptools .command .build_ext import build_ext
45
-
46
48
# some modules need a static CRT to avoid problems caused by them having a
47
49
# manifest.
48
50
static_crt_modules = ["winxpgui" ]
You can’t perform that action at this time.
0 commit comments