##// END OF EJS Templates
revived CocoaFrontendPlugin project
Barry Wark -
Show More
@@ -0,0 +1,110 b''
1 // !$*UTF8*$!
2 {
3 archiveVersion = 1;
4 classes = {
5 };
6 objectVersion = 42;
7 objects = {
8
9 /* Begin PBXGroup section */
10 4C96F4FC0E199AB500B03430 = {
11 isa = PBXGroup;
12 children = (
13 );
14 sourceTree = "<group>";
15 };
16 /* End PBXGroup section */
17
18 /* Begin PBXLegacyTarget section */
19 4C96F50C0E199AF100B03430 /* Cocoa Frontend Plugin */ = {
20 isa = PBXLegacyTarget;
21 buildArgumentsString = "$(ACTION)";
22 buildConfigurationList = 4C96F5110E199B3300B03430 /* Build configuration list for PBXLegacyTarget "Cocoa Frontend Plugin" */;
23 buildPhases = (
24 );
25 buildToolPath = /usr/bin/make;
26 buildWorkingDirectory = "";
27 dependencies = (
28 );
29 name = "Cocoa Frontend Plugin";
30 passBuildSettingsInEnvironment = 1;
31 productName = "Cocoa Frontend Plugin";
32 };
33 /* End PBXLegacyTarget section */
34
35 /* Begin PBXProject section */
36 4C96F4FE0E199AB500B03430 /* Project object */ = {
37 isa = PBXProject;
38 buildConfigurationList = 4C96F5010E199AB500B03430 /* Build configuration list for PBXProject "CocoaFrontendPlugin" */;
39 compatibilityVersion = "Xcode 2.4";
40 hasScannedForEncodings = 0;
41 mainGroup = 4C96F4FC0E199AB500B03430;
42 projectDirPath = "";
43 projectRoot = "";
44 targets = (
45 4C96F50C0E199AF100B03430 /* Cocoa Frontend Plugin */,
46 );
47 };
48 /* End PBXProject section */
49
50 /* Begin XCBuildConfiguration section */
51 4C96F4FF0E199AB500B03430 /* Debug */ = {
52 isa = XCBuildConfiguration;
53 buildSettings = {
54 COPY_PHASE_STRIP = NO;
55 };
56 name = Debug;
57 };
58 4C96F5000E199AB500B03430 /* Release */ = {
59 isa = XCBuildConfiguration;
60 buildSettings = {
61 COPY_PHASE_STRIP = YES;
62 };
63 name = Release;
64 };
65 4C96F50D0E199AF100B03430 /* Debug */ = {
66 isa = XCBuildConfiguration;
67 buildSettings = {
68 COPY_PHASE_STRIP = NO;
69 GCC_DYNAMIC_NO_PIC = NO;
70 GCC_OPTIMIZATION_LEVEL = 0;
71 PRODUCT_NAME = "Cocoa Frontend Plugin";
72 };
73 name = Debug;
74 };
75 4C96F50E0E199AF100B03430 /* Release */ = {
76 isa = XCBuildConfiguration;
77 buildSettings = {
78 COPY_PHASE_STRIP = YES;
79 DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
80 GCC_ENABLE_FIX_AND_CONTINUE = NO;
81 PRODUCT_NAME = "Cocoa Frontend Plugin";
82 ZERO_LINK = NO;
83 };
84 name = Release;
85 };
86 /* End XCBuildConfiguration section */
87
88 /* Begin XCConfigurationList section */
89 4C96F5010E199AB500B03430 /* Build configuration list for PBXProject "CocoaFrontendPlugin" */ = {
90 isa = XCConfigurationList;
91 buildConfigurations = (
92 4C96F4FF0E199AB500B03430 /* Debug */,
93 4C96F5000E199AB500B03430 /* Release */,
94 );
95 defaultConfigurationIsVisible = 0;
96 defaultConfigurationName = Release;
97 };
98 4C96F5110E199B3300B03430 /* Build configuration list for PBXLegacyTarget "Cocoa Frontend Plugin" */ = {
99 isa = XCConfigurationList;
100 buildConfigurations = (
101 4C96F50D0E199AF100B03430 /* Debug */,
102 4C96F50E0E199AF100B03430 /* Release */,
103 );
104 defaultConfigurationIsVisible = 0;
105 defaultConfigurationName = Release;
106 };
107 /* End XCConfigurationList section */
108 };
109 rootObject = 4C96F4FE0E199AB500B03430 /* Project object */;
110 }
@@ -0,0 +1,25 b''
1 # encoding: utf-8
2 """
3 Provides a namespace for loading the Cocoa frontend via a Cocoa plugin.
4
5 Author: Barry Wark
6 """
7 __docformat__ = "restructuredtext en"
8
9 #-----------------------------------------------------------------------------
10 # Copyright (C) 2008 The IPython Development Team
11 #
12 # Distributed under the terms of the BSD License. The full license is in
13 # the file COPYING, distributed as part of this software.
14 #-----------------------------------------------------------------------------
15
16 from PyObjCTools import AppHelper
17 from twisted.internet import _threadedselect
18
19 #make sure _threadedselect is installed first
20 reactor = _threadedselect.install()
21
22 # load the Cocoa frontend controller
23 from IPython.frontend.cocoa.cocoa_frontend import IPythonCocoaController
24 reactor.interleave(AppHelper.callAfter)
25 assert(reactor.running)
General Comments 0
You need to be logged in to leave comments. Login now