Need advice compiling Python 2.1

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Need advice compiling Python 2.1

Re: Need advice compiling Python 2.1

Post by Sam_ » 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.

Re: Need advice compiling Python 2.1

Post by ninmonkey » 24 Mar 2014, 10:54

You don't have to create an exe. You can run '.py' files from AHK.

Re: Need advice compiling Python 2.1

Post by joedf » 24 Mar 2014, 01:51

what is console then?

Need advice compiling Python 2.1

Post by Sam_ » 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).

Top