Skip to content

Commit

Permalink
Merge pull request #44 from tunnelsnake/master
Browse files Browse the repository at this point in the history
Created Rudimentary EXE Compiler
  • Loading branch information
panagiks committed Oct 14, 2017
2 parents 7b3fdfd + 77f7b59 commit de4356e
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Client/create_application.py
@@ -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 added Client/rspet_client.pyc
Binary file not shown.
18 changes: 18 additions & 0 deletions Client/setup.py
@@ -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")])

0 comments on commit de4356e

Please sign in to comment.