Need advice compiling Python 2.1

Discuss other programming languages besides AutoHotkey
Sam_
Posts: 146
Joined: 20 Mar 2014, 20:24

Need advice compiling Python 2.1

20 Mar 2014, 20:42

So I edited the sourcecode of a program written for Python 2.1, and now I'm trying to compile it into a bundled EXE. I found and installed Python-2.1.3, then installed py2exe-0.3.1.win32-py2.1.exe. I then follow the Tutorial for py2exe to the letter (except where py2exe.py is now build_exe.py), but I always get the following error:
error in setup script: invalid distribution option 'console'

I realize I'm working with really old builds/versions, but does anyone have any ideas what's going wrong?

TIA,
Sam.

PS: Reposted from old forums since I still haven't gotten an answer there..

EDIT: If anyone is interested, the source code can be downloaded here (at least for now).
User avatar
joedf
Posts: 8986
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: Need advice compiling Python 2.1

24 Mar 2014, 01:51

what is console then?
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
ninmonkey
Posts: 8
Joined: 13 Dec 2013, 16:02

Re: Need advice compiling Python 2.1

24 Mar 2014, 10:54

You don't have to create an exe. You can run '.py' files from AHK.
Sam_
Posts: 146
Joined: 20 Mar 2014, 20:24

Re: Need advice compiling Python 2.1

24 Mar 2014, 22:16

joedf wrote:what is console then?
I suspect it is specifying a "command user interface" (CUI) vs the normal "graphical user interface" (GUI), but that's just a guess. (Perhaps the same thing as is described here??) Selecting any other option, such as GUI, doesn't work either.
ninmonkey wrote:You don't have to create an exe. You can run '.py' files from AHK.
The reason for compiling it is to make it portable (to distribute it) so that Python (or AHK) doesn't have to be installed to use it, so that doesn't really help me.

Return to “Other Programming Languages”

Who is online

Users browsing this forum: No registered users and 6 guests