converted to exe
This commit is contained in:
Jordon Brooks 2016-07-09 23:10:14 +01:00
parent 2538cc2290
commit 394beef34c
17 changed files with 109 additions and 18 deletions

53
.idea/workspace.xml generated
View file

@ -24,7 +24,7 @@
<file leaf-file-name="desktop.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/JDE/Interfaces/desktop.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="68">
<state relative-caret-position="2550">
<caret line="166" column="0" selection-start-line="166" selection-start-column="0" selection-end-line="166" selection-end-column="0" />
<folding>
<element signature="e#0#14#0" expanded="true" />
@ -33,7 +33,7 @@
</provider>
</entry>
</file>
<file leaf-file-name="settings.conf" pinned="false" current-in-tab="true">
<file leaf-file-name="settings.conf" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/JDE/Settings/settings.conf">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="136">
@ -43,6 +43,16 @@
</provider>
</entry>
</file>
<file leaf-file-name="test.py" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/test.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="153">
<caret line="9" column="4" selection-start-line="9" selection-start-column="4" selection-end-line="9" selection-end-column="4" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="FileBrowser.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/Programs/FileBrowser.py">
<provider selected="true" editor-type-id="text-editor">
@ -73,7 +83,6 @@
<list>
<option value="$PROJECT_DIR$/Programs/jpad.py" />
<option value="$PROJECT_DIR$/Programs/PyIDE.py" />
<option value="$PROJECT_DIR$/test.py" />
<option value="$PROJECT_DIR$/Programs/terminal.py" />
<option value="$PROJECT_DIR$/Programs/webEdit/htmlEdit.py" />
<option value="$PROJECT_DIR$/README.md" />
@ -83,6 +92,7 @@
<option value="$PROJECT_DIR$/Programs/FileBrowser.py" />
<option value="$PROJECT_DIR$/JDE/Interfaces/desktop.py" />
<option value="$PROJECT_DIR$/JDE/Settings/settings.conf" />
<option value="$PROJECT_DIR$/test.py" />
</list>
</option>
</component>
@ -118,6 +128,7 @@
</navigator>
<panes>
<pane id="Scope" />
<pane id="Scratches" />
<pane id="ProjectPane">
<subPane>
<PATH>
@ -188,15 +199,14 @@
</PATH>
</subPane>
</pane>
<pane id="Scratches" />
</panes>
</component>
<component name="PropertiesComponent">
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
<property name="settings.editor.selected.configurable" value="project.propVCSSupport.Mappings" />
<property name="settings.editor.selected.configurable" value="com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable" />
<property name="settings.editor.splitter.proportion" value="0.2" />
</component>
<component name="RunManager" selected="Python.run">
<component name="RunManager" selected="Python.test">
<configuration default="false" name="run" type="PythonConfigurationType" factoryName="Python" temporary="true">
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
@ -407,9 +417,9 @@
</list>
<recent_temporary>
<list size="4">
<item index="0" class="java.lang.String" itemvalue="Python.run" />
<item index="1" class="java.lang.String" itemvalue="Python.terminal" />
<item index="2" class="java.lang.String" itemvalue="Python.test" />
<item index="0" class="java.lang.String" itemvalue="Python.test" />
<item index="1" class="java.lang.String" itemvalue="Python.run" />
<item index="2" class="java.lang.String" itemvalue="Python.terminal" />
<item index="3" class="java.lang.String" itemvalue="Python.PyIDE" />
</list>
</recent_temporary>
@ -434,7 +444,7 @@
<frame x="-8" y="-8" width="1296" height="776" extended-state="6" />
<editor active="false" />
<layout>
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.14228936" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.14228936" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32882884" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
<window_info id="Python Console" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32970452" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
@ -446,7 +456,7 @@
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32659408" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32608697" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
@ -520,7 +530,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/test.py" />
<entry file="file://$PROJECT_DIR$/run.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="17">
@ -545,6 +554,11 @@
</entry>
<entry file="file://$PROJECT_DIR$/JDE/Logs/29-06-2016-14-14PM.log" />
<entry file="file://$PROJECT_DIR$/README.md">
<provider editor-type-id="text-editor">
<state relative-caret-position="34">
<caret line="2" column="0" selection-start-line="2" selection-start-column="0" selection-end-line="2" selection-end-column="0" />
</state>
</provider>
<provider selected="true" editor-type-id="split-provider[text-editor;MarkdownPreviewEditor]">
<state split_layout="FIRST">
<first_editor relative-caret-position="170">
@ -553,11 +567,6 @@
<second_editor />
</state>
</provider>
<provider editor-type-id="text-editor">
<state relative-caret-position="34">
<caret line="2" column="0" selection-start-line="2" selection-start-column="0" selection-end-line="2" selection-end-column="0" />
</state>
</provider>
<provider editor-type-id="MarkdownFxPreviewEditor">
<state />
</provider>
@ -622,7 +631,7 @@
</entry>
<entry file="file://$PROJECT_DIR$/JDE/Interfaces/desktop.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="68">
<state relative-caret-position="2550">
<caret line="166" column="0" selection-start-line="166" selection-start-column="0" selection-end-line="166" selection-end-column="0" />
<folding>
<element signature="e#0#14#0" expanded="true" />
@ -638,5 +647,13 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/test.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="153">
<caret line="9" column="4" selection-start-line="9" selection-start-column="4" selection-end-line="9" selection-end-column="4" />
<folding />
</state>
</provider>
</entry>
</component>
</project>

BIN
JDE Icon.xcf Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,37 @@
05:26:00 PM:JDE.JDE:16}:INFO - Python version: 3.5.2
05:26:00 PM:JDE.JDE:18}:INFO - Importing tkinter
05:26:00 PM:JDE.JDE:22}:INFO - Import Successful
05:26:00 PM:JDE.JDE:26}:INFO - Importing os
05:26:00 PM:JDE.JDE:30}:INFO - Import Successful
05:26:00 PM:JDE.JDE:34}:INFO - Importing JDE/Interfaces/login
05:26:01 PM:JDE.Interfaces.login:9}:DEBUG - Atempting to read settings file
05:26:01 PM:JDE.Interfaces.login:13}:DEBUG - System settings Detected!
05:26:01 PM:JDE.JDE:38}:INFO - Import Successful!
05:26:01 PM:JDE.JDE:42}:INFO - Importing JDE/Interfaces/desktop
05:26:01 PM:Programs.jpad:7}:DEBUG - Atempting to read settings file
05:26:01 PM:Programs.jpad:11}:DEBUG - System settings Detected!
05:26:01 PM:JDE.Interfaces.desktop:21}:DEBUG - Atempting to read settings file
05:26:01 PM:JDE.Interfaces.desktop:25}:DEBUG - System settings Detected!
05:26:01 PM:JDE.JDE:46}:INFO - Import Successful!
05:26:01 PM:JDE.Interfaces.login:160}:DEBUG - Running __init__
05:26:01 PM:JDE.Interfaces.login:139}:DEBUG - Running createWindow
05:26:01 PM:JDE.Interfaces.login:118}:DEBUG - Running createBackground
05:26:01 PM:PIL.PngImagePlugin:135}:DEBUG - STREAM b'IHDR' 16 13
05:26:01 PM:PIL.PngImagePlugin:135}:DEBUG - STREAM b'bKGD' 41 6
05:26:01 PM:PIL.PngImagePlugin:511}:DEBUG - b'bKGD' 41 6 (unknown)
05:26:01 PM:PIL.PngImagePlugin:135}:DEBUG - STREAM b'pHYs' 59 9
05:26:01 PM:PIL.PngImagePlugin:135}:DEBUG - STREAM b'tIME' 80 7
05:26:01 PM:PIL.PngImagePlugin:511}:DEBUG - b'tIME' 80 7 (unknown)
05:26:01 PM:PIL.PngImagePlugin:135}:DEBUG - STREAM b'iTXt' 99 29
05:26:01 PM:PIL.PngImagePlugin:135}:DEBUG - STREAM b'IDAT' 140 8192
05:26:02 PM:JDE.Interfaces.login:111}:DEBUG - Running createIcon
05:26:02 PM:JDE.Interfaces.login:71}:DEBUG - Running createWidgets
05:26:02 PM:JDE.Interfaces.login:21}:DEBUG - Running reposition
05:26:03 PM:JDE.Interfaces.login:130}:DEBUG - Running fullscreen
05:26:03 PM:JDE.Interfaces.login:21}:DEBUG - Running reposition
05:26:14 PM:JDE.Interfaces.login:21}:DEBUG - Running reposition
05:26:20 PM:JDE.Interfaces.login:130}:DEBUG - Running fullscreen
05:26:20 PM:JDE.Interfaces.login:21}:DEBUG - Running reposition
05:26:20 PM:JDE.Interfaces.login:130}:DEBUG - Running fullscreen
05:26:20 PM:JDE.Interfaces.login:21}:DEBUG - Running reposition
05:26:21 PM:JDE.JDE:60}:CRITICAL - [Errno 2] No such file or directory: 'active'

View file

@ -0,0 +1,18 @@
05:29:30 PM:JDE.JDE:16}:INFO - Python version: 3.5.2
05:29:30 PM:JDE.JDE:18}:INFO - Importing tkinter
05:29:30 PM:JDE.JDE:22}:INFO - Import Successful
05:29:30 PM:JDE.JDE:26}:INFO - Importing os
05:29:30 PM:JDE.JDE:30}:INFO - Import Successful
05:29:30 PM:JDE.JDE:34}:INFO - Importing JDE/Interfaces/login
05:29:30 PM:JDE.Interfaces.login:9}:DEBUG - Atempting to read settings file
05:29:30 PM:JDE.Interfaces.login:13}:DEBUG - System settings Detected!
05:29:30 PM:JDE.JDE:38}:INFO - Import Successful!
05:29:30 PM:JDE.JDE:42}:INFO - Importing JDE/Interfaces/desktop
05:29:30 PM:Programs.jpad:7}:DEBUG - Atempting to read settings file
05:29:30 PM:Programs.jpad:11}:DEBUG - System settings Detected!
05:29:30 PM:JDE.Interfaces.desktop:21}:DEBUG - Atempting to read settings file
05:29:30 PM:JDE.Interfaces.desktop:25}:DEBUG - System settings Detected!
05:29:30 PM:JDE.JDE:46}:INFO - Import Successful!
05:29:30 PM:JDE.Interfaces.login:161}:DEBUG - Running __init__
05:29:30 PM:JDE.Interfaces.login:139}:DEBUG - Running createWindow
05:29:30 PM:JDE.JDE:60}:CRITICAL - couldn't open "your-icon": no such file or directory

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

19
setup.py Normal file
View file

@ -0,0 +1,19 @@
#!python3.4
import sys
from cx_Freeze import setup, Executable
base = None
if sys.platform == "win32":
base = "Win32GUI"
dataFiles = ["JDE/", "Programs/", "Users/"]
modules = ["logging", "tkinter", "PIL"]
setup(name="JDE",
version="1.5.0a",
author="Jordon Brooks",
url="https://jordonbc.github.io",
options = {'build_exe': {'include_files':dataFiles, 'packages': modules}},
description="Editor",
executables = [Executable("run.py", base=base, icon="icon.ico")])