Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fc57635

Browse files
committed
sys.maxint -> sys.maxsize
1 parent 8f95cc2 commit fc57635

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def build_extension(self, ext):
243243
return
244244

245245
if self.get_platform() == 'darwin' and (
246-
sys.maxint > 2**32 and '-arch' in ext.extra_link_args):
246+
sys.maxsize > 2**32 and '-arch' in ext.extra_link_args):
247247
# Don't bother doing an import check when an extension was
248248
# build with an explicit '-arch' flag on OSX. That's currently
249249
# only used to build 32-bit only extensions in a 4-way

0 commit comments

Comments
 (0)