summarylogtreecommitdiffstats
path: root/python-cef-fix-build.patch
blob: 47660ce39f1f3062c9c0ac2ae1432cb1d8acba84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
diff --git a/tools/build.py b/tools/build.py
index f396028..24fab95 100644
--- a/tools/build.py
+++ b/tools/build.py
@@ -889,51 +889,9 @@ def install_and_run():
         print("[build.py] ERROR while making installer package")
         sys.exit(1)
 
-    # Install
-    print("[build.py] Install the cefpython package")
-    os.chdir(setup_installer_dir)
-    command = ("\"{python}\" setup.py install"
-               .format(python=sys.executable))
-    command = sudo_command(command, python=sys.executable)
-    ret = os.system(command)
-    if ret != 0:
-        print("[build.py] ERROR while installing package")
-        sys.exit(1)
-    os.chdir(BUILD_DIR)
-
     # Delete setup installer directory after the package was installed
     delete_directory_reliably(setup_installer_dir)
 
-    # Run unittests
-    print("[build.py] Run unittests")
-    test_runner = os.path.join(UNITTESTS_DIR, "_test_runner.py")
-    command = ("\"{python}\" {test_runner}"
-               .format(python=sys.executable,
-                       test_runner=test_runner))
-    ret = os.system(command)
-    if ret != 0:
-        print("[build.py] ERROR while running unit tests")
-        sys.exit(1)
-
-    # Run examples
-    if not UNITTESTS:
-        print("[build.py] Run examples")
-        os.chdir(EXAMPLES_DIR)
-        flags = ""
-        if KIVY_FLAG:
-            flags += " --kivy"
-        if HELLO_WORLD_FLAG:
-            flags += " --hello-world"
-        run_examples = os.path.join(TOOLS_DIR, "run_examples.py")
-        command = ("\"{python}\" {run_examples} {flags}"
-                   .format(python=sys.executable,
-                           run_examples=run_examples,
-                           flags=flags))
-        ret = os.system(command)
-        if ret != 0:
-            print("[build.py] ERROR while running examples")
-            sys.exit(1)
-
     print("[build.py] Everything OK")