py2docfx 0.1.13.dev2016723__py3-none-any.whl → 0.1.13.dev2021865__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/_modified.py +26 -4
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +2 -603
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/archive_util.py +48 -18
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/ccompiler.py +17 -1257
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/cmd.py +133 -41
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/bdist.py +19 -8
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/bdist_dumb.py +2 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/bdist_rpm.py +6 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build.py +8 -4
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build_clib.py +8 -7
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build_ext.py +32 -13
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build_py.py +10 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build_scripts.py +3 -14
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/check.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/clean.py +2 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/config.py +1 -8
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/install.py +22 -19
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/install_data.py +4 -3
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/install_headers.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/install_lib.py +11 -7
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/install_scripts.py +4 -3
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/sdist.py +22 -16
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compat/__init__.py +6 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/base.py +1391 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/cygwin.py +340 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/errors.py +24 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/msvc.py +614 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/{tests/test_ccompiler.py → compilers/C/tests/test_base.py} +9 -19
- py2docfx/venv/{venv1/Lib/site-packages/setuptools/_distutils/tests/test_cygwinccompiler.py → basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/tests/test_cygwin.py} +7 -12
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/{tests/test_mingwccompiler.py → compilers/C/tests/test_mingw.py} +12 -20
- py2docfx/venv/{venv1/Lib/site-packages/setuptools/_distutils/tests/test_msvccompiler.py → basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/tests/test_msvc.py} +11 -12
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/{tests/test_unixccompiler.py → compilers/C/tests/test_unix.py} +5 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/unix.py +409 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/zos.py +230 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/cygwinccompiler.py +20 -328
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/dist.py +148 -80
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/errors.py +11 -27
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/extension.py +19 -16
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/filelist.py +80 -15
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/spawn.py +22 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/sysconfig.py +32 -7
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/tests/test_build_ext.py +13 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/tests/test_sdist.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/unixccompiler.py +2 -401
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/util.py +38 -23
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/zosccompiler.py +2 -228
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_static.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/command/editable_wheel.py +3 -3
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/command/install.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/config/test_setupcfg.py +2 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_build_py.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/unicode_utils.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/__init__.py +2 -1
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/ado_consts.py +3 -1
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/adodbapi.py +22 -26
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/apibase.py +3 -4
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/db_print.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/db_table_names.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/process_connect_string.py +7 -7
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/setup.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/adodbapitest.py +21 -73
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/adodbapitestconfig.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/dbapi20.py +11 -17
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/setuptestframework.py +2 -1
- py2docfx/venv/venv1/Lib/site-packages/isapi/install.py +8 -11
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector_asynch.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector_with_filter.py +2 -1
- py2docfx/venv/venv1/Lib/site-packages/isapi/simple.py +1 -0
- py2docfx/venv/venv1/Lib/site-packages/isapi/threaded_extension.py +1 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/basictimerapp.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/customprint.py +1 -3
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/demoutils.py +1 -3
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/cmdserver.py +2 -5
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/guidemo.py +14 -41
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/objdoc.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/demoutils.py +1 -3
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/flash.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/ocxserialtest.py +1 -2
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/ocxtest.py +1 -2
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/webbrowser.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/openGLDemo.py +57 -12
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/toolbar.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/configui.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/dbgcon.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/debugger.py +7 -8
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/fail.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/ideoptions.py +7 -10
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/list.py +11 -8
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/login.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/docking/DockingBar.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/app.py +19 -22
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/dbgcommands.py +2 -3
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/ModuleBrowser.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/__init__.py +3 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/document.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/editor.py +6 -6
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/vss.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/help.py +2 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/interact.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/intpyapp.py +5 -7
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/intpydde.py +7 -2
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/scriptutils.py +4 -6
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/sgrepmdi.py +13 -22
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/startup.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/stdin.py +1 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/toolmenu.py +0 -2
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/AutoIndent.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/CallTips.py +1 -3
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/activex.py +1 -2
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/dialog.py +7 -10
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/IDLEenvironment.py +1 -5
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/bindings.py +4 -2
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/config.py +3 -5
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/configui.py +2 -3
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/document.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/formatter.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/keycodes.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/scintillacon.py +1178 -78
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/view.py +17 -21
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/browser.py +6 -18
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/hierlist.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/_modified.py +26 -4
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +2 -603
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/archive_util.py +48 -18
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/ccompiler.py +17 -1257
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/cmd.py +133 -41
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/bdist.py +19 -8
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/bdist_dumb.py +2 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/bdist_rpm.py +6 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build.py +8 -4
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build_clib.py +8 -7
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build_ext.py +32 -13
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build_py.py +10 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build_scripts.py +3 -14
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/check.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/clean.py +2 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/config.py +1 -8
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/install.py +22 -19
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/install_data.py +4 -3
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/install_headers.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/install_lib.py +11 -7
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/install_scripts.py +4 -3
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/sdist.py +22 -16
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compat/__init__.py +6 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/base.py +1391 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/cygwin.py +340 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/errors.py +24 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/msvc.py +614 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/{tests/test_ccompiler.py → compilers/C/tests/test_base.py} +9 -19
- py2docfx/venv/{basevenv/Lib/site-packages/setuptools/_distutils/tests/test_cygwinccompiler.py → venv1/Lib/site-packages/setuptools/_distutils/compilers/C/tests/test_cygwin.py} +7 -12
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/{tests/test_mingwccompiler.py → compilers/C/tests/test_mingw.py} +12 -20
- py2docfx/venv/{basevenv/Lib/site-packages/setuptools/_distutils/tests/test_msvccompiler.py → venv1/Lib/site-packages/setuptools/_distutils/compilers/C/tests/test_msvc.py} +11 -12
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/{tests/test_unixccompiler.py → compilers/C/tests/test_unix.py} +5 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/unix.py +409 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/zos.py +230 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/cygwinccompiler.py +20 -328
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/dist.py +148 -80
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/errors.py +11 -27
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/extension.py +19 -16
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/filelist.py +80 -15
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/spawn.py +22 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/sysconfig.py +32 -7
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/tests/test_build_ext.py +13 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/tests/test_sdist.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/unixccompiler.py +2 -401
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/util.py +38 -23
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/zosccompiler.py +2 -228
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_static.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/command/editable_wheel.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/setuptools/command/install.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/config/test_setupcfg.py +2 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_build_py.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/unicode_utils.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtFormatMessage.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtSubscribe_push.py +8 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/GetSaveFileName.py +8 -8
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/c_extension/setup.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/dde/ddeclient.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/dde/ddeserver.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/getfilever.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/pipes/runproc.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/rastest.py +4 -6
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/GetTokenInformation.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/account_rights.py +0 -2
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/explicit_entries.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/get_policy_info.py +0 -3
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/list_rights.py +0 -2
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/localized_names.py +7 -2
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/query_information.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_file_audit.py +1 -2
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_file_owner.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_policy_info.py +0 -3
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setkernelobjectsecurity.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setsecurityinfo.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setuserobjectsecurity.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/fetch_url.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/simple_auth.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/socket_server.py +1 -2
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/pipeTestService.py +10 -9
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/pipeTestServiceClient.py +6 -3
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32clipboardDemo.py +17 -5
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32comport_demo.py +32 -2
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32console_demo.py +1 -4
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_devicenotify.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_menu.py +60 -5
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_taskbar.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32netdemo.py +2 -5
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32ts_logoff_disconnected.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32wnet/testwnet.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/commctrl.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/netbios.py +8 -10
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywin32_bootstrap.py +2 -10
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywin32_testutil.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywintypes.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/regutil.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/sspi.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win2kras.py +14 -7
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32con.py +16 -35
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32cryptcon.py +1 -4
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32evtlogutil.py +1 -2
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32gui_struct.py +6 -6
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32pdhquery.py +10 -11
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32pdhutil.py +5 -5
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32rcparser.py +1 -0
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32serviceutil.py +4 -6
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32timezone.py +304 -121
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32verstamp.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winerror.py +4926 -604
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winxptheme.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/h2py.py +194 -0
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/pywin32_postinstall.py +733 -0
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/pywin32_testall.py +120 -0
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/regsetup.py +4 -7
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/setup_d.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/test/handles.py +13 -5
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_clipboard.py +12 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_sspi.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32api.py +8 -4
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32clipboard.py +2 -3
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32cred.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32crypt.py +16 -3
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32file.py +24 -8
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32gui.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32guistruct.py +2 -5
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32inet.py +23 -6
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32net.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32ts.py +19 -0
- py2docfx/venv/venv1/Lib/site-packages/win32/winxpgui.py +3 -11
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/CLSIDToClass.py +3 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/__init__.py +97 -65
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/build.py +24 -24
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/combrowse.py +17 -33
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/dynamic.py +14 -14
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/gencache.py +30 -12
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/genpy.py +50 -98
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/makepy.py +12 -8
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/selecttlb.py +3 -4
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/util.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/dump_clipboard.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/excelAddin.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/excelRTDServer.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/iebutton.py +0 -3
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/ietoolbar.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/outlookAddin.py +1 -3
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegw.py +48 -56
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegwenum.py +2 -6
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegwparse.py +9 -11
- py2docfx/venv/venv1/Lib/site-packages/win32com/olectl.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/connect.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/dispatcher.py +20 -24
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/exception.py +8 -8
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/policy.py +4 -18
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/register.py +5 -6
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/dictionary.py +2 -5
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/interp.py +7 -7
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/test_pycomtest.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/GenTestScripts.py +2 -4
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/errorSemantics.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/pippo_server.py +1 -4
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testADOEvents.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testAXScript.py +1 -2
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDictionary.py +4 -3
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDynamic.py +3 -5
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testExchange.py +2 -7
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testGatewayAddresses.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testIterators.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMSOffice.py +40 -57
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMSOfficeEvents.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPersist.py +7 -7
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPippo.py +2 -3
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPyComTest.py +143 -7
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testServers.py +1 -2
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testall.py +1 -2
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testmakepy.py +1 -2
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testvb.py +12 -8
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/util.py +1 -3
- py2docfx/venv/venv1/Lib/site-packages/win32com/universal.py +1 -3
- py2docfx/venv/venv1/Lib/site-packages/win32com/util.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/scp.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/search.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/demos/EditSecurity.py +1 -24
- py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/demos/EditServiceSecurity.py +0 -20
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/adb.py +2 -8
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/codecontainer.py +16 -12
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/contexts.py +1 -3
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/debugger.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/documents.py +2 -3
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/dump.py +2 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/expressions.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/util.py +7 -14
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/debug.py +2 -14
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/error.py +4 -5
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/framework.py +5 -5
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pydumper.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pyscript.py +5 -10
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/scriptdispatch.py +3 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/server/axsite.py +1 -2
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/leakTest.py +2 -3
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/testHost4Dbg.py +0 -3
- py2docfx/venv/venv1/Lib/site-packages/win32comext/bits/test/test_bits.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/win32comext/ifilter/demo/filterDemo.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/demos/mapisend.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/emsabtags.py +1 -0
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/mapitags.py +1 -3
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/mapiutil.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/win32comext/propsys/test/testpropsys.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IFileOperationProgressSink.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/ITransferAdviseSink.py +5 -3
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/column_provider.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/copy_hook.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/empty_volume_cache.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/folder_view.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/icon_handler.py +1 -2
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/shell_view.py +4 -5
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_addtask_2.py +0 -1
- py2docfx/venv/venv1/Scripts/pywin32_postinstall.py +77 -122
- py2docfx/venv/venv1/Scripts/pywin32_testall.py +4 -9
- {py2docfx-0.1.13.dev2016723.dist-info → py2docfx-0.1.13.dev2021865.dist-info}/METADATA +1 -1
- {py2docfx-0.1.13.dev2016723.dist-info → py2docfx-0.1.13.dev2021865.dist-info}/RECORD +342 -330
- py2docfx/venv/venv1/Lib/site-packages/docs/conf.py +0 -384
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/mdi_pychecker.py +0 -850
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testNetscape.py +0 -24
- {py2docfx-0.1.13.dev2016723.dist-info → py2docfx-0.1.13.dev2021865.dist-info}/WHEEL +0 -0
- {py2docfx-0.1.13.dev2016723.dist-info → py2docfx-0.1.13.dev2021865.dist-info}/top_level.txt +0 -0
@@ -1,229 +1,3 @@
|
|
1
|
-
|
1
|
+
from .compilers.C import zos
|
2
2
|
|
3
|
-
|
4
|
-
different c compilers on z/OS, all of them are optional, so the correct
|
5
|
-
one needs to be chosen based on the users input. This is compatible with
|
6
|
-
the following compilers:
|
7
|
-
|
8
|
-
IBM C/C++ For Open Enterprise Languages on z/OS 2.0
|
9
|
-
IBM Open XL C/C++ 1.1 for z/OS
|
10
|
-
IBM XL C/C++ V2.4.1 for z/OS 2.4 and 2.5
|
11
|
-
IBM z/OS XL C/C++
|
12
|
-
"""
|
13
|
-
|
14
|
-
import os
|
15
|
-
|
16
|
-
from . import sysconfig
|
17
|
-
from .errors import CompileError, DistutilsExecError
|
18
|
-
from .unixccompiler import UnixCCompiler
|
19
|
-
|
20
|
-
_cc_args = {
|
21
|
-
'ibm-openxl': [
|
22
|
-
'-m64',
|
23
|
-
'-fvisibility=default',
|
24
|
-
'-fzos-le-char-mode=ascii',
|
25
|
-
'-fno-short-enums',
|
26
|
-
],
|
27
|
-
'ibm-xlclang': [
|
28
|
-
'-q64',
|
29
|
-
'-qexportall',
|
30
|
-
'-qascii',
|
31
|
-
'-qstrict',
|
32
|
-
'-qnocsect',
|
33
|
-
'-Wa,asa,goff',
|
34
|
-
'-Wa,xplink',
|
35
|
-
'-qgonumber',
|
36
|
-
'-qenum=int',
|
37
|
-
'-Wc,DLL',
|
38
|
-
],
|
39
|
-
'ibm-xlc': [
|
40
|
-
'-q64',
|
41
|
-
'-qexportall',
|
42
|
-
'-qascii',
|
43
|
-
'-qstrict',
|
44
|
-
'-qnocsect',
|
45
|
-
'-Wa,asa,goff',
|
46
|
-
'-Wa,xplink',
|
47
|
-
'-qgonumber',
|
48
|
-
'-qenum=int',
|
49
|
-
'-Wc,DLL',
|
50
|
-
'-qlanglvl=extc99',
|
51
|
-
],
|
52
|
-
}
|
53
|
-
|
54
|
-
_cxx_args = {
|
55
|
-
'ibm-openxl': [
|
56
|
-
'-m64',
|
57
|
-
'-fvisibility=default',
|
58
|
-
'-fzos-le-char-mode=ascii',
|
59
|
-
'-fno-short-enums',
|
60
|
-
],
|
61
|
-
'ibm-xlclang': [
|
62
|
-
'-q64',
|
63
|
-
'-qexportall',
|
64
|
-
'-qascii',
|
65
|
-
'-qstrict',
|
66
|
-
'-qnocsect',
|
67
|
-
'-Wa,asa,goff',
|
68
|
-
'-Wa,xplink',
|
69
|
-
'-qgonumber',
|
70
|
-
'-qenum=int',
|
71
|
-
'-Wc,DLL',
|
72
|
-
],
|
73
|
-
'ibm-xlc': [
|
74
|
-
'-q64',
|
75
|
-
'-qexportall',
|
76
|
-
'-qascii',
|
77
|
-
'-qstrict',
|
78
|
-
'-qnocsect',
|
79
|
-
'-Wa,asa,goff',
|
80
|
-
'-Wa,xplink',
|
81
|
-
'-qgonumber',
|
82
|
-
'-qenum=int',
|
83
|
-
'-Wc,DLL',
|
84
|
-
'-qlanglvl=extended0x',
|
85
|
-
],
|
86
|
-
}
|
87
|
-
|
88
|
-
_asm_args = {
|
89
|
-
'ibm-openxl': ['-fasm', '-fno-integrated-as', '-Wa,--ASA', '-Wa,--GOFF'],
|
90
|
-
'ibm-xlclang': [],
|
91
|
-
'ibm-xlc': [],
|
92
|
-
}
|
93
|
-
|
94
|
-
_ld_args = {
|
95
|
-
'ibm-openxl': [],
|
96
|
-
'ibm-xlclang': ['-Wl,dll', '-q64'],
|
97
|
-
'ibm-xlc': ['-Wl,dll', '-q64'],
|
98
|
-
}
|
99
|
-
|
100
|
-
|
101
|
-
# Python on z/OS is built with no compiler specific options in it's CFLAGS.
|
102
|
-
# But each compiler requires it's own specific options to build successfully,
|
103
|
-
# though some of the options are common between them
|
104
|
-
class zOSCCompiler(UnixCCompiler):
|
105
|
-
src_extensions = ['.c', '.C', '.cc', '.cxx', '.cpp', '.m', '.s']
|
106
|
-
_cpp_extensions = ['.cc', '.cpp', '.cxx', '.C']
|
107
|
-
_asm_extensions = ['.s']
|
108
|
-
|
109
|
-
def _get_zos_compiler_name(self):
|
110
|
-
zos_compiler_names = [
|
111
|
-
os.path.basename(binary)
|
112
|
-
for envvar in ('CC', 'CXX', 'LDSHARED')
|
113
|
-
if (binary := os.environ.get(envvar, None))
|
114
|
-
]
|
115
|
-
if len(zos_compiler_names) == 0:
|
116
|
-
return 'ibm-openxl'
|
117
|
-
|
118
|
-
zos_compilers = {}
|
119
|
-
for compiler in (
|
120
|
-
'ibm-clang',
|
121
|
-
'ibm-clang64',
|
122
|
-
'ibm-clang++',
|
123
|
-
'ibm-clang++64',
|
124
|
-
'clang',
|
125
|
-
'clang++',
|
126
|
-
'clang-14',
|
127
|
-
):
|
128
|
-
zos_compilers[compiler] = 'ibm-openxl'
|
129
|
-
|
130
|
-
for compiler in ('xlclang', 'xlclang++', 'njsc', 'njsc++'):
|
131
|
-
zos_compilers[compiler] = 'ibm-xlclang'
|
132
|
-
|
133
|
-
for compiler in ('xlc', 'xlC', 'xlc++'):
|
134
|
-
zos_compilers[compiler] = 'ibm-xlc'
|
135
|
-
|
136
|
-
return zos_compilers.get(zos_compiler_names[0], 'ibm-openxl')
|
137
|
-
|
138
|
-
def __init__(self, verbose=False, dry_run=False, force=False):
|
139
|
-
super().__init__(verbose, dry_run, force)
|
140
|
-
self.zos_compiler = self._get_zos_compiler_name()
|
141
|
-
sysconfig.customize_compiler(self)
|
142
|
-
|
143
|
-
def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts):
|
144
|
-
local_args = []
|
145
|
-
if ext in self._cpp_extensions:
|
146
|
-
compiler = self.compiler_cxx
|
147
|
-
local_args.extend(_cxx_args[self.zos_compiler])
|
148
|
-
elif ext in self._asm_extensions:
|
149
|
-
compiler = self.compiler_so
|
150
|
-
local_args.extend(_cc_args[self.zos_compiler])
|
151
|
-
local_args.extend(_asm_args[self.zos_compiler])
|
152
|
-
else:
|
153
|
-
compiler = self.compiler_so
|
154
|
-
local_args.extend(_cc_args[self.zos_compiler])
|
155
|
-
local_args.extend(cc_args)
|
156
|
-
|
157
|
-
try:
|
158
|
-
self.spawn(compiler + local_args + [src, '-o', obj] + extra_postargs)
|
159
|
-
except DistutilsExecError as msg:
|
160
|
-
raise CompileError(msg)
|
161
|
-
|
162
|
-
def runtime_library_dir_option(self, dir):
|
163
|
-
return '-L' + dir
|
164
|
-
|
165
|
-
def link(
|
166
|
-
self,
|
167
|
-
target_desc,
|
168
|
-
objects,
|
169
|
-
output_filename,
|
170
|
-
output_dir=None,
|
171
|
-
libraries=None,
|
172
|
-
library_dirs=None,
|
173
|
-
runtime_library_dirs=None,
|
174
|
-
export_symbols=None,
|
175
|
-
debug=False,
|
176
|
-
extra_preargs=None,
|
177
|
-
extra_postargs=None,
|
178
|
-
build_temp=None,
|
179
|
-
target_lang=None,
|
180
|
-
):
|
181
|
-
# For a built module to use functions from cpython, it needs to use Pythons
|
182
|
-
# side deck file. The side deck is located beside the libpython3.xx.so
|
183
|
-
ldversion = sysconfig.get_config_var('LDVERSION')
|
184
|
-
if sysconfig.python_build:
|
185
|
-
side_deck_path = os.path.join(
|
186
|
-
sysconfig.get_config_var('abs_builddir'),
|
187
|
-
f'libpython{ldversion}.x',
|
188
|
-
)
|
189
|
-
else:
|
190
|
-
side_deck_path = os.path.join(
|
191
|
-
sysconfig.get_config_var('installed_base'),
|
192
|
-
sysconfig.get_config_var('platlibdir'),
|
193
|
-
f'libpython{ldversion}.x',
|
194
|
-
)
|
195
|
-
|
196
|
-
if os.path.exists(side_deck_path):
|
197
|
-
if extra_postargs:
|
198
|
-
extra_postargs.append(side_deck_path)
|
199
|
-
else:
|
200
|
-
extra_postargs = [side_deck_path]
|
201
|
-
|
202
|
-
# Check and replace libraries included side deck files
|
203
|
-
if runtime_library_dirs:
|
204
|
-
for dir in runtime_library_dirs:
|
205
|
-
for library in libraries[:]:
|
206
|
-
library_side_deck = os.path.join(dir, f'{library}.x')
|
207
|
-
if os.path.exists(library_side_deck):
|
208
|
-
libraries.remove(library)
|
209
|
-
extra_postargs.append(library_side_deck)
|
210
|
-
break
|
211
|
-
|
212
|
-
# Any required ld args for the given compiler
|
213
|
-
extra_postargs.extend(_ld_args[self.zos_compiler])
|
214
|
-
|
215
|
-
super().link(
|
216
|
-
target_desc,
|
217
|
-
objects,
|
218
|
-
output_filename,
|
219
|
-
output_dir,
|
220
|
-
libraries,
|
221
|
-
library_dirs,
|
222
|
-
runtime_library_dirs,
|
223
|
-
export_symbols,
|
224
|
-
debug,
|
225
|
-
extra_preargs,
|
226
|
-
extra_postargs,
|
227
|
-
build_temp,
|
228
|
-
target_lang,
|
229
|
-
)
|
3
|
+
zOSCCompiler = zos.Compiler
|
@@ -27,7 +27,7 @@ class Static:
|
|
27
27
|
def _prevent_modification(target: type, method: str, copying: str) -> None:
|
28
28
|
"""
|
29
29
|
Because setuptools is very flexible we cannot fully prevent
|
30
|
-
plugins and user
|
30
|
+
plugins and user customizations from modifying static values that were
|
31
31
|
parsed from config files.
|
32
32
|
But we can attempt to block "in-place" mutations and identify when they
|
33
33
|
were done.
|
@@ -278,7 +278,7 @@ class editable_wheel(Command):
|
|
278
278
|
This method implements a temporary workaround to support the ecosystem
|
279
279
|
while the implementations catch up.
|
280
280
|
"""
|
281
|
-
# TODO: Once plugins/
|
281
|
+
# TODO: Once plugins/customizations had the chance to catch up, replace
|
282
282
|
# `self._run_build_subcommands()` with `self.run_command("build")`.
|
283
283
|
# Also remove _safely_run, TestCustomBuildPy. Suggested date: Aug/2023.
|
284
284
|
build = self.get_finalized_command("build")
|
@@ -309,7 +309,7 @@ class editable_wheel(Command):
|
|
309
309
|
https://setuptools.pypa.io/en/latest/userguide/extension.html.
|
310
310
|
|
311
311
|
For the time being `setuptools` will silence this error and ignore
|
312
|
-
the faulty command, but this
|
312
|
+
the faulty command, but this behavior will change in future versions.
|
313
313
|
""",
|
314
314
|
# TODO: define due_date
|
315
315
|
# There is a series of shortcomings with the available editable install
|
@@ -564,7 +564,7 @@ def _encode_pth(content: str) -> bytes:
|
|
564
564
|
.pth files are always read with 'locale' encoding, the recommendation
|
565
565
|
from the cpython core developers is to write them as ``open(path, "w")``
|
566
566
|
and ignore warnings (see python/cpython#77102, pypa/setuptools#3937).
|
567
|
-
This function tries to simulate this
|
567
|
+
This function tries to simulate this behavior without having to create an
|
568
568
|
actual file, in a way that supports a range of active Python versions.
|
569
569
|
(There seems to be some variety in the way different version of Python handle
|
570
570
|
``encoding=None``, not all of them use ``locale.getpreferredencoding(False)``
|
@@ -68,7 +68,7 @@ class install(orig.install):
|
|
68
68
|
""",
|
69
69
|
see_url="https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html",
|
70
70
|
# TODO: Document how to bootstrap setuptools without install
|
71
|
-
# (e.g. by
|
71
|
+
# (e.g. by unzipping the wheel file)
|
72
72
|
# and then add a due_date to this warning.
|
73
73
|
)
|
74
74
|
|
@@ -420,6 +420,7 @@ class TestMetadata:
|
|
420
420
|
with get_dist(tmpdir):
|
421
421
|
pass
|
422
422
|
|
423
|
+
@pytest.mark.xfail(reason="#4864")
|
423
424
|
def test_warn_dash_deprecation(self, tmpdir):
|
424
425
|
# warn_dash_deprecation() is a method in setuptools.dist
|
425
426
|
# remove this test and the method when no longer needed
|
@@ -437,6 +438,7 @@ class TestMetadata:
|
|
437
438
|
assert metadata.author_email == 'test@test.com'
|
438
439
|
assert metadata.maintainer_email == 'foo@foo.com'
|
439
440
|
|
441
|
+
@pytest.mark.xfail(reason="#4864")
|
440
442
|
def test_make_option_lowercase(self, tmpdir):
|
441
443
|
# remove this test and the method make_option_lowercase() in setuptools.dist
|
442
444
|
# when no longer needed
|
@@ -168,7 +168,7 @@ def test_excluded_subpackages(tmpdir_cwd):
|
|
168
168
|
with pytest.warns(SetuptoolsDeprecationWarning, match=msg):
|
169
169
|
# TODO: To fix #3260 we need some transition period to deprecate the
|
170
170
|
# existing behavior of `include_package_data`. After the transition, we
|
171
|
-
# should remove the warning and fix the
|
171
|
+
# should remove the warning and fix the behavior.
|
172
172
|
|
173
173
|
if os.getenv("SETUPTOOLS_USE_DISTUTILS") == "stdlib":
|
174
174
|
# pytest.warns reset the warning filter temporarily
|
@@ -86,7 +86,7 @@ class _Utf8EncodingNeeded(SetuptoolsDeprecationWarning):
|
|
86
86
|
"""
|
87
87
|
|
88
88
|
_DETAILS = """
|
89
|
-
Fallback
|
89
|
+
Fallback behavior for UTF-8 is considered **deprecated** and future versions of
|
90
90
|
`setuptools` may not implement it.
|
91
91
|
|
92
92
|
Please encode {file!r} with "utf-8" to ensure future builds will succeed.
|
@@ -76,7 +76,7 @@ def main():
|
|
76
76
|
# > UnicodeEncodeError: \'charmap\' codec can\'t encode character \'\\u200e\' in position 57: character maps to <undefined>\r\n'
|
77
77
|
# Can't reproduce when running manually, so it seems more a subprocess.Popen()
|
78
78
|
# than ours:
|
79
|
-
print(" Failed to decode:
|
79
|
+
print(f" Failed to decode: {message!r}")
|
80
80
|
|
81
81
|
|
82
82
|
if __name__ == "__main__":
|
@@ -1,4 +1,8 @@
|
|
1
1
|
## Demonstrates a "push" subscription with a callback function
|
2
|
+
from __future__ import annotations
|
3
|
+
|
4
|
+
from time import sleep
|
5
|
+
|
2
6
|
import win32evtlog
|
3
7
|
|
4
8
|
query_text = '*[System[Provider[@Name="Microsoft-Windows-Winlogon"]]]'
|
@@ -15,7 +19,7 @@ def c(reason, context, evt):
|
|
15
19
|
return 0
|
16
20
|
|
17
21
|
|
18
|
-
evttext = []
|
22
|
+
evttext: list[str] = []
|
19
23
|
s = win32evtlog.EvtSubscribe(
|
20
24
|
"System",
|
21
25
|
win32evtlog.EvtSubscribeStartAtOldestRecord,
|
@@ -23,3 +27,6 @@ s = win32evtlog.EvtSubscribe(
|
|
23
27
|
Callback=c,
|
24
28
|
Context=evttext,
|
25
29
|
)
|
30
|
+
|
31
|
+
sleep(0.001)
|
32
|
+
print("\n".join(evttext))
|
@@ -17,10 +17,10 @@ fname, customfilter, flags = win32gui.GetSaveFileNameW(
|
|
17
17
|
FilterIndex=1,
|
18
18
|
)
|
19
19
|
|
20
|
-
print("save file names:
|
21
|
-
print("filter used:
|
22
|
-
print("Flags:
|
23
|
-
for k, v in
|
20
|
+
print(f"save file names: {fname!r}")
|
21
|
+
print(f"filter used: {customfilter!r}")
|
22
|
+
print(f"Flags: {flags}")
|
23
|
+
for k, v in win32con.__dict__.items():
|
24
24
|
if k.startswith("OFN_") and flags & v:
|
25
25
|
print("\t" + k)
|
26
26
|
|
@@ -35,9 +35,9 @@ fname, customfilter, flags = win32gui.GetOpenFileNameW(
|
|
35
35
|
FilterIndex=0,
|
36
36
|
)
|
37
37
|
|
38
|
-
print("open file names:
|
39
|
-
print("filter used:
|
40
|
-
print("Flags:
|
41
|
-
for k, v in
|
38
|
+
print(f"open file names: {fname!r}")
|
39
|
+
print(f"filter used: {customfilter!r}")
|
40
|
+
print(f"Flags: {flags}")
|
41
|
+
for k, v in win32con.__dict__.items():
|
42
42
|
if k.startswith("OFN_") and flags & v:
|
43
43
|
print("\t" + k)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# A sample distutils script to show to build your own
|
2
2
|
# extension module which extends pywintypes or pythoncom.
|
3
3
|
#
|
4
|
-
# Use 'python
|
4
|
+
# Use 'python -m build' to build this extension.
|
5
5
|
import os
|
6
6
|
from setuptools import Extension, setup
|
7
7
|
from sysconfig import get_paths
|
@@ -26,7 +26,7 @@ pairs = win32api.GetFileVersionInfo(fname, "\\VarFileInfo\\Translation")
|
|
26
26
|
## \VarFileInfo\Translation returns list of available (language, codepage) pairs that can be used to retreive string info
|
27
27
|
## any other must be of the form \StringfileInfo\%04X%04X\parm_name, middle two are language/codepage pair returned from above
|
28
28
|
for lang, codepage in pairs:
|
29
|
-
print("lang:
|
29
|
+
print("lang:", lang, "codepage:", codepage)
|
30
30
|
for ver_string in ver_strings:
|
31
31
|
str_info = f"\\StringFileInfo\\{lang:04X}{codepage:04X}\\{ver_string}"
|
32
32
|
# print(str_inf)
|
@@ -100,10 +100,10 @@ class Process:
|
|
100
100
|
self.stdin.close()
|
101
101
|
|
102
102
|
self.stdout = os.fdopen(msvcrt.open_osfhandle(self.hStdout_r, 0), "rb")
|
103
|
-
print("Read on stdout:
|
103
|
+
print(f"Read on stdout: {self.stdout.read()!r}")
|
104
104
|
|
105
105
|
self.stderr = os.fdopen(msvcrt.open_osfhandle(self.hStderr_r, 0), "rb")
|
106
|
-
print("Read on stderr:
|
106
|
+
print(f"Read on stderr: {self.stderr.read()!r}")
|
107
107
|
|
108
108
|
|
109
109
|
if __name__ == "__main__":
|
@@ -4,18 +4,16 @@
|
|
4
4
|
import os
|
5
5
|
import sys
|
6
6
|
|
7
|
+
import win32event
|
7
8
|
import win32ras
|
8
9
|
|
9
10
|
# Build a little dictionary of RAS states to decent strings.
|
10
11
|
# eg win32ras.RASCS_OpenPort -> "OpenPort"
|
11
|
-
stateMap = {
|
12
|
-
for name, val in
|
13
|
-
|
14
|
-
stateMap[val] = name[6:]
|
12
|
+
stateMap = {
|
13
|
+
val: name[6:] for name, val in win32ras.__dict__.items() if name[:6] == "RASCS_"
|
14
|
+
}
|
15
15
|
|
16
16
|
# Use a lock so the callback can tell the main thread when it is finished.
|
17
|
-
import win32event
|
18
|
-
|
19
17
|
callbackEvent = win32event.CreateEvent(None, 0, 0, None)
|
20
18
|
|
21
19
|
|
@@ -1,5 +1,5 @@
|
|
1
|
-
"""
|
2
|
-
|
1
|
+
"""Lists various types of information about current user's access token,
|
2
|
+
including UAC status on Vista
|
3
3
|
"""
|
4
4
|
|
5
5
|
import pywintypes
|
@@ -40,7 +40,7 @@ def dump_token(th):
|
|
40
40
|
flag_names, unk = TOKEN_PRIVILEGE_ATTRIBUTES.lookup_flags(priv_flags)
|
41
41
|
flag_desc = " ".join(flag_names)
|
42
42
|
if unk:
|
43
|
-
flag_desc += "(
|
43
|
+
flag_desc += f"({unk})"
|
44
44
|
|
45
45
|
priv_name = win32security.LookupPrivilegeName("", priv_luid)
|
46
46
|
priv_desc = win32security.LookupPrivilegeDisplayName("", priv_name)
|
@@ -52,7 +52,7 @@ def dump_token(th):
|
|
52
52
|
flag_names, unk = TOKEN_GROUP_ATTRIBUTES.lookup_flags(group_attr)
|
53
53
|
flag_desc = " ".join(flag_names)
|
54
54
|
if unk:
|
55
|
-
flag_desc += "(
|
55
|
+
flag_desc += f"({unk})"
|
56
56
|
if group_attr & TOKEN_GROUP_ATTRIBUTES.SE_GROUP_LOGON_ID:
|
57
57
|
sid_desc = "Logon sid"
|
58
58
|
else:
|
@@ -1,11 +1,16 @@
|
|
1
1
|
# A Python port of the MS knowledge base article Q157234
|
2
2
|
# "How to deal with localized and renamed user and group names"
|
3
|
-
#
|
3
|
+
# https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/157234
|
4
4
|
|
5
5
|
import sys
|
6
6
|
|
7
7
|
import pywintypes
|
8
|
-
from ntsecuritycon import
|
8
|
+
from ntsecuritycon import (
|
9
|
+
DOMAIN_ALIAS_RID_ADMINS,
|
10
|
+
DOMAIN_USER_RID_ADMIN,
|
11
|
+
SECURITY_BUILTIN_DOMAIN_RID,
|
12
|
+
SECURITY_NT_AUTHORITY,
|
13
|
+
)
|
9
14
|
from win32net import NetUserModalsGet
|
10
15
|
from win32security import LookupAccountSid
|
11
16
|
|
@@ -3,7 +3,6 @@ import os
|
|
3
3
|
import ntsecuritycon
|
4
4
|
import win32api
|
5
5
|
import win32con
|
6
|
-
import win32file
|
7
6
|
import win32security
|
8
7
|
from win32security import (
|
9
8
|
ACL_REVISION_DS,
|
@@ -59,7 +58,7 @@ dir_dacl.AddAccessAllowedAceEx(
|
|
59
58
|
win32con.GENERIC_ALL,
|
60
59
|
my_sid,
|
61
60
|
)
|
62
|
-
## keep dir from inheriting any permissions so it only has ACEs
|
61
|
+
## keep dir from inheriting any permissions so it only has ACEs explicitly set here
|
63
62
|
win32security.SetNamedSecurityInfo(
|
64
63
|
dir_name,
|
65
64
|
SE_FILE_OBJECT,
|
@@ -36,7 +36,7 @@ def open_url(host, url):
|
|
36
36
|
print("After redirect response is", resp.status, resp.reason)
|
37
37
|
if options.show_headers:
|
38
38
|
print("Initial response headers:")
|
39
|
-
for name, val in
|
39
|
+
for name, val in resp.msg.items():
|
40
40
|
print(f" {name}: {val}")
|
41
41
|
if options.show_body:
|
42
42
|
print(body)
|
@@ -60,7 +60,7 @@ def open_url(host, url):
|
|
60
60
|
resp = h.getresponse()
|
61
61
|
if options.show_headers:
|
62
62
|
print("Token dance headers:")
|
63
|
-
for name, val in
|
63
|
+
for name, val in resp.msg.items():
|
64
64
|
print(f" {name}: {val}")
|
65
65
|
|
66
66
|
if err == 0:
|
@@ -107,7 +107,7 @@ def open_url(host, url):
|
|
107
107
|
print("Second fetch response is", resp.status, resp.reason)
|
108
108
|
if options.show_headers:
|
109
109
|
print("Second response headers:")
|
110
|
-
for name, val in
|
110
|
+
for name, val in resp.msg.items():
|
111
111
|
print(f" {name}: {val}")
|
112
112
|
|
113
113
|
resp.read(int(resp.msg.get("content-length", 0)))
|
@@ -9,7 +9,7 @@ import win32security
|
|
9
9
|
|
10
10
|
|
11
11
|
def lookup_ret_code(err):
|
12
|
-
for k, v in
|
12
|
+
for k, v in sspicon.__dict__.items():
|
13
13
|
if k[0:6] in ("SEC_I_", "SEC_E_") and v == err:
|
14
14
|
return k
|
15
15
|
|
@@ -67,6 +67,6 @@ encbuf.append(win32security.PySecBufferType(len(msg), sspicon.SECBUFFER_DATA))
|
|
67
67
|
encbuf.append(win32security.PySecBufferType(trailersize, sspicon.SECBUFFER_TOKEN))
|
68
68
|
encbuf[0].Buffer = msg
|
69
69
|
sspiclient.ctxt.EncryptMessage(0, encbuf, 1)
|
70
|
-
print("Encrypted data:
|
70
|
+
print(f"Encrypted data: {encbuf[0].Buffer!r}")
|
71
71
|
sspiserver.ctxt.DecryptMessage(encbuf, 1)
|
72
|
-
print("
|
72
|
+
print(f"Encrypted data: {encbuf[0].Buffer}")
|