File tree Expand file tree Collapse file tree 2 files changed +1
-14
lines changed
Expand file tree Collapse file tree 2 files changed +1
-14
lines changed Original file line number Diff line number Diff line change 1- [build_ext]
2- inplace = 1
3-
41[flake8]
52ignore =
63 W503 # line break before binary operator
Original file line number Diff line number Diff line change 3434# Allow importing local files, see https://snarky.ca/what-the-heck-is-pyproject-toml/
3535import sys
3636import warnings
37- from distutils .sysconfig import get_python_inc as dist_get_python_inc
38- from distutils .sysconfig import get_python_lib as dist_get_python_lib
39- from distutils .text_file import TextFile as DistTextFile
40- from distutils .util import check_environ as dist_check_environ
41- from distutils .util import get_platform as dist_get_platform
4237
4338# Import other stdlib packages
4439from itertools import chain
7873site .ENABLE_USER_SITE = "--user" in sys .argv [1 :]
7974
8075
81- # Collect env-specific settings
82- platform = dist_get_platform () # linux-x86_64
83- dist_check_environ ()
84-
85- plat_indep_libraries = Path (dist_get_python_lib ())
86- plat_indep_include = Path (dist_get_python_inc ())
8776
8877# We need to know where we are for many things
8978this_file = Path (__file__ )
@@ -149,5 +138,6 @@ def run(self):
149138
150139if __name__ == "__main__" :
151140 setup (
141+ zip_safe = False , # https://mypy.readthedocs.io/en/latest/installed_packages.html
152142 cmdclass = {"build_ext" : build_DD_before_ext , "build_DD" : BuildDDCommand },
153143 )
You can’t perform that action at this time.
0 commit comments