makewheel: Remove _tkinter.so from Panda3D wheels

It is nowadays supplied in a separate wheel, see also #780

Keep it in the Windows wheel for now since that's the only platform where deploying without a separate tkinter wheel is currently supported, but will remove it on master branch
This commit is contained in:
rdb 2022-01-04 15:29:47 +01:00
parent 67b89983ac
commit 4ce5efb044
1 changed files with 4 additions and 0 deletions

View File

@ -673,6 +673,10 @@ __version__ = '{0}'
for file in os.listdir(ext_mod_dir):
if file.endswith(ext_suffix):
if file.startswith('_tkinter.') and sys.platform not in ('win32', 'cygwin'):
# Tkinter is supplied in a separate wheel.
continue
source_path = os.path.join(ext_mod_dir, file)
if file.endswith('.pyd') and platform.startswith('cygwin'):