File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Original file line number Diff line number Diff line change 34
34
import setuptools .command .build_py
35
35
import setuptools .command .sdist
36
36
37
+ # sys.path modified to find setupext.py during pyproject.toml builds.
37
38
sys .path .append (str (Path (__file__ ).resolve ().parent ))
38
39
39
40
import setupext
@@ -71,7 +72,7 @@ def has_flag(self, flagname):
71
72
class BuildExtraLibraries (setuptools .command .build_ext .build_ext ):
72
73
def finalize_options (self ):
73
74
# If coverage is enabled then need to keep the .o and .gcno files in a
74
- # non-temporary directory otherwise coverage info is not collected.
75
+ # non-temporary directory otherwise coverage info not collected.
75
76
cppflags = os .getenv ('CPPFLAGS' )
76
77
if cppflags and '--coverage' in cppflags :
77
78
self .build_temp = 'build'
You can’t perform that action at this time.
0 commit comments