[pywin32-checkins] pywin32 setup.py,1.7,1.8
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2005-05-24 13:55:37
|
Update of /cvsroot/pywin32/pywin32 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17051 Modified Files: setup.py Log Message: * setup.py now allows sources to be specified; win32security and win32net now do so, making their .dsp files redundant. * Existing win32security Ds* (DirectoryService) functions (not to be confused with the COM related win32com.adsi module!) split into new win32security_ds.cpp module. * New win32security functions TranslateName, DsGetDcName and DsCrackNames * Release the GIL when calling SSPI and DS functions. * New Ds related constants in ntsecuritycon. * New tests for these functions. Index: setup.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/setup.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** setup.py 12 Apr 2005 07:26:40 -0000 1.7 --- setup.py 24 May 2005 13:55:28 -0000 1.8 *************** *** 1,3 **** ! build_number=204 # Putting buildno at the top prevents automatic __doc__ assignment, and # I *want* the build number at the top :) --- 1,3 ---- ! build_number=204.1 # Putting buildno at the top prevents automatic __doc__ assignment, and # I *want* the build number at the top :) *************** *** 197,201 **** class WinExt_win32(WinExt): def __init__ (self, name, **kw): ! if not kw.has_key("dsp_file"): kw["dsp_file"] = "win32/" + name + ".dsp" WinExt.__init__(self, name, **kw) --- 197,201 ---- class WinExt_win32(WinExt): def __init__ (self, name, **kw): ! if not kw.has_key("dsp_file") and not kw.get("sources"): kw["dsp_file"] = "win32/" + name + ".dsp" WinExt.__init__(self, name, **kw) *************** *** 825,829 **** ("win32help", "htmlhelp user32 advapi32", False, 0x0500), ("win32lz", "lz32", False), ! ("win32net", "netapi32", True), ("win32pdh", "", False), ("win32pipe", "", False), --- 825,834 ---- ("win32help", "htmlhelp user32 advapi32", False, 0x0500), ("win32lz", "lz32", False), ! ("win32net", "netapi32", True, None, """ ! win32/src/win32net/win32netfile.cpp win32/src/win32net/win32netgroup.cpp ! win32/src/win32net/win32netmisc.cpp win32/src/win32net/win32netmodule.cpp ! win32/src/win32net/win32netsession.cpp win32/src/win32net/win32netuse.cpp ! win32/src/win32net/win32netuser.cpp ! """), ("win32pdh", "", False), ("win32pipe", "", False), *************** *** 831,835 **** ("win32process", "advapi32 user32", False, 0x0500), ("win32ras", "rasapi32 user32", False), ! ("win32security", "advapi32 user32", True), ("win32service", "advapi32 oleaut32 user32", True, 0x0500), ("win32trace", "advapi32", False), --- 836,843 ---- ("win32process", "advapi32 user32", False, 0x0500), ("win32ras", "rasapi32 user32", False), ! ("win32security", "advapi32 user32 netapi32", True, None, """ ! win32/src/win32security.i win32/src/win32securitymodule.cpp ! win32/src/win32security_sspi.cpp win32/src/win32security_ds.cpp ! """), ("win32service", "advapi32 oleaut32 user32", True, 0x0500), ("win32trace", "advapi32", False), *************** *** 839,846 **** name, lib_names, is_unicode = info[:3] if len(info)>3: windows_h_ver = info[3] ! else: ! windows_h_ver = None extra_compile_args = [] if is_unicode: --- 847,855 ---- name, lib_names, is_unicode = info[:3] + windows_h_ver = sources = None if len(info)>3: windows_h_ver = info[3] ! if len(info)>4: ! sources = info[4].split() extra_compile_args = [] if is_unicode: *************** *** 849,853 **** libraries=lib_names, extra_compile_args = extra_compile_args, ! windows_h_version = windows_h_ver) win32_extensions.append(ext) --- 858,863 ---- libraries=lib_names, extra_compile_args = extra_compile_args, ! windows_h_version = windows_h_ver, ! sources = sources) win32_extensions.append(ext) |