Browse Source

makepanda: Remove net.py(d) file if present

In anticipation of #1466

[skip ci]
rdb 1 year ago
parent
commit
06b9e3af8b
1 changed files with 3 additions and 1 deletions
  1. 3 1
      makepanda/makepanda.py

+ 3 - 1
makepanda/makepanda.py

@@ -3152,7 +3152,9 @@ del_files = ['core.py', 'core.pyc', 'core.pyo',
              '_core.pyd', '_core.so',
              'direct.py', 'direct.pyc', 'direct.pyo',
              '_direct.pyd', '_direct.so',
-             'dtoolconfig.pyd', 'dtoolconfig.so']
+             'dtoolconfig.pyd', 'dtoolconfig.so',
+             'net.pyd', 'net.so',
+             'net.py', 'net.pyc', 'net.pyo']
 
 for basename in del_files:
     path = os.path.join(GetOutputDir(), 'panda3d', basename)