py2exe problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • askalottaqs
    New Member
    • Jun 2007
    • 75

    py2exe problem

    good morning fellow geeks,

    I have this problem using py2exe, i run it as it says in the tutorial on the official website, and i get this :
    Code:
    C:\WINDOWS\system32>python d:\pythontests\setup.py install
    running install
    running build
    running install_egg_info
    Removing C:\Python25\Lib\site-packages\UNKNOWN-0.0.0-py2.5.egg-info
    Writing C:\Python25\Lib\site-packages\UNKNOWN-0.0.0-py2.5.egg-info
    and thats it, i dont get any exe's, i know it must be sth very lame, but i just cldnt figure it out,

    Thanks in advance :D
  • jlm699
    Contributor
    • Jul 2007
    • 314

    #2
    Originally posted by askalottaqs
    \
    and thats it, i dont get any exe's, i know it must be sth very lame, but i just cldnt figure it out,
    Can you post the contents of your setup.py script? It sounds like you don't have that set up correctly.

    Comment

    • askalottaqs
      New Member
      • Jun 2007
      • 75

      #3
      i was gonna post it, but i guess its hard to get it wrong, there it is
      Code:
      from distutils.core import setup
      import py2exe
      
      setup(console=['D:/PythonTests/sceneCreator.py'])

      Comment

      • jlm699
        Contributor
        • Jul 2007
        • 314

        #4
        Originally posted by askalottaqs
        Code:
        C:\WINDOWS\system32>python d:\pythontests\setup.py install
        sorry I just noticed that first line.

        Try:
        Code:
         python <path>\setup.py py2exe
        instead of install.

        Comment

        • askalottaqs
          New Member
          • Jun 2007
          • 75

          #5
          Originally posted by jlm699
          sorry I just noticed that first line.

          Try:
          Code:
           python <path>\setup.py py2exe
          instead of install.

          oops :D thanks a lot mate

          Comment

          Working...