Browse Source

Tweaks to windows build

tags/1.9.6
falkTX 9 years ago
parent
commit
96bc6f478f
4 changed files with 5 additions and 10 deletions
  1. +5
    -1
      data/windows/app.py
  2. +0
    -3
      data/windows/build-win32.sh
  3. +0
    -3
      data/windows/build-win64.sh
  4. +0
    -3
      source/utils/CarlaPipeUtils.cpp

+ 5
- 1
data/windows/app.py View File

@@ -15,7 +15,11 @@ from carla_host import VERSION


options = { options = {
"icon": ".\\resources\\ico\\carla.ico", "icon": ".\\resources\\ico\\carla.ico",
"packages": ["re", "sip", "subprocess", "inspect"]
"packages": [],
"includes": ["re", "sip", "subprocess", "inspect"],
"build_exe": ".\\data\\windows\\Carla\\",
"optimize": True,
"compressed": True
} }


setup(name = "Carla", setup(name = "Carla",


+ 0
- 3
data/windows/build-win32.sh View File

@@ -64,14 +64,11 @@ rm -rf ./data/windows/Carla
cp ./source/carla ./source/Carla.pyw cp ./source/carla ./source/Carla.pyw
$PYTHON_EXE ./data/windows/app.py build_exe $PYTHON_EXE ./data/windows/app.py build_exe
rm -f ./source/Carla.pyw rm -f ./source/Carla.pyw
mv build data/windows/Carla


cd data/windows/ cd data/windows/
cp ../../bin/*.dll Carla/ cp ../../bin/*.dll Carla/
cp ../../bin/*.exe Carla/ cp ../../bin/*.exe Carla/
mv Carla/exe.*/* Carla/
rm Carla/carla-discovery-native.exe rm Carla/carla-discovery-native.exe
rmdir Carla/exe.*


rm -f Carla/PyQt5.Qsci.pyd Carla/PyQt5.QtNetwork.pyd Carla/PyQt5.QtSql.pyd Carla/PyQt5.QtTest.pyd rm -f Carla/PyQt5.Qsci.pyd Carla/PyQt5.QtNetwork.pyd Carla/PyQt5.QtSql.pyd Carla/PyQt5.QtTest.pyd




+ 0
- 3
data/windows/build-win64.sh View File

@@ -65,14 +65,11 @@ rm -rf ./data/windows/Carla
cp ./source/carla ./source/Carla.pyw cp ./source/carla ./source/Carla.pyw
$PYTHON_EXE ./data/windows/app.py build_exe $PYTHON_EXE ./data/windows/app.py build_exe
rm -f ./source/Carla.pyw rm -f ./source/Carla.pyw
mv build data/windows/Carla


cd data/windows/ cd data/windows/
cp ../../bin/*.dll Carla/ cp ../../bin/*.dll Carla/
cp ../../bin/*.exe Carla/ cp ../../bin/*.exe Carla/
mv Carla/exe.*/* Carla/
rm Carla/carla-discovery-native.exe rm Carla/carla-discovery-native.exe
rmdir Carla/exe.*


rm -f Carla/PyQt5.Qsci.pyd Carla/PyQt5.QtNetwork.pyd Carla/PyQt5.QtSql.pyd Carla/PyQt5.QtTest.pyd rm -f Carla/PyQt5.Qsci.pyd Carla/PyQt5.QtNetwork.pyd Carla/PyQt5.QtSql.pyd Carla/PyQt5.QtTest.pyd




+ 0
- 3
source/utils/CarlaPipeUtils.cpp View File

@@ -162,9 +162,6 @@ bool startProcess(const char* const argv[], PROCESS_INFORMATION* const processIn


String command; String command;


// TESTING
command = "C:\\Python34\\python.exe ";

for (int i=0; argv[i] != nullptr; ++i) for (int i=0; argv[i] != nullptr; ++i)
{ {
String arg(argv[i]); String arg(argv[i]);


Loading…
Cancel
Save