Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from tunnelsnake/master
Created Rudimentary EXE Compiler
- Loading branch information
Showing
3 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
|
||
""" | ||
This particular file is not necessary, it just makes it easier to build the windows application from | ||
an IDE or within another instance of RSPET. This could be implemented in the server application to build | ||
client executables. | ||
""" | ||
|
||
import subprocess | ||
|
||
subprocess.call(["python", "setup.py", "build"]) |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
''' | ||
Written for DigitalOcean's Hacktoberfest! | ||
Requires cx_Freeze and must be built on Windows :( | ||
Unfortunately, neither cx_Freeze nor py2exe support cross platform compilation | ||
thus, this particular solution was set into motion | ||
''' | ||
|
||
import sys | ||
from cx_Freeze import setup, Executable | ||
|
||
setup( | ||
name = "RSPET Test", #Change these values to your liking | ||
version = "0.1", | ||
description = "A Test Executable", | ||
executables = [Executable("rspet_client.py", base = "Win32GUI")]) |