Re: Module import via sys.path and py2exe

2005-09-26 Thread flupke
flupke wrote: > I forgot to add that if i check the shared.lib py2exe creates, the > program1 dir and subdirs/files are there so they are included in the > package. > > Benedict Hi, i solved it by adding the same import statement to the py2exe setup.py script as in my code: import sys sys.

Re: Module import via sys.path and py2exe

2005-09-22 Thread flupke
flupke wrote: > Hi, > > i have a program with is built like this: > startup.py > dir1/__init__.py > dir1/file1.py > dir2/__init__.py > dir2/file2.py > dir3/__init__.py > dir3/file3.py > > The program works but now i want to add the functionality into an > existing program 2. This is program 2: >

Module import via sys.path and py2exe

2005-09-22 Thread flupke
Hi, i have a program with is built like this: startup.py dir1/__init__.py dir1/file1.py dir2/__init__.py dir2/file2.py dir3/__init__.py dir3/file3.py The program works but now i want to add the functionality into an existing program 2. This is program 2: program2.py program2dir1/__init__.py pro