We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a925f04 commit 0e97a90Copy full SHA for 0e97a90
setup.py
@@ -34,6 +34,7 @@
34
import setuptools.command.build_py
35
import setuptools.command.sdist
36
37
+# sys.path modified to find setupext.py during pyproject.toml builds.
38
sys.path.append(str(Path(__file__).resolve().parent))
39
40
import setupext
@@ -71,7 +72,7 @@ def has_flag(self, flagname):
71
72
class BuildExtraLibraries(setuptools.command.build_ext.build_ext):
73
def finalize_options(self):
74
# If coverage is enabled then need to keep the .o and .gcno files in a
- # non-temporary directory otherwise coverage info is not collected.
75
+ # non-temporary directory otherwise coverage info not collected.
76
cppflags = os.getenv('CPPFLAGS')
77
if cppflags and '--coverage' in cppflags:
78
self.build_temp = 'build'
0 commit comments