|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Beginner With Py2exe Needs Help
here is my setup.py:
# setup.py from distutils.core import setup import py2exe setup(name="test", scripts=["test.py"], ) then when I try to build it, I get this: C:\>c:\test\setup.py py2exe -w running py2exe running build running build_script error: file 'test.py' does not exist But it does exist ![]() |
|
#2
|
||||
|
||||
|
More info..
Gonna need a lil more info Longhair,
is test.py in the same directory as setup.py? What else is in there? I'd try entering the full path to test.py in setup.py and see if that works.. ![]() Take care, Mark. |
|
#3
|
|||
|
|||
|
is test.py in the same directory as setup.py? - yes it is.
What else is in there? - nothing right now, I am testing it out. I'd try entering the full path to test.py in setup.py and see if that works.. I got the same error, but with the path name also now. |
|
#4
|
||||
|
||||
|
Mmmm
Strange :S, ok well you gotta be using windows so it can't be a platform thing... Maybe its your Python Version? what version of Python and Py2EXE do you have, also what's in test.py anyway? If theres an error in there then maybe that's what's causing the error. Other than that I have no idea.
Take care, Mark. |
|
#5
|
|||
|
|||
|
I ended up d/l'ing py2exe-samples-0.3.1 and tried the same thing and recieved the same errors...
With nothing to really lose, I changed directories in the command prompt (windows 2K) so it looked like this: C:\test>setup.py py2exe It worked the way it was suppose to ![]() I guess the simplest problems are always over looked Thank you once again for all your help and fast responces. |
|
#6
|
||||
|
||||
|
I guess they are
, very welcome longhair.Mark |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Python Programming > Beginner With Py2exe Needs Help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|