From 465de6c85a01e9d7dbc69348f574b4fc62347314 Mon Sep 17 00:00:00 2001 From: Roger Hughston Date: Mon, 23 May 2005 20:32:45 +0000 Subject: [PATCH] *** empty log message *** --- direct/src/ffi/Sources.pp | 1 + direct/src/ffi/genPyCodeNative | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100755 direct/src/ffi/genPyCodeNative diff --git a/direct/src/ffi/Sources.pp b/direct/src/ffi/Sources.pp index f66f402092..64a16c90cb 100644 --- a/direct/src/ffi/Sources.pp +++ b/direct/src/ffi/Sources.pp @@ -6,6 +6,7 @@ #define INSTALL_SCRIPTS $[INSTALL_SCRIPTS] genPyCode.bat #else #define INSTALL_SCRIPTS $[INSTALL_SCRIPTS] genPyCode + #define INSTALL_SCRIPTS $[INSTALL_SCRIPTS] genPyCodeNative #endif #include $[THISDIRPREFIX]genPyCode.pp diff --git a/direct/src/ffi/genPyCodeNative b/direct/src/ffi/genPyCodeNative new file mode 100755 index 0000000000..4f037719ba --- /dev/null +++ b/direct/src/ffi/genPyCodeNative @@ -0,0 +1,21 @@ +#! /bin/sh + + + +if [ -d ${DIRECT}/lib/pandac ] ; then + + find ${DIRECT}/lib/pandac/. -type f -maxdepth 1 -print0 | xargs -0 rm + + cp ${DIRECT}/src/extensions_native/PandaModules.py ${DIRECT}/lib/pandac/. + cp ${DIRECT}/src/extensions_native/libpandaModules.py ${DIRECT}/lib/pandac/. + cp ${DIRECT}/src/extensions_native/libpandaphysicsModules.py ${DIRECT}/lib/pandac/. + cp ${DIRECT}/src/extensions_native/__init__.py* ${DIRECT}/lib/pandac/. + cp ${DIRECT}/src/extensions_native/libpandaeggModules.py ${DIRECT}/lib/pandac/. + cp ${DIRECT}/src/extensions_native/libpiratesModules.py ${DIRECT}/lib/pandac/. + cp ${DIRECT}/src/extensions_native/libdirectModules.py ${DIRECT}/lib/pandac/. + cp ${DIRECT}/src/extensions_native/libpandaexpressModules.py ${DIRECT}/lib/pandac/. + cp ${DIRECT}/src/extensions_native/libtoontownModules.py ${DIRECT}/lib/pandac/. + cp ${DIRECT}/src/extensions_native/libotpModules.py ${DIRECT}/lib/pandac/. + cp ${DIRECT}/src/extensions_native/libpandafxModules.py ${DIRECT}/lib/pandac/. + +fi \ No newline at end of file