comparison setup.py @ 577:3ad416265652

Comment
author Franz Glasner <fzglas.hg@dom66.de>
date Sun, 09 Jan 2022 00:20:51 +0100
parents 9ce13f753c04
children 0467b3ae34ea
comparison
equal deleted inserted replaced
576:758475d66d45 577:3ad416265652
147 except ImportError: 147 except ImportError:
148 pass 148 pass
149 else: 149 else:
150 class BDistWheel(wheel.bdist_wheel.bdist_wheel): 150 class BDistWheel(wheel.bdist_wheel.bdist_wheel):
151 def finalize_options(self): 151 def finalize_options(self):
152 # Synchronize this with Py_LIMITED_API 152 #
153 # Synchronize this with Py_LIMITED_API and with the
154 # external build of _speedups.pyd.
155 # Also use the --plat-name (-p) for tagging the Wheel
156 # properly (e.g. -p win_amd64).
157 #
153 self.py_limited_api = 'cp37' 158 self.py_limited_api = 'cp37'
154 super().finalize_options() 159 super().finalize_options()
155 160
156 cmdclass["bdist_wheel"] = BDistWheel 161 cmdclass["bdist_wheel"] = BDistWheel
157 162