Update of /cvsroot/pywin32/pywin32/com/win32com
In directory sc8-pr-cvs1:/tmp/cvs-serv12808
Modified Files:
__init__.py
Log Message:
If COM extensions checked for a build path, they would fail.
Index: __init__.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32com/__init__.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** __init__.py 16 Sep 2003 04:57:33 -0000 1.5
--- __init__.py 25 Oct 2003 05:54:50 -0000 1.6
***************
*** 19,22 ****
--- 19,23 ----
# live under the main win32com directory.
__gen_path__ = ''
+ __build_path__ = None
### TODO - Load _all_ \\Extensions subkeys - for now, we only read the default
### Modules will work if loaded into "win32comext" path.
***************
*** 74,78 ****
def __PackageSupportBuildPath__(package_path):
# See if we have a special directory for the binaries (for developers)
! if not _frozen:
package_path.append(__build_path__)
--- 75,79 ----
def __PackageSupportBuildPath__(package_path):
# See if we have a special directory for the binaries (for developers)
! if not _frozen and __build_path__:
package_path.append(__build_path__)
|