py2docfx 0.1.15rc2025477__py3-none-any.whl → 0.1.16.dev2051338__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/docfx_yaml/process_doctree.py +21 -34
- py2docfx/docfx_yaml/tests/test_method_arguments.py +1 -7
- py2docfx/docfx_yaml/tests/test_process_doctree.py +120 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_core_metadata.py +21 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +13 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/ccompiler.py +5 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build.py +1 -6
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build_clib.py +1 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build_ext.py +1 -8
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/check.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/config.py +0 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/install.py +8 -17
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compat/numpy.py +2 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/base.py +8 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/msvc.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/unix.py +15 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/dist.py +2 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/sysconfig.py +0 -10
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/tests/test_build_ext.py +60 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/unixccompiler.py +6 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/util.py +7 -6
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_normalization.py +29 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/__init__.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/_bdist_wheel.py +613 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/_setuptools_logging.py +2 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/bdist_wheel.py +25 -594
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/cli/__init__.py +6 -6
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/cli/convert.py +282 -223
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/macosx_libfile.py +22 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/metadata.py +16 -13
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/util.py +0 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/wheelfile.py +40 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/command/bdist_wheel.py +6 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_apply_pyprojecttoml.py +49 -11
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_validate_pyproject/extra_validations.py +31 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_validations.py +222 -129
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_validate_pyproject/formats.py +30 -3
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/dist.py +168 -51
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/msvc.py +12 -3
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/config/test_apply_pyprojecttoml.py +246 -13
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/config/test_setupcfg.py +42 -29
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/integration/test_pip_install_sdist.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_bdist_wheel.py +93 -8
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_build_meta.py +17 -4
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_core_metadata.py +45 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_egg_info.py +24 -4
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_sdist.py +13 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/any_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/api_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/compiler/plugin_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/descriptor_database.py +22 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/descriptor_pb2.py +82 -35
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/duration_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/empty_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/field_mask_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/builder.py +4 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/containers.py +13 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/decoder.py +62 -115
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/python_edition_defaults.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/python_message.py +15 -18
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/testing_refleaks.py +4 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/type_checkers.py +5 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/well_known_types.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/json_format.py +25 -9
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/message.py +26 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/message_factory.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/proto.py +38 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/proto_text.py +129 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/reflection.py +0 -49
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/runtime_version.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/source_context_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/struct_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/symbol_database.py +0 -18
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/text_format.py +8 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/timestamp_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/type_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/unknown_fields.py +3 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/wrappers_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/msal/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/msal/application.py +51 -17
- py2docfx/venv/venv1/Lib/site-packages/msal/broker.py +18 -4
- py2docfx/venv/venv1/Lib/site-packages/msal/cloudshell.py +5 -1
- py2docfx/venv/venv1/Lib/site-packages/msal/managed_identity.py +5 -4
- py2docfx/venv/venv1/Lib/site-packages/msal/sku.py +6 -0
- py2docfx/venv/venv1/Lib/site-packages/msal/token_cache.py +31 -10
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/__init__.py +2 -3
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/cache_lock.py +4 -1
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/filelock.py +62 -0
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/libsecret.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/token_cache.py +7 -1
- py2docfx/venv/venv1/Lib/site-packages/pyasn1_modules/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_core_metadata.py +21 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +13 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/ccompiler.py +5 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build.py +1 -6
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build_clib.py +1 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build_ext.py +1 -8
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/check.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/config.py +0 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/install.py +8 -17
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compat/numpy.py +2 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/base.py +8 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/msvc.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/unix.py +15 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/dist.py +2 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/sysconfig.py +0 -10
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/tests/test_build_ext.py +60 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/unixccompiler.py +6 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/util.py +7 -6
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_normalization.py +29 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/_bdist_wheel.py +613 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/_setuptools_logging.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/bdist_wheel.py +25 -594
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/cli/__init__.py +6 -6
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/cli/convert.py +282 -223
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/macosx_libfile.py +22 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/metadata.py +16 -13
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/util.py +0 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/wheelfile.py +40 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/command/bdist_wheel.py +6 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_apply_pyprojecttoml.py +49 -11
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_validate_pyproject/extra_validations.py +31 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_validations.py +222 -129
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_validate_pyproject/formats.py +30 -3
- py2docfx/venv/venv1/Lib/site-packages/setuptools/dist.py +168 -51
- py2docfx/venv/venv1/Lib/site-packages/setuptools/msvc.py +12 -3
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/config/test_apply_pyprojecttoml.py +246 -13
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/config/test_setupcfg.py +42 -29
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/integration/test_pip_install_sdist.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_bdist_wheel.py +93 -8
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_build_meta.py +17 -4
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_core_metadata.py +45 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_egg_info.py +24 -4
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_sdist.py +13 -1
- py2docfx/venv/venv1/Lib/site-packages/typing_extensions.py +999 -74
- {py2docfx-0.1.15rc2025477.dist-info → py2docfx-0.1.16.dev2051338.dist-info}/METADATA +1 -1
- {py2docfx-0.1.15rc2025477.dist-info → py2docfx-0.1.16.dev2051338.dist-info}/RECORD +141 -596
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/__init__.py +0 -82
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/ado_consts.py +0 -283
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/adodbapi.py +0 -1153
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/apibase.py +0 -723
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/db_print.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/db_table_names.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/xls_read.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/xls_write.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/is64bit.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/process_connect_string.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/schema_table.py +0 -16
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/setup.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/adodbapitest.py +0 -1547
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/adodbapitestconfig.py +0 -184
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/dbapi20.py +0 -879
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/is64bit.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/setuptestframework.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/test_adodbapi_dbapi20.py +0 -195
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/tryconnection.py +0 -30
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/_parameterized.py +0 -420
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/service.py +0 -213
- py2docfx/venv/venv1/Lib/site-packages/isapi/__init__.py +0 -39
- py2docfx/venv/venv1/Lib/site-packages/isapi/install.py +0 -809
- py2docfx/venv/venv1/Lib/site-packages/isapi/isapicon.py +0 -121
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/advanced.py +0 -218
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector.py +0 -116
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector_asynch.py +0 -85
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector_with_filter.py +0 -162
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/test.py +0 -195
- py2docfx/venv/venv1/Lib/site-packages/isapi/simple.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/isapi/test/extension_simple.py +0 -114
- py2docfx/venv/venv1/Lib/site-packages/isapi/threaded_extension.py +0 -191
- py2docfx/venv/venv1/Lib/site-packages/portalocker/__about__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/portalocker/__init__.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/portalocker/__main__.py +0 -122
- py2docfx/venv/venv1/Lib/site-packages/portalocker/constants.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/portalocker/exceptions.py +0 -27
- py2docfx/venv/venv1/Lib/site-packages/portalocker/portalocker.py +0 -154
- py2docfx/venv/venv1/Lib/site-packages/portalocker/redis.py +0 -236
- py2docfx/venv/venv1/Lib/site-packages/portalocker/utils.py +0 -569
- py2docfx/venv/venv1/Lib/site-packages/pythoncom.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/basictimerapp.py +0 -258
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/customprint.py +0 -183
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/demoutils.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/dlgappdemo.py +0 -51
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/dojobapp.py +0 -71
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/helloapp.py +0 -53
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/cmdserver.py +0 -113
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/createwin.py +0 -114
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/demoutils.py +0 -65
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/dibdemo.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/dlgtest.py +0 -145
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/dyndlg.py +0 -104
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/fontdemo.py +0 -85
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/guidemo.py +0 -53
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/hiertest.py +0 -138
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/menutest.py +0 -13
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/objdoc.py +0 -57
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/demoutils.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/flash.py +0 -95
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/msoffice.py +0 -159
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/ocxserialtest.py +0 -132
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/ocxtest.py +0 -243
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/webbrowser.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/openGLDemo.py +0 -415
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/progressbar.py +0 -105
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/sliderdemo.py +0 -76
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/splittst.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/threadedgui.py +0 -189
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/toolbar.py +0 -105
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/__init__.py +0 -3
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/__init__.py +0 -133
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/configui.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/dbgcon.py +0 -31
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/dbgpyapp.py +0 -48
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/debugger.py +0 -1097
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/fail.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/ideoptions.py +0 -136
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/list.py +0 -146
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/login.py +0 -155
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/status.py +0 -242
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/docking/DockingBar.py +0 -676
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/docking/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/app.py +0 -411
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/bitmap.py +0 -168
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/cmdline.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/dbgcommands.py +0 -188
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/dlgappcore.py +0 -76
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/ModuleBrowser.py +0 -235
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/__init__.py +0 -105
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/color/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/color/coloreditor.py +0 -646
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/configui.py +0 -299
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/document.py +0 -379
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/editor.py +0 -511
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/frame.py +0 -74
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/template.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/vss.py +0 -104
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/help.py +0 -173
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/interact.py +0 -995
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/intpyapp.py +0 -552
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/intpydde.py +0 -65
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/scriptutils.py +0 -684
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/sgrepmdi.py +0 -749
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/startup.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/stdin.py +0 -172
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/toolmenu.py +0 -279
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/window.py +0 -14
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/winout.py +0 -589
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/AutoExpand.py +0 -95
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/AutoIndent.py +0 -536
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/CallTips.py +0 -216
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/FormatParagraph.py +0 -166
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/IdleHistory.py +0 -87
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/PyParse.py +0 -585
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/activex.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/afxres.py +0 -501
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/dialog.py +0 -277
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/docview.py +0 -151
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/object.py +0 -66
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/thread.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/window.py +0 -50
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/IDLEenvironment.py +0 -593
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/bindings.py +0 -180
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/config.py +0 -363
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/configui.py +0 -291
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/control.py +0 -565
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/document.py +0 -312
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/find.py +0 -511
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/formatter.py +0 -704
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/keycodes.py +0 -190
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/scintillacon.py +0 -3083
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/view.py +0 -841
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/TraceCollector.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/browseProjects.py +0 -323
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/browser.py +0 -494
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/hierlist.py +0 -353
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/regedit.py +0 -382
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/regpy.py +0 -80
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/BackupRead_BackupWrite.py +0 -119
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/BackupSeek_streamheaders.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/CopyFileEx.py +0 -57
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/CreateFileTransacted_MiniVersion.py +0 -122
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtFormatMessage.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtSubscribe_pull.py +0 -28
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtSubscribe_push.py +0 -32
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/FileSecurityTest.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/GetSaveFileName.py +0 -43
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/NetValidatePasswordPolicy.py +0 -127
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/OpenEncryptedFileRaw.py +0 -66
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/RegCreateKeyTransacted.py +0 -60
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/RegRestoreKey.py +0 -71
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/SystemParametersInfo.py +0 -210
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/c_extension/setup.py +0 -26
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/dde/ddeclient.py +0 -18
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/dde/ddeserver.py +0 -42
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/desktopmanager.py +0 -246
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/eventLogDemo.py +0 -143
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/getfilever.py +0 -33
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/mmapfile_demo.py +0 -101
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/pipes/cat.py +0 -17
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/pipes/runproc.py +0 -114
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/print_desktop.py +0 -113
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/rastest.py +0 -166
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/GetTokenInformation.py +0 -110
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/account_rights.py +0 -49
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/explicit_entries.py +0 -170
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/get_policy_info.py +0 -39
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/list_rights.py +0 -35
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/localized_names.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/lsaregevent.py +0 -14
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/lsastore.py +0 -12
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/query_information.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/regsave_sa.py +0 -61
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/regsecurity.py +0 -36
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sa_inherit.py +0 -8
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/security_enums.py +0 -336
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_file_audit.py +0 -106
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_file_owner.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_policy_info.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setkernelobjectsecurity.py +0 -134
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setnamedsecurityinfo.py +0 -131
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setsecurityinfo.py +0 -131
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setuserobjectsecurity.py +0 -102
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/fetch_url.py +0 -158
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/simple_auth.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/socket_server.py +0 -199
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/validate_password.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/nativePipeTestService.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/pipeTestService.py +0 -185
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/pipeTestServiceClient.py +0 -158
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/serviceEvents.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/timer_demo.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32clipboardDemo.py +0 -155
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32clipboard_bitmapdemo.py +0 -117
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32comport_demo.py +0 -174
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32console_demo.py +0 -132
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32cred_demo.py +0 -82
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32fileDemo.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_demo.py +0 -177
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_devicenotify.py +0 -106
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_dialog.py +0 -445
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_menu.py +0 -464
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_taskbar.py +0 -136
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32netdemo.py +0 -272
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32rcparser_demo.py +0 -86
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32servicedemo.py +0 -23
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32ts_logoff_disconnected.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32wnet/testwnet.py +0 -123
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32wnet/winnetwk.py +0 -100
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/winprocess.py +0 -230
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/_win32verstamp_pywin32ctypes.py +0 -164
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/afxres.py +0 -8
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/commctrl.py +0 -1551
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/mmsystem.py +0 -956
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/netbios.py +0 -293
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/ntsecuritycon.py +0 -731
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywin32_bootstrap.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywin32_testutil.py +0 -291
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywintypes.py +0 -124
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/rasutil.py +0 -40
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/regcheck.py +0 -161
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/regutil.py +0 -395
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/sspi.py +0 -413
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/sspicon.py +0 -477
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win2kras.py +0 -14
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32con.py +0 -5064
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32cryptcon.py +0 -1922
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32evtlogutil.py +0 -225
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32gui_struct.py +0 -957
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32inetcon.py +0 -1086
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32netcon.py +0 -627
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32pdhquery.py +0 -570
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32pdhutil.py +0 -212
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32rcparser.py +0 -674
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32serviceutil.py +0 -1073
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32timezone.py +0 -1201
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32traceutil.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32verstamp.py +0 -235
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winerror.py +0 -7362
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winioctlcon.py +0 -1079
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winnt.py +0 -1347
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winperf.py +0 -236
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winxptheme.py +0 -8
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/ControlService.py +0 -594
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/VersionStamp/BrandProject.py +0 -97
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/VersionStamp/bulkstamp.py +0 -156
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/VersionStamp/vssutil.py +0 -201
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/backupEventLog.py +0 -46
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/h2py.py +0 -194
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/killProcName.py +0 -62
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/pywin32_postinstall.py +0 -733
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/pywin32_testall.py +0 -120
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/rasutil.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/regsetup.py +0 -607
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/setup_d.py +0 -111
- py2docfx/venv/venv1/Lib/site-packages/win32/test/handles.py +0 -175
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_clipboard.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_exceptions.py +0 -213
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_odbc.py +0 -264
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_pywintypes.py +0 -111
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_security.py +0 -166
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_sspi.py +0 -229
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32api.py +0 -273
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32clipboard.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32cred.py +0 -91
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32crypt.py +0 -144
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32event.py +0 -119
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32file.py +0 -1096
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32gui.py +0 -227
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32guistruct.py +0 -333
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32inet.py +0 -108
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32net.py +0 -23
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32pipe.py +0 -148
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32print.py +0 -24
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32profile.py +0 -19
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32rcparser.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32timezone.py +0 -16
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32trace.py +0 -366
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32ts.py +0 -19
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32wnet.py +0 -174
- py2docfx/venv/venv1/Lib/site-packages/win32/test/testall.py +0 -223
- py2docfx/venv/venv1/Lib/site-packages/win32/winxpgui.py +0 -13
- py2docfx/venv/venv1/Lib/site-packages/win32com/__init__.py +0 -134
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/CLSIDToClass.py +0 -60
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/__init__.py +0 -717
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/build.py +0 -771
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/combrowse.py +0 -604
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/connect.py +0 -48
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/dynamic.py +0 -699
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/gencache.py +0 -825
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/genpy.py +0 -1350
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/makepy.py +0 -453
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/selecttlb.py +0 -182
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/tlbrowse.py +0 -277
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/util.py +0 -103
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/connect.py +0 -96
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/dump_clipboard.py +0 -74
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/eventsApartmentThreaded.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/eventsFreeThreaded.py +0 -92
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/excelAddin.py +0 -169
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/excelRTDServer.py +0 -434
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/iebutton.py +0 -214
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/ietoolbar.py +0 -368
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/outlookAddin.py +0 -135
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/trybag.py +0 -78
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegw.py +0 -618
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegwenum.py +0 -331
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegwparse.py +0 -1017
- py2docfx/venv/venv1/Lib/site-packages/win32com/olectl.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/connect.py +0 -85
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/dispatcher.py +0 -239
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/exception.py +0 -99
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/factory.py +0 -26
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/localserver.py +0 -53
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/policy.py +0 -803
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/register.py +0 -677
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/util.py +0 -229
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/PythonTools.py +0 -47
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/dictionary.py +0 -133
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/interp.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/perfmon.py +0 -36
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/test_pycomtest.py +0 -181
- py2docfx/venv/venv1/Lib/site-packages/win32com/storagecon.py +0 -142
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/GenTestScripts.py +0 -95
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/daodump.py +0 -88
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/errorSemantics.py +0 -243
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/pippo_server.py +0 -96
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/policySemantics.py +0 -115
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testADOEvents.py +0 -100
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testAXScript.py +0 -44
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testAccess.py +0 -185
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testArrays.py +0 -99
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testClipboard.py +0 -169
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testCollections.py +0 -159
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testConversionErrors.py +0 -35
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDCOM.py +0 -50
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDates.py +0 -74
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDictionary.py +0 -101
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDynamic.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testExchange.py +0 -121
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testExplorer.py +0 -139
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testGIT.py +0 -142
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testGatewayAddresses.py +0 -149
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testIterators.py +0 -140
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMSOffice.py +0 -184
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMSOfficeEvents.py +0 -138
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMarshal.py +0 -160
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPersist.py +0 -227
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPippo.py +0 -80
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPyComTest.py +0 -918
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testROT.py +0 -29
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testServers.py +0 -51
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testShell.py +0 -272
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testStorage.py +0 -88
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testStreams.py +0 -147
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testWMI.py +0 -18
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testall.py +0 -320
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testmakepy.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testvb.py +0 -583
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testvbscript_regexp.py +0 -40
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testxslt.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/util.py +0 -262
- py2docfx/venv/venv1/Lib/site-packages/win32com/universal.py +0 -224
- py2docfx/venv/venv1/Lib/site-packages/win32com/util.py +0 -35
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/__init__.py +0 -113
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/adsicon.py +0 -340
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/objectPicker.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/scp.py +0 -565
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/search.py +0 -151
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/test.py +0 -274
- py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/__init__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/demos/EditSecurity.py +0 -229
- py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/demos/EditServiceSecurity.py +0 -219
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axcontrol/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/adb.py +0 -467
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/codecontainer.py +0 -279
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/contexts.py +0 -58
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/debugger.py +0 -238
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/documents.py +0 -135
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/dump.py +0 -57
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/expressions.py +0 -212
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/gateways.py +0 -583
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/stackframe.py +0 -178
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/util.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/asputil.py +0 -13
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/debug.py +0 -223
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/error.py +0 -262
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/framework.py +0 -1291
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pydumper.py +0 -78
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pyscript.py +0 -438
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pyscript_rexec.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/scriptdispatch.py +0 -103
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/server/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/server/axsite.py +0 -145
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/leakTest.py +0 -185
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/testHost.py +0 -240
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/testHost4Dbg.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32comext/bits/__init__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/win32comext/bits/test/show_all_jobs.py +0 -48
- py2docfx/venv/venv1/Lib/site-packages/win32comext/bits/test/test_bits.py +0 -119
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/test/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/test/ds_record.py +0 -60
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/test/ds_test.py +0 -402
- py2docfx/venv/venv1/Lib/site-packages/win32comext/ifilter/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/ifilter/demo/filterDemo.py +0 -300
- py2docfx/venv/venv1/Lib/site-packages/win32comext/ifilter/ifiltercon.py +0 -110
- py2docfx/venv/venv1/Lib/site-packages/win32comext/internet/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/internet/inetcon.py +0 -261
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/__init__.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/demos/mapisend.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/emsabtags.py +0 -875
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/mapitags.py +0 -1023
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/mapiutil.py +0 -211
- py2docfx/venv/venv1/Lib/site-packages/win32comext/propsys/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/propsys/pscon.py +0 -838
- py2docfx/venv/venv1/Lib/site-packages/win32comext/propsys/test/testpropsys.py +0 -5
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IActiveDesktop.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IFileOperationProgressSink.py +0 -179
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IShellLinkDataList.py +0 -67
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/ITransferAdviseSink.py +0 -93
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IUniformResourceLocator.py +0 -56
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/browse_for_folder.py +0 -45
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/create_link.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/dump_link.py +0 -58
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/explorer_browser.py +0 -143
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/column_provider.py +0 -125
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/context_menu.py +0 -122
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/copy_hook.py +0 -84
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/empty_volume_cache.py +0 -188
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/folder_view.py +0 -866
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/icon_handler.py +0 -81
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/shell_view.py +0 -971
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/shellexecuteex.py +0 -19
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/viewstate.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/walk_shell_folders.py +0 -24
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/shellcon.py +0 -1615
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/test/testSHFileOperation.py +0 -75
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/test/testShellFolder.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/test/testShellItem.py +0 -69
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/__init__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_addtask.py +0 -66
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_addtask_1.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_addtask_2.py +0 -49
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_localsystem.py +0 -3
- py2docfx/venv/venv1/Scripts/pywin32_postinstall.py +0 -733
- py2docfx/venv/venv1/Scripts/pywin32_testall.py +0 -120
- {py2docfx-0.1.15rc2025477.dist-info → py2docfx-0.1.16.dev2051338.dist-info}/WHEEL +0 -0
- {py2docfx-0.1.15rc2025477.dist-info → py2docfx-0.1.16.dev2051338.dist-info}/top_level.txt +0 -0
@@ -1,552 +0,0 @@
|
|
1
|
-
# intpyapp.py - Interactive Python application class
|
2
|
-
#
|
3
|
-
import os
|
4
|
-
import sys
|
5
|
-
import traceback
|
6
|
-
|
7
|
-
import __main__
|
8
|
-
import commctrl
|
9
|
-
import win32api
|
10
|
-
import win32con
|
11
|
-
import win32ui
|
12
|
-
from pywin.mfc import afxres, dialog, docview
|
13
|
-
|
14
|
-
from . import app, dbgcommands
|
15
|
-
|
16
|
-
lastLocateFileName = ".py" # used in the "File/Locate" dialog...
|
17
|
-
|
18
|
-
|
19
|
-
# todo - _SetupSharedMenu should be moved to a framework class.
|
20
|
-
def _SetupSharedMenu_(self):
|
21
|
-
sharedMenu = self.GetSharedMenu()
|
22
|
-
from pywin.framework import toolmenu
|
23
|
-
|
24
|
-
toolmenu.SetToolsMenu(sharedMenu)
|
25
|
-
from pywin.framework import help
|
26
|
-
|
27
|
-
help.SetHelpMenuOtherHelp(sharedMenu)
|
28
|
-
|
29
|
-
|
30
|
-
docview.DocTemplate._SetupSharedMenu_ = _SetupSharedMenu_ # type: ignore[method-assign]
|
31
|
-
|
32
|
-
|
33
|
-
class MainFrame(app.MainFrame):
|
34
|
-
def OnCreate(self, createStruct):
|
35
|
-
self.closing = 0
|
36
|
-
if app.MainFrame.OnCreate(self, createStruct) == -1:
|
37
|
-
return -1
|
38
|
-
style = (
|
39
|
-
win32con.WS_CHILD
|
40
|
-
| afxres.CBRS_SIZE_DYNAMIC
|
41
|
-
| afxres.CBRS_TOP
|
42
|
-
| afxres.CBRS_TOOLTIPS
|
43
|
-
| afxres.CBRS_FLYBY
|
44
|
-
)
|
45
|
-
|
46
|
-
self.EnableDocking(afxres.CBRS_ALIGN_ANY)
|
47
|
-
|
48
|
-
tb = win32ui.CreateToolBar(self, style | win32con.WS_VISIBLE)
|
49
|
-
tb.ModifyStyle(0, commctrl.TBSTYLE_FLAT)
|
50
|
-
tb.LoadToolBar(win32ui.IDR_MAINFRAME)
|
51
|
-
tb.EnableDocking(afxres.CBRS_ALIGN_ANY)
|
52
|
-
tb.SetWindowText("Standard")
|
53
|
-
self.DockControlBar(tb)
|
54
|
-
# Any other packages which use toolbars
|
55
|
-
from pywin.debugger.debugger import PrepareControlBars
|
56
|
-
|
57
|
-
PrepareControlBars(self)
|
58
|
-
# Note "interact" also uses dockable windows, but they already happen
|
59
|
-
|
60
|
-
# And a "Tools" menu on the main frame.
|
61
|
-
menu = self.GetMenu()
|
62
|
-
from . import toolmenu
|
63
|
-
|
64
|
-
toolmenu.SetToolsMenu(menu, 2)
|
65
|
-
# And fix the "Help" menu on the main frame
|
66
|
-
from pywin.framework import help
|
67
|
-
|
68
|
-
help.SetHelpMenuOtherHelp(menu)
|
69
|
-
|
70
|
-
def OnClose(self):
|
71
|
-
try:
|
72
|
-
import pywin.debugger
|
73
|
-
|
74
|
-
if (
|
75
|
-
pywin.debugger.currentDebugger is not None
|
76
|
-
and pywin.debugger.currentDebugger.pumping
|
77
|
-
):
|
78
|
-
try:
|
79
|
-
pywin.debugger.currentDebugger.close(1)
|
80
|
-
except:
|
81
|
-
traceback.print_exc()
|
82
|
-
return
|
83
|
-
except win32ui.error:
|
84
|
-
pass
|
85
|
-
self.closing = 1
|
86
|
-
self.SaveBarState("ToolbarDefault")
|
87
|
-
self.SetActiveView(None) # Otherwise MFC's OnClose may _not_ prompt for save.
|
88
|
-
|
89
|
-
from pywin.framework import help
|
90
|
-
|
91
|
-
help.FinalizeHelp()
|
92
|
-
|
93
|
-
self.DestroyControlBar(afxres.AFX_IDW_TOOLBAR)
|
94
|
-
self.DestroyControlBar(win32ui.ID_VIEW_TOOLBAR_DBG)
|
95
|
-
|
96
|
-
return self._obj_.OnClose()
|
97
|
-
|
98
|
-
def DestroyControlBar(self, id):
|
99
|
-
try:
|
100
|
-
bar = self.GetControlBar(id)
|
101
|
-
except win32ui.error:
|
102
|
-
return
|
103
|
-
bar.DestroyWindow()
|
104
|
-
|
105
|
-
def OnCommand(self, wparam, lparam):
|
106
|
-
# By default, the current MDI child frame will process WM_COMMAND
|
107
|
-
# messages before any docked control bars - even if the control bar
|
108
|
-
# has focus. This is a problem for the interactive window when docked.
|
109
|
-
# Therefore, we detect the situation of a view having the main frame
|
110
|
-
# as its parent, and assume it must be a docked view (which it will in an MDI app)
|
111
|
-
try:
|
112
|
-
v = (
|
113
|
-
self.GetActiveView()
|
114
|
-
) # Raise an exception if none - good - then we want default handling
|
115
|
-
# Main frame _does_ have a current view (ie, a docking view) - see if it wants it.
|
116
|
-
if v.OnCommand(wparam, lparam):
|
117
|
-
return 1
|
118
|
-
except (win32ui.error, AttributeError):
|
119
|
-
pass
|
120
|
-
return self._obj_.OnCommand(wparam, lparam)
|
121
|
-
|
122
|
-
|
123
|
-
class InteractivePythonApp(app.CApp):
|
124
|
-
# This works if necessary - just we don't need to override the Run method.
|
125
|
-
# def Run(self):
|
126
|
-
# return self._obj_.Run()
|
127
|
-
|
128
|
-
def HookCommands(self):
|
129
|
-
app.CApp.HookCommands(self)
|
130
|
-
dbgcommands.DebuggerCommandHandler().HookCommands()
|
131
|
-
self.HookCommand(self.OnViewBrowse, win32ui.ID_VIEW_BROWSE)
|
132
|
-
self.HookCommand(self.OnFileImport, win32ui.ID_FILE_IMPORT)
|
133
|
-
self.HookCommand(self.OnFileCheck, win32ui.ID_FILE_CHECK)
|
134
|
-
self.HookCommandUpdate(self.OnUpdateFileCheck, win32ui.ID_FILE_CHECK)
|
135
|
-
self.HookCommand(self.OnFileRun, win32ui.ID_FILE_RUN)
|
136
|
-
self.HookCommand(self.OnFileLocate, win32ui.ID_FILE_LOCATE)
|
137
|
-
self.HookCommand(self.OnInteractiveWindow, win32ui.ID_VIEW_INTERACTIVE)
|
138
|
-
self.HookCommandUpdate(
|
139
|
-
self.OnUpdateInteractiveWindow, win32ui.ID_VIEW_INTERACTIVE
|
140
|
-
)
|
141
|
-
self.HookCommand(self.OnViewOptions, win32ui.ID_VIEW_OPTIONS)
|
142
|
-
self.HookCommand(self.OnHelpIndex, afxres.ID_HELP_INDEX)
|
143
|
-
self.HookCommand(self.OnFileSaveAll, win32ui.ID_FILE_SAVE_ALL)
|
144
|
-
self.HookCommand(self.OnViewToolbarDbg, win32ui.ID_VIEW_TOOLBAR_DBG)
|
145
|
-
self.HookCommandUpdate(self.OnUpdateViewToolbarDbg, win32ui.ID_VIEW_TOOLBAR_DBG)
|
146
|
-
|
147
|
-
def CreateMainFrame(self):
|
148
|
-
return MainFrame()
|
149
|
-
|
150
|
-
def MakeExistingDDEConnection(self):
|
151
|
-
# Use DDE to connect to an existing instance
|
152
|
-
# Return None if no existing instance
|
153
|
-
try:
|
154
|
-
from . import intpydde
|
155
|
-
except ImportError:
|
156
|
-
# No dde support!
|
157
|
-
return None
|
158
|
-
conv = intpydde.CreateConversation(self.ddeServer)
|
159
|
-
try:
|
160
|
-
conv.ConnectTo("Pythonwin", "System")
|
161
|
-
return conv
|
162
|
-
except intpydde.error:
|
163
|
-
return None
|
164
|
-
|
165
|
-
def InitDDE(self):
|
166
|
-
# Do all the magic DDE handling.
|
167
|
-
# Returns TRUE if we have pumped the arguments to our
|
168
|
-
# remote DDE app, and we should terminate.
|
169
|
-
try:
|
170
|
-
from . import intpydde
|
171
|
-
except ImportError:
|
172
|
-
self.ddeServer = None
|
173
|
-
intpydde = None
|
174
|
-
if intpydde is not None:
|
175
|
-
self.ddeServer = intpydde.DDEServer(self)
|
176
|
-
self.ddeServer.Create("Pythonwin", intpydde.CBF_FAIL_SELFCONNECTIONS)
|
177
|
-
try:
|
178
|
-
# If there is an existing instance, pump the arguments to it.
|
179
|
-
connection = self.MakeExistingDDEConnection()
|
180
|
-
if connection is not None:
|
181
|
-
connection.Exec("self.Activate()")
|
182
|
-
if self.ProcessArgs(sys.argv, connection) is None:
|
183
|
-
return 1
|
184
|
-
except:
|
185
|
-
# It is too early to 'print' an exception - we
|
186
|
-
# don't have stdout setup yet!
|
187
|
-
win32ui.DisplayTraceback(
|
188
|
-
sys.exc_info(), " - error in DDE conversation with Pythonwin"
|
189
|
-
)
|
190
|
-
return 1
|
191
|
-
|
192
|
-
def InitInstance(self):
|
193
|
-
# Allow "/nodde" and "/new" to optimize this!
|
194
|
-
if (
|
195
|
-
"/nodde" not in sys.argv
|
196
|
-
and "/new" not in sys.argv
|
197
|
-
and "-nodde" not in sys.argv
|
198
|
-
and "-new" not in sys.argv
|
199
|
-
):
|
200
|
-
if self.InitDDE():
|
201
|
-
return 1 # A remote DDE client is doing it for us!
|
202
|
-
else:
|
203
|
-
self.ddeServer = None
|
204
|
-
|
205
|
-
win32ui.SetRegistryKey(
|
206
|
-
f"Python {sys.winver}"
|
207
|
-
) # MFC automatically puts the main frame caption on!
|
208
|
-
app.CApp.InitInstance(self)
|
209
|
-
|
210
|
-
# Create the taskbar icon
|
211
|
-
win32ui.CreateDebuggerThread()
|
212
|
-
|
213
|
-
# Allow Pythonwin to host OCX controls.
|
214
|
-
win32ui.EnableControlContainer()
|
215
|
-
|
216
|
-
# Display the interactive window if the user wants it.
|
217
|
-
from . import interact
|
218
|
-
|
219
|
-
interact.CreateInteractiveWindowUserPreference()
|
220
|
-
|
221
|
-
# Load the modules we use internally.
|
222
|
-
self.LoadSystemModules()
|
223
|
-
|
224
|
-
# Load additional module the user may want.
|
225
|
-
self.LoadUserModules()
|
226
|
-
|
227
|
-
# Load the ToolBar state near the end of the init process, as
|
228
|
-
# there may be Toolbar IDs created by the user or other modules.
|
229
|
-
# By now all these modules should be loaded, so all the toolbar IDs loaded.
|
230
|
-
try:
|
231
|
-
self.frame.LoadBarState("ToolbarDefault")
|
232
|
-
except win32ui.error:
|
233
|
-
# MFC sucks. It does essentially "GetDlgItem(x)->Something", so if the
|
234
|
-
# toolbar with ID x does not exist, MFC crashes! Pythonwin has a trap for this
|
235
|
-
# but I need to investigate more how to prevent it (AFAIK, ensuring all the
|
236
|
-
# toolbars are created by now _should_ stop it!)
|
237
|
-
pass
|
238
|
-
|
239
|
-
# Finally process the command line arguments.
|
240
|
-
try:
|
241
|
-
self.ProcessArgs(sys.argv)
|
242
|
-
except:
|
243
|
-
# too early for printing anything.
|
244
|
-
win32ui.DisplayTraceback(
|
245
|
-
sys.exc_info(), " - error processing command line args"
|
246
|
-
)
|
247
|
-
|
248
|
-
def ExitInstance(self):
|
249
|
-
win32ui.DestroyDebuggerThread()
|
250
|
-
try:
|
251
|
-
from . import interact
|
252
|
-
|
253
|
-
interact.DestroyInteractiveWindow()
|
254
|
-
except:
|
255
|
-
pass
|
256
|
-
if self.ddeServer is not None:
|
257
|
-
self.ddeServer.Shutdown()
|
258
|
-
self.ddeServer = None
|
259
|
-
return app.CApp.ExitInstance(self)
|
260
|
-
|
261
|
-
def Activate(self):
|
262
|
-
# Bring to the foreground. Mainly used when another app starts up, it asks
|
263
|
-
# this one to activate itself, then it terminates.
|
264
|
-
frame = win32ui.GetMainFrame()
|
265
|
-
frame.SetForegroundWindow()
|
266
|
-
if frame.GetWindowPlacement()[1] == win32con.SW_SHOWMINIMIZED:
|
267
|
-
frame.ShowWindow(win32con.SW_RESTORE)
|
268
|
-
|
269
|
-
def ProcessArgs(self, args, dde=None):
|
270
|
-
# If we are going to talk to a remote app via DDE, then
|
271
|
-
# activate it!
|
272
|
-
if (
|
273
|
-
len(args) < 1 or not args[0]
|
274
|
-
): # argv[0]=='' when started without args, just like Python.exe!
|
275
|
-
return
|
276
|
-
|
277
|
-
i = 0
|
278
|
-
while i < len(args):
|
279
|
-
argType = args[i]
|
280
|
-
i += 1
|
281
|
-
if argType.startswith("-"):
|
282
|
-
# Support dash options. Slash options are misinterpreted by python init
|
283
|
-
# as path and not finding usually 'C:\\' ends up in sys.path[0]
|
284
|
-
argType = "/" + argType[1:]
|
285
|
-
if not argType.startswith("/"):
|
286
|
-
argType = win32ui.GetProfileVal(
|
287
|
-
"Python", "Default Arg Type", "/edit"
|
288
|
-
).lower()
|
289
|
-
i -= 1 # arg is /edit's parameter
|
290
|
-
par = i < len(args) and args[i] or "MISSING"
|
291
|
-
if argType in ("/nodde", "/new", "-nodde", "-new"):
|
292
|
-
# Already handled
|
293
|
-
pass
|
294
|
-
elif argType.startswith("/goto:"):
|
295
|
-
gotoline = int(argType[len("/goto:") :])
|
296
|
-
if dde:
|
297
|
-
dde.Exec(
|
298
|
-
"from pywin.framework import scriptutils\n"
|
299
|
-
"ed = scriptutils.GetActiveEditControl()\n"
|
300
|
-
"if ed: ed.SetSel(ed.LineIndex(%s - 1))" % gotoline
|
301
|
-
)
|
302
|
-
else:
|
303
|
-
from . import scriptutils
|
304
|
-
|
305
|
-
ed = scriptutils.GetActiveEditControl()
|
306
|
-
if ed:
|
307
|
-
ed.SetSel(ed.LineIndex(gotoline - 1))
|
308
|
-
elif argType == "/edit":
|
309
|
-
# Load up the default application.
|
310
|
-
i += 1
|
311
|
-
fname = win32api.GetFullPathName(par)
|
312
|
-
if not os.path.isfile(fname):
|
313
|
-
# if we don't catch this, OpenDocumentFile() (actually
|
314
|
-
# PyCDocument.SetPathName() in
|
315
|
-
# pywin.scintilla.document.CScintillaDocument.OnOpenDocument)
|
316
|
-
# segfaults Pythonwin on recent PY3 builds (b228)
|
317
|
-
win32ui.MessageBox(
|
318
|
-
"No such file: {}\n\nCommand Line: {}".format(
|
319
|
-
fname, win32api.GetCommandLine()
|
320
|
-
),
|
321
|
-
"Open file for edit",
|
322
|
-
win32con.MB_ICONERROR,
|
323
|
-
)
|
324
|
-
continue
|
325
|
-
if dde:
|
326
|
-
dde.Exec(f"win32ui.GetApp().OpenDocumentFile({fname!r})")
|
327
|
-
else:
|
328
|
-
win32ui.GetApp().OpenDocumentFile(par)
|
329
|
-
elif argType == "/rundlg":
|
330
|
-
if dde:
|
331
|
-
dde.Exec(
|
332
|
-
"from pywin.framework import scriptutils;scriptutils.RunScript({!r}, {!r}, 1)".format(
|
333
|
-
par, " ".join(args[i + 1 :])
|
334
|
-
)
|
335
|
-
)
|
336
|
-
else:
|
337
|
-
from . import scriptutils
|
338
|
-
|
339
|
-
scriptutils.RunScript(par, " ".join(args[i + 1 :]))
|
340
|
-
return
|
341
|
-
elif argType == "/run":
|
342
|
-
if dde:
|
343
|
-
dde.Exec(
|
344
|
-
"from pywin.framework import scriptutils;scriptutils.RunScript({!r}, {!r}, 0)".format(
|
345
|
-
par, " ".join(args[i + 1 :])
|
346
|
-
)
|
347
|
-
)
|
348
|
-
else:
|
349
|
-
from . import scriptutils
|
350
|
-
|
351
|
-
scriptutils.RunScript(par, " ".join(args[i + 1 :]), 0)
|
352
|
-
return
|
353
|
-
elif argType == "/app":
|
354
|
-
raise RuntimeError(
|
355
|
-
"/app only supported for new instances of Pythonwin.exe"
|
356
|
-
)
|
357
|
-
elif argType == "/dde": # Send arbitary command
|
358
|
-
if dde is not None:
|
359
|
-
dde.Exec(par)
|
360
|
-
else:
|
361
|
-
win32ui.MessageBox(
|
362
|
-
"The /dde command can only be used\r\nwhen Pythonwin is already running"
|
363
|
-
)
|
364
|
-
i += 1
|
365
|
-
else:
|
366
|
-
raise ValueError("Command line argument not recognised: %s" % argType)
|
367
|
-
|
368
|
-
def LoadSystemModules(self):
|
369
|
-
self.DoLoadModules("pywin.framework.editor,pywin.framework.stdin")
|
370
|
-
|
371
|
-
def LoadUserModules(self, moduleNames=None):
|
372
|
-
# Load the users modules.
|
373
|
-
if moduleNames is None:
|
374
|
-
default = "pywin.framework.sgrepmdi"
|
375
|
-
moduleNames = win32ui.GetProfileVal("Python", "Startup Modules", default)
|
376
|
-
self.DoLoadModules(moduleNames)
|
377
|
-
|
378
|
-
def DoLoadModules(self, moduleNames): # ", sep string of module names.
|
379
|
-
if not moduleNames:
|
380
|
-
return
|
381
|
-
modules = moduleNames.split(",")
|
382
|
-
for module in modules:
|
383
|
-
try:
|
384
|
-
__import__(module)
|
385
|
-
except: # Catch em all, else the app itself dies! 'ImportError:
|
386
|
-
traceback.print_exc()
|
387
|
-
msg = 'Startup import of user module "%s" failed' % module
|
388
|
-
print(msg)
|
389
|
-
win32ui.MessageBox(msg)
|
390
|
-
|
391
|
-
#
|
392
|
-
# DDE Callback
|
393
|
-
#
|
394
|
-
def OnDDECommand(self, command):
|
395
|
-
try:
|
396
|
-
exec(command + "\n")
|
397
|
-
except:
|
398
|
-
print("ERROR executing DDE command: ", command)
|
399
|
-
traceback.print_exc()
|
400
|
-
raise
|
401
|
-
|
402
|
-
#
|
403
|
-
# General handlers
|
404
|
-
#
|
405
|
-
def OnViewBrowse(self, id, code):
|
406
|
-
"Called when ViewBrowse message is received"
|
407
|
-
from pywin.tools import browser
|
408
|
-
|
409
|
-
obName = dialog.GetSimpleInput("Object", "__builtins__", "Browse Python Object")
|
410
|
-
if obName is None:
|
411
|
-
return
|
412
|
-
try:
|
413
|
-
browser.Browse(eval(obName, __main__.__dict__, __main__.__dict__))
|
414
|
-
except NameError:
|
415
|
-
win32ui.MessageBox("This is no object with this name")
|
416
|
-
except AttributeError:
|
417
|
-
win32ui.MessageBox("The object has no attribute of that name")
|
418
|
-
except:
|
419
|
-
traceback.print_exc()
|
420
|
-
win32ui.MessageBox("This object can not be browsed")
|
421
|
-
|
422
|
-
def OnFileImport(self, id, code):
|
423
|
-
"Called when a FileImport message is received. Import the current or specified file"
|
424
|
-
from . import scriptutils
|
425
|
-
|
426
|
-
scriptutils.ImportFile()
|
427
|
-
|
428
|
-
def OnFileCheck(self, id, code):
|
429
|
-
"Called when a FileCheck message is received. Check the current file."
|
430
|
-
from . import scriptutils
|
431
|
-
|
432
|
-
scriptutils.CheckFile()
|
433
|
-
|
434
|
-
def OnUpdateFileCheck(self, cmdui):
|
435
|
-
from . import scriptutils
|
436
|
-
|
437
|
-
cmdui.Enable(scriptutils.GetActiveFileName(0) is not None)
|
438
|
-
|
439
|
-
def OnFileRun(self, id, code):
|
440
|
-
"Called when a FileRun message is received."
|
441
|
-
from . import scriptutils
|
442
|
-
|
443
|
-
showDlg = win32api.GetKeyState(win32con.VK_SHIFT) >= 0
|
444
|
-
scriptutils.RunScript(None, None, showDlg)
|
445
|
-
|
446
|
-
def OnFileLocate(self, id, code):
|
447
|
-
from . import scriptutils
|
448
|
-
|
449
|
-
global lastLocateFileName # save the new version away for next time...
|
450
|
-
|
451
|
-
name = dialog.GetSimpleInput(
|
452
|
-
"File name", lastLocateFileName, "Locate Python File"
|
453
|
-
)
|
454
|
-
if name is None: # Cancelled.
|
455
|
-
return
|
456
|
-
lastLocateFileName = name
|
457
|
-
# if ".py" supplied, rip it off!
|
458
|
-
# should also check for .pys and .pyw
|
459
|
-
if lastLocateFileName[-3:].lower() == ".py":
|
460
|
-
lastLocateFileName = lastLocateFileName[:-3]
|
461
|
-
lastLocateFileName = lastLocateFileName.replace(".", "\\")
|
462
|
-
newName = scriptutils.LocatePythonFile(lastLocateFileName)
|
463
|
-
if newName is None:
|
464
|
-
win32ui.MessageBox("The file '%s' can not be located" % lastLocateFileName)
|
465
|
-
else:
|
466
|
-
win32ui.GetApp().OpenDocumentFile(newName)
|
467
|
-
|
468
|
-
# Display all the "options" property pages we can find
|
469
|
-
def OnViewOptions(self, id, code):
|
470
|
-
win32ui.InitRichEdit()
|
471
|
-
sheet = dialog.PropertySheet("Pythonwin Options")
|
472
|
-
# Add property pages we know about that need manual work.
|
473
|
-
from pywin.dialogs import ideoptions
|
474
|
-
|
475
|
-
sheet.AddPage(ideoptions.OptionsPropPage())
|
476
|
-
|
477
|
-
from . import toolmenu
|
478
|
-
|
479
|
-
sheet.AddPage(toolmenu.ToolMenuPropPage())
|
480
|
-
|
481
|
-
# Get other dynamic pages from templates.
|
482
|
-
pages = []
|
483
|
-
for template in self.GetDocTemplateList():
|
484
|
-
try:
|
485
|
-
# Don't actually call the function with the exception handler.
|
486
|
-
getter = template.GetPythonPropertyPages
|
487
|
-
except AttributeError:
|
488
|
-
# Template does not provide property pages!
|
489
|
-
continue
|
490
|
-
pages.extend(getter())
|
491
|
-
|
492
|
-
# Debugger template goes at the end
|
493
|
-
try:
|
494
|
-
from pywin.debugger import configui
|
495
|
-
except ImportError:
|
496
|
-
configui = None
|
497
|
-
if configui is not None:
|
498
|
-
pages.append(configui.DebuggerOptionsPropPage())
|
499
|
-
# Now simply add the pages, and display the dialog.
|
500
|
-
for page in pages:
|
501
|
-
sheet.AddPage(page)
|
502
|
-
|
503
|
-
if sheet.DoModal() == win32con.IDOK:
|
504
|
-
win32ui.SetStatusText("Applying configuration changes...", 1)
|
505
|
-
win32ui.DoWaitCursor(1)
|
506
|
-
# Tell every Window in our app that win.ini has changed!
|
507
|
-
win32ui.GetMainFrame().SendMessageToDescendants(
|
508
|
-
win32con.WM_WININICHANGE, 0, 0
|
509
|
-
)
|
510
|
-
win32ui.DoWaitCursor(0)
|
511
|
-
|
512
|
-
def OnInteractiveWindow(self, id, code):
|
513
|
-
# toggle the existing state.
|
514
|
-
from . import interact
|
515
|
-
|
516
|
-
interact.ToggleInteractiveWindow()
|
517
|
-
|
518
|
-
def OnUpdateInteractiveWindow(self, cmdui):
|
519
|
-
try:
|
520
|
-
interact = sys.modules["pywin.framework.interact"]
|
521
|
-
state = interact.IsInteractiveWindowVisible()
|
522
|
-
except KeyError: # Interactive module hasn't ever been imported.
|
523
|
-
state = 0
|
524
|
-
cmdui.Enable()
|
525
|
-
cmdui.SetCheck(state)
|
526
|
-
|
527
|
-
def OnFileSaveAll(self, id, code):
|
528
|
-
# Only attempt to save editor documents.
|
529
|
-
from pywin.framework.editor import editorTemplate
|
530
|
-
|
531
|
-
num = 0
|
532
|
-
for doc in editorTemplate.GetDocumentList():
|
533
|
-
if doc.IsModified() and doc.GetPathName():
|
534
|
-
num = num = 1
|
535
|
-
doc.OnSaveDocument(doc.GetPathName())
|
536
|
-
win32ui.SetStatusText("%d documents saved" % num, 1)
|
537
|
-
|
538
|
-
def OnViewToolbarDbg(self, id, code):
|
539
|
-
if code == 0:
|
540
|
-
return not win32ui.GetMainFrame().OnBarCheck(id)
|
541
|
-
|
542
|
-
def OnUpdateViewToolbarDbg(self, cmdui):
|
543
|
-
win32ui.GetMainFrame().OnUpdateControlBarMenu(cmdui)
|
544
|
-
cmdui.Enable(1)
|
545
|
-
|
546
|
-
def OnHelpIndex(self, id, code):
|
547
|
-
from . import help
|
548
|
-
|
549
|
-
help.SelectAndRunHelpFile()
|
550
|
-
|
551
|
-
|
552
|
-
thisApp = InteractivePythonApp()
|
@@ -1,65 +0,0 @@
|
|
1
|
-
# DDE support for Pythonwin
|
2
|
-
#
|
3
|
-
# Seems to work fine (in the context that IE4 seems to have broken
|
4
|
-
# DDE on _all_ NT4 machines I have tried, but only when a "Command Prompt" window
|
5
|
-
# is open. Strange, but true. If you have problems with this, close all Command Prompts!
|
6
|
-
|
7
|
-
|
8
|
-
import sys
|
9
|
-
import traceback
|
10
|
-
|
11
|
-
import win32ui
|
12
|
-
from dde import ( # nopycln: import # Re-exported for intpyapp.py
|
13
|
-
CBF_FAIL_SELFCONNECTIONS as CBF_FAIL_SELFCONNECTIONS, # noqa: PLC0414
|
14
|
-
CreateConversation as CreateConversation, # noqa: PLC0414
|
15
|
-
CreateServer,
|
16
|
-
CreateServerSystemTopic,
|
17
|
-
error as error, # noqa: PLC0414
|
18
|
-
)
|
19
|
-
from pywin.mfc import object
|
20
|
-
|
21
|
-
|
22
|
-
class DDESystemTopic(object.Object):
|
23
|
-
def __init__(self, app):
|
24
|
-
self.app = app
|
25
|
-
object.Object.__init__(self, CreateServerSystemTopic())
|
26
|
-
|
27
|
-
def Exec(self, data):
|
28
|
-
try:
|
29
|
-
# print("Executing", cmd)
|
30
|
-
self.app.OnDDECommand(data)
|
31
|
-
except:
|
32
|
-
t, v, tb = sys.exc_info()
|
33
|
-
# The DDE Execution failed.
|
34
|
-
print("Error executing DDE command.")
|
35
|
-
traceback.print_exception(t, v, tb)
|
36
|
-
return 0
|
37
|
-
|
38
|
-
|
39
|
-
class DDEServer(object.Object):
|
40
|
-
def __init__(self, app):
|
41
|
-
self.app = app
|
42
|
-
object.Object.__init__(self, CreateServer())
|
43
|
-
self.topic = self.item = None
|
44
|
-
|
45
|
-
def CreateSystemTopic(self):
|
46
|
-
return DDESystemTopic(self.app)
|
47
|
-
|
48
|
-
def Shutdown(self):
|
49
|
-
self._obj_.Shutdown()
|
50
|
-
self._obj_.Destroy()
|
51
|
-
if self.topic is not None:
|
52
|
-
self.topic.Destroy()
|
53
|
-
self.topic = None
|
54
|
-
if self.item is not None:
|
55
|
-
self.item.Destroy()
|
56
|
-
self.item = None
|
57
|
-
|
58
|
-
def OnCreate(self):
|
59
|
-
return 1
|
60
|
-
|
61
|
-
def Status(self, msg):
|
62
|
-
try:
|
63
|
-
win32ui.SetStatusText(msg)
|
64
|
-
except win32ui.error:
|
65
|
-
pass
|