Skip to content

Commit d0edfdb

Browse files
committed
Don't include references to system PyCXX when building a tarball
1 parent eabe8cc commit d0edfdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setupext.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ def check(self):
695695
return str(e) + ' Using local copy.'
696696

697697
def add_flags(self, ext):
698-
if self.found_external:
698+
if self.found_external and not 'sdist' in sys.argv:
699699
support_dir = os.path.normpath(
700700
os.path.join(
701701
sys.prefix,

0 commit comments

Comments
 (0)