Skip to content
Snippets Groups Projects
Commit 72d32a91 authored by Michael DM Dryden's avatar Michael DM Dryden
Browse files

Cleanup

parent 26be08e3
No related merge requests found
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXFileReference section */
5F5576631750491A007D34D4 /* dstat-interface2.py */ = {isa = PBXFileReference; lastKnownFileType = text.script.python; path = "dstat-interface2.py"; sourceTree = "<group>"; };
5F5576651750491A007D34D4 /* readme.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = readme.txt; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXGroup section */
5F55765A1750491A007D34D4 = {
isa = PBXGroup;
children = (
5F5576621750491A007D34D4 /* dstat-interface2 */,
);
sourceTree = "<group>";
};
5F5576621750491A007D34D4 /* dstat-interface2 */ = {
isa = PBXGroup;
children = (
5F5576631750491A007D34D4 /* dstat-interface2.py */,
5F5576641750491A007D34D4 /* Supporting Files */,
);
path = "dstat-interface2";
sourceTree = "<group>";
};
5F5576641750491A007D34D4 /* Supporting Files */ = {
isa = PBXGroup;
children = (
5F5576651750491A007D34D4 /* readme.txt */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXLegacyTarget section */
5F5576611750491A007D34D4 /* dstat-interface2 */ = {
isa = PBXLegacyTarget;
buildArgumentsString = "$(ACTION)";
buildConfigurationList = 5F5576681750491A007D34D4 /* Build configuration list for PBXLegacyTarget "dstat-interface2" */;
buildPhases = (
);
buildToolPath = /usr/bin/python;
dependencies = (
);
name = "dstat-interface2";
passBuildSettingsInEnvironment = 1;
productName = "dstat-interface2";
};
/* End PBXLegacyTarget section */
/* Begin PBXProject section */
5F55765C1750491A007D34D4 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0450;
ORGANIZATIONNAME = "Wheeler Lab";
};
buildConfigurationList = 5F55765F1750491A007D34D4 /* Build configuration list for PBXProject "dstat-interface2" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = 5F55765A1750491A007D34D4;
projectDirPath = "";
projectRoot = "";
targets = (
5F5576611750491A007D34D4 /* dstat-interface2 */,
);
};
/* End PBXProject section */
/* Begin XCBuildConfiguration section */
5F5576661750491A007D34D4 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.8;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
};
name = Debug;
};
5F5576671750491A007D34D4 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.8;
SDKROOT = macosx;
};
name = Release;
};
5F5576691750491A007D34D4 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
DEBUGGING_SYMBOLS = YES;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
OTHER_CFLAGS = "";
OTHER_LDFLAGS = "";
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
5F55766A1750491A007D34D4 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
OTHER_CFLAGS = "";
OTHER_LDFLAGS = "";
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
5F55765F1750491A007D34D4 /* Build configuration list for PBXProject "dstat-interface2" */ = {
isa = XCConfigurationList;
buildConfigurations = (
5F5576661750491A007D34D4 /* Debug */,
5F5576671750491A007D34D4 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
5F5576681750491A007D34D4 /* Build configuration list for PBXLegacyTarget "dstat-interface2" */ = {
isa = XCConfigurationList;
buildConfigurations = (
5F5576691750491A007D34D4 /* Debug */,
5F55766A1750491A007D34D4 /* Release */,
);
defaultConfigurationIsVisible = 0;
};
/* End XCConfigurationList section */
};
rootObject = 5F55765C1750491A007D34D4 /* Project object */;
}
"""
" dstat-interface2.py
" dstat-interface2
"
" Created by Michael Dryden on 2013-05-24.
" Copyright 2013 Wheeler Lab. All rights reserved.
"""
# write your python code below
\ No newline at end of file
Before running your python program, there are something need to be configured.
Following are steps to do:
1. In the menu bar, click "Product" → "Edit Scheme…" (or press ⌘ <) .
2. Select "Run" in the sidebar.
3. In the "Info" tab, click the "Executable" field and then click "Other…".
4. Choose the python interpreter in your system. It should be located as /usr/local/bin/python3 for python 3, and /usr/bin/python for built-in python 2. You may need to use ⇧⌘G to type in the directory if it is hidden.
5. For the "Debugger" field, select "None".
6. Switch to "Arguments" tab, set "Base Expansions On" field to your target.
7. Add a new item in "Arguments Passed On Launch" by click the "+" button below.
8. Type in $(SOURCE_ROOT)/ and then the name of the Python file you want to test. For example: $(SOURCE_ROOT)/MyPython/MyPython.py.
9. Click "OK".
Now you can start coding.
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment