Browse Source

makewheel: Use less restrictive extension module suffix on py3

Mitchell Stokes 9 years ago
parent
commit
25b167c080
1 changed files with 1 additions and 1 deletions
  1. 1 1
      makepanda/makewheel.py

+ 1 - 1
makepanda/makewheel.py

@@ -509,7 +509,7 @@ def makewheel(version, output_dir, platform=default_platform):
     # default one adds the bin directory to the PATH, which we don't have.
     # default one adds the bin directory to the PATH, which we don't have.
     whl.write_file_data('panda3d/__init__.py', '')
     whl.write_file_data('panda3d/__init__.py', '')
 
 
-    ext_suffix = GetExtensionSuffix()
+    ext_suffix = '.pyd' if sys.platform in ('win32', 'cygwin') else '.so'
 
 
     ext_mod_dirs = [
     ext_mod_dirs = [
         (panda3d_dir, 'panda3d/'),
         (panda3d_dir, 'panda3d/'),