py2docfx 0.1.15.dev2025736__py3-none-any.whl → 0.1.15.dev2038808__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 +34 -21
- py2docfx/docfx_yaml/tests/test_method_arguments.py +7 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_core_metadata.py +21 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +2 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/ccompiler.py +5 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/__init__.py +27 -8
- 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 +48 -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 +115 -9
- 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/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/setuptools/_core_metadata.py +21 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +2 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/ccompiler.py +5 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/__init__.py +27 -8
- 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 +48 -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 +115 -9
- 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/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-0.1.15.dev2025736.dist-info → py2docfx-0.1.15.dev2038808.dist-info}/METADATA +1 -1
- {py2docfx-0.1.15.dev2025736.dist-info → py2docfx-0.1.15.dev2038808.dist-info}/RECORD +136 -593
- py2docfx/docfx_yaml/tests/test_process_doctree.py +0 -120
- 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.15.dev2025736.dist-info → py2docfx-0.1.15.dev2038808.dist-info}/WHEEL +0 -0
- {py2docfx-0.1.15.dev2025736.dist-info → py2docfx-0.1.15.dev2038808.dist-info}/top_level.txt +0 -0
@@ -111,27 +111,38 @@ def _resolve_reference_in_module_summary(lines):
|
|
111
111
|
new_lines.append(new_line)
|
112
112
|
return new_lines
|
113
113
|
|
114
|
-
def getParameterArgs(
|
114
|
+
def getParameterArgs(argspec):
|
115
115
|
args = []
|
116
|
-
for
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
116
|
+
for arg in argspec.args:
|
117
|
+
args.append({'id': arg})
|
118
|
+
if argspec.defaults:
|
119
|
+
for count, default in enumerate(argspec.defaults):
|
120
|
+
cut_count = len(argspec.defaults)
|
121
|
+
# Only add defaultValue when str(default) doesn't contain object address string
|
122
|
+
# (object at 0x)(lambda at 0x)(function *** at 0x)
|
123
|
+
# inspect.getargspec method will return wrong defaults which contain object address for some default values, like sys.stdout
|
124
|
+
# Match the defaults with the count
|
125
|
+
if ' at 0x' not in str(default):
|
126
|
+
args[len(args) - cut_count +
|
127
|
+
count]['defaultValue'] = str(default)
|
128
|
+
else:
|
129
|
+
args[len(args) - cut_count +
|
130
|
+
count]['isRequired'] = False
|
125
131
|
return args
|
126
132
|
|
127
|
-
def getKeywordOnlyParameters(
|
133
|
+
def getKeywordOnlyParameters(argspec):
|
128
134
|
keyword_only_args = []
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
+
# check if there is keyword only args
|
136
|
+
if argspec.kwonlyargs:
|
137
|
+
count = 0
|
138
|
+
for arg in argspec.kwonlyargs:
|
139
|
+
keyword_only_args.append({'id': arg})
|
140
|
+
# try get the default value for keyword only args
|
141
|
+
if argspec.kwonlydefaults:
|
142
|
+
kwarg_default = argspec.kwonlydefaults.get(arg, None)
|
143
|
+
if kwarg_default:
|
144
|
+
keyword_only_args[count]['defaultValue'] = str(kwarg_default)
|
145
|
+
count += 1
|
135
146
|
return keyword_only_args
|
136
147
|
|
137
148
|
def getpositionalOnlyParameters(signature):
|
@@ -182,10 +193,13 @@ def _create_datam(app, cls, module, name, _type, obj, lines=None):
|
|
182
193
|
if _type in [CLASS, METHOD, FUNCTION]:
|
183
194
|
if not (_type == CLASS and isinstance(type(obj).__call__, type(EnumMeta.__call__))):
|
184
195
|
signature = inspect.signature(obj)
|
185
|
-
|
186
|
-
|
196
|
+
argspec = inspect.getfullargspec(obj)
|
197
|
+
|
198
|
+
args = getParameterArgs(argspec)
|
199
|
+
keyword_only_args = getKeywordOnlyParameters(argspec)
|
187
200
|
positional_only_params = getpositionalOnlyParameters(signature)
|
188
|
-
|
201
|
+
|
202
|
+
# The args will contian both regular args and positional only params
|
189
203
|
# so we need to remove the positional only args from params
|
190
204
|
if positional_only_params:
|
191
205
|
args = removePositonalOnlyFromArgs(args, positional_only_params)
|
@@ -377,7 +391,6 @@ def process_docstring(app, _type, name, obj, options, lines):
|
|
377
391
|
"""
|
378
392
|
# Use exception as class
|
379
393
|
py2docfx_logger = get_package_logger(__name__)
|
380
|
-
|
381
394
|
def check_convert_package_type(obj, _type):
|
382
395
|
if _type == MODULE:
|
383
396
|
filename = getattr(obj, '__file__', None)
|
@@ -1,18 +1,24 @@
|
|
1
1
|
import pytest
|
2
|
+
|
3
|
+
from sphinx.testing import restructuredtext
|
4
|
+
from sphinx.io import SphinxStandaloneReader
|
5
|
+
from sphinx import addnodes
|
2
6
|
from translator import translator
|
3
|
-
from .utils.test_utils import prepare_app_envs, load_rst_transform_to_doctree, do_autodoc
|
4
7
|
|
8
|
+
from .utils.test_utils import prepare_app_envs,prepare_refered_objects,load_rst_transform_to_doctree, do_autodoc
|
5
9
|
@pytest.mark.sphinx('dummy', testroot='method-arguments')
|
6
10
|
def test_method_with_three_type_of_arguments(app):
|
7
11
|
# Test data definition
|
8
12
|
objectToGenXml = 'code_with_all_arg_types.TestClass'
|
9
13
|
objectToGenXmlType = 'class'
|
14
|
+
|
10
15
|
# Arrange
|
11
16
|
prepare_app_envs(app, objectToGenXml)
|
12
17
|
doctree = load_rst_transform_to_doctree(app, objectToGenXmlType, objectToGenXml)
|
13
18
|
|
14
19
|
# Act
|
15
20
|
translator(app, '', doctree)
|
21
|
+
|
16
22
|
# Assert
|
17
23
|
argumentsDetail = app.env.docfx_yaml_classes[objectToGenXml][1]['syntax']
|
18
24
|
parameters = argumentsDetail.get('parameters', None)
|
@@ -28,7 +28,7 @@ from distutils.util import rfc822_escape
|
|
28
28
|
def get_metadata_version(self):
|
29
29
|
mv = getattr(self, 'metadata_version', None)
|
30
30
|
if mv is None:
|
31
|
-
mv = Version('2.
|
31
|
+
mv = Version('2.4')
|
32
32
|
self.metadata_version = mv
|
33
33
|
return mv
|
34
34
|
|
@@ -88,6 +88,7 @@ def read_pkg_file(self, file):
|
|
88
88
|
self.url = _read_field_from_msg(msg, 'home-page')
|
89
89
|
self.download_url = _read_field_from_msg(msg, 'download-url')
|
90
90
|
self.license = _read_field_unescaped_from_msg(msg, 'license')
|
91
|
+
self.license_expression = _read_field_unescaped_from_msg(msg, 'license-expression')
|
91
92
|
|
92
93
|
self.long_description = _read_field_unescaped_from_msg(msg, 'description')
|
93
94
|
if self.long_description is None and self.metadata_version >= Version('2.1'):
|
@@ -175,8 +176,9 @@ def write_pkg_file(self, file): # noqa: C901 # is too complex (14) # FIXME
|
|
175
176
|
if attr_val is not None:
|
176
177
|
write_field(field, attr_val)
|
177
178
|
|
178
|
-
|
179
|
-
|
179
|
+
if license_expression := self.license_expression:
|
180
|
+
write_field('License-Expression', license_expression)
|
181
|
+
elif license := self.get_license():
|
180
182
|
write_field('License', rfc822_escape(license))
|
181
183
|
|
182
184
|
for label, url in self.project_urls.items():
|
@@ -205,7 +207,8 @@ def write_pkg_file(self, file): # noqa: C901 # is too complex (14) # FIXME
|
|
205
207
|
if self.long_description_content_type:
|
206
208
|
write_field('Description-Content-Type', self.long_description_content_type)
|
207
209
|
|
208
|
-
|
210
|
+
safe_license_files = map(_safe_license_file, self.license_files or [])
|
211
|
+
self._write_list(file, 'License-File', safe_license_files)
|
209
212
|
_write_requirements(self, file)
|
210
213
|
|
211
214
|
for field, attr in _POSSIBLE_DYNAMIC_FIELDS.items():
|
@@ -291,6 +294,14 @@ def _distribution_fullname(name: str, version: str) -> str:
|
|
291
294
|
)
|
292
295
|
|
293
296
|
|
297
|
+
def _safe_license_file(file):
|
298
|
+
# XXX: Do we need this after the deprecation discussed in #4892, #4896??
|
299
|
+
normalized = os.path.normpath(file).replace(os.sep, "/")
|
300
|
+
if "../" in normalized:
|
301
|
+
return os.path.basename(normalized) # Temporarily restore pre PEP639 behaviour
|
302
|
+
return normalized
|
303
|
+
|
304
|
+
|
294
305
|
_POSSIBLE_DYNAMIC_FIELDS = {
|
295
306
|
# Core Metadata Field x related Distribution attribute
|
296
307
|
"author": "author",
|
@@ -302,7 +313,12 @@ _POSSIBLE_DYNAMIC_FIELDS = {
|
|
302
313
|
"home-page": "url",
|
303
314
|
"keywords": "keywords",
|
304
315
|
"license": "license",
|
305
|
-
#
|
316
|
+
# XXX: License-File is complicated because the user gives globs that are expanded
|
317
|
+
# during the build. Without special handling it is likely always
|
318
|
+
# marked as Dynamic, which is an acceptable outcome according to:
|
319
|
+
# https://github.com/pypa/setuptools/issues/4629#issuecomment-2331233677
|
320
|
+
"license-file": "license_files",
|
321
|
+
"license-expression": "license_expression", # PEP 639
|
306
322
|
"maintainer": "maintainer",
|
307
323
|
"maintainer-email": "maintainer_email",
|
308
324
|
"obsoletes": "obsoletes",
|
@@ -1,13 +1,16 @@
|
|
1
|
+
from .compat.numpy import ( # noqa: F401
|
2
|
+
_default_compilers,
|
3
|
+
compiler_class,
|
4
|
+
)
|
1
5
|
from .compilers.C import base
|
2
6
|
from .compilers.C.base import (
|
3
|
-
CompileError,
|
4
|
-
LinkError,
|
5
7
|
gen_lib_options,
|
6
8
|
gen_preprocess_options,
|
7
9
|
get_default_compiler,
|
8
10
|
new_compiler,
|
9
11
|
show_compilers,
|
10
12
|
)
|
13
|
+
from .compilers.C.errors import CompileError, LinkError
|
11
14
|
|
12
15
|
__all__ = [
|
13
16
|
'CompileError',
|
@@ -3,21 +3,40 @@
|
|
3
3
|
Package containing implementation of all the standard Distutils
|
4
4
|
commands."""
|
5
5
|
|
6
|
+
from . import (
|
7
|
+
bdist,
|
8
|
+
bdist_dumb,
|
9
|
+
bdist_rpm,
|
10
|
+
build,
|
11
|
+
build_clib,
|
12
|
+
build_ext,
|
13
|
+
build_py,
|
14
|
+
build_scripts,
|
15
|
+
check,
|
16
|
+
clean,
|
17
|
+
install,
|
18
|
+
install_data,
|
19
|
+
install_headers,
|
20
|
+
install_lib,
|
21
|
+
install_scripts,
|
22
|
+
sdist,
|
23
|
+
)
|
24
|
+
|
6
25
|
__all__ = [
|
26
|
+
'bdist',
|
27
|
+
'bdist_dumb',
|
28
|
+
'bdist_rpm',
|
7
29
|
'build',
|
8
|
-
'build_py',
|
9
|
-
'build_ext',
|
10
30
|
'build_clib',
|
31
|
+
'build_ext',
|
32
|
+
'build_py',
|
11
33
|
'build_scripts',
|
34
|
+
'check',
|
12
35
|
'clean',
|
13
36
|
'install',
|
14
|
-
'
|
37
|
+
'install_data',
|
15
38
|
'install_headers',
|
39
|
+
'install_lib',
|
16
40
|
'install_scripts',
|
17
|
-
'install_data',
|
18
41
|
'sdist',
|
19
|
-
'bdist',
|
20
|
-
'bdist_dumb',
|
21
|
-
'bdist_rpm',
|
22
|
-
'check',
|
23
42
|
]
|
@@ -10,17 +10,12 @@ import sysconfig
|
|
10
10
|
from collections.abc import Callable
|
11
11
|
from typing import ClassVar
|
12
12
|
|
13
|
+
from ..ccompiler import show_compilers
|
13
14
|
from ..core import Command
|
14
15
|
from ..errors import DistutilsOptionError
|
15
16
|
from ..util import get_platform
|
16
17
|
|
17
18
|
|
18
|
-
def show_compilers():
|
19
|
-
from ..ccompiler import show_compilers
|
20
|
-
|
21
|
-
show_compilers()
|
22
|
-
|
23
|
-
|
24
19
|
class build(Command):
|
25
20
|
description = "build everything needed to install"
|
26
21
|
|
@@ -19,17 +19,12 @@ from collections.abc import Callable
|
|
19
19
|
from distutils._log import log
|
20
20
|
from typing import ClassVar
|
21
21
|
|
22
|
+
from ..ccompiler import new_compiler, show_compilers
|
22
23
|
from ..core import Command
|
23
24
|
from ..errors import DistutilsSetupError
|
24
25
|
from ..sysconfig import customize_compiler
|
25
26
|
|
26
27
|
|
27
|
-
def show_compilers():
|
28
|
-
from ..ccompiler import show_compilers
|
29
|
-
|
30
|
-
show_compilers()
|
31
|
-
|
32
|
-
|
33
28
|
class build_clib(Command):
|
34
29
|
description = "build C/C++ libraries used by Python extensions"
|
35
30
|
|
@@ -93,9 +88,6 @@ class build_clib(Command):
|
|
93
88
|
if not self.libraries:
|
94
89
|
return
|
95
90
|
|
96
|
-
# Yech -- this is cut 'n pasted from build_ext.py!
|
97
|
-
from ..ccompiler import new_compiler
|
98
|
-
|
99
91
|
self.compiler = new_compiler(
|
100
92
|
compiler=self.compiler, dry_run=self.dry_run, force=self.force
|
101
93
|
)
|
@@ -16,6 +16,7 @@ from site import USER_BASE
|
|
16
16
|
from typing import ClassVar
|
17
17
|
|
18
18
|
from .._modified import newer_group
|
19
|
+
from ..ccompiler import new_compiler, show_compilers
|
19
20
|
from ..core import Command
|
20
21
|
from ..errors import (
|
21
22
|
CCompilerError,
|
@@ -34,12 +35,6 @@ from ..util import get_platform, is_freethreaded, is_mingw
|
|
34
35
|
extension_name_re = re.compile(r'^[a-zA-Z_][a-zA-Z_0-9]*(\.[a-zA-Z_][a-zA-Z_0-9]*)*$')
|
35
36
|
|
36
37
|
|
37
|
-
def show_compilers():
|
38
|
-
from ..ccompiler import show_compilers
|
39
|
-
|
40
|
-
show_compilers()
|
41
|
-
|
42
|
-
|
43
38
|
class build_ext(Command):
|
44
39
|
description = "build C/C++ extensions (compile/link to build directory)"
|
45
40
|
|
@@ -303,8 +298,6 @@ class build_ext(Command):
|
|
303
298
|
raise DistutilsOptionError("parallel should be an integer")
|
304
299
|
|
305
300
|
def run(self) -> None: # noqa: C901
|
306
|
-
from ..ccompiler import new_compiler
|
307
|
-
|
308
301
|
# 'self.extensions', as supplied by setup.py, is a list of
|
309
302
|
# Extension instances. See the documentation for Extension (in
|
310
303
|
# distutils.extension) for details.
|
@@ -141,7 +141,7 @@ class check(Command):
|
|
141
141
|
document.note_source(source_path, -1)
|
142
142
|
try:
|
143
143
|
parser.parse(data, document)
|
144
|
-
except AttributeError as e:
|
144
|
+
except (AttributeError, TypeError) as e:
|
145
145
|
reporter.messages.append((
|
146
146
|
-1,
|
147
147
|
f'Could not finish the parsing: {e}.',
|
@@ -4,6 +4,7 @@ Implements the Distutils 'install' command."""
|
|
4
4
|
|
5
5
|
from __future__ import annotations
|
6
6
|
|
7
|
+
import collections
|
7
8
|
import contextlib
|
8
9
|
import itertools
|
9
10
|
import os
|
@@ -13,8 +14,6 @@ from distutils._log import log
|
|
13
14
|
from site import USER_BASE, USER_SITE
|
14
15
|
from typing import ClassVar
|
15
16
|
|
16
|
-
import jaraco.collections
|
17
|
-
|
18
17
|
from ..core import Command
|
19
18
|
from ..debug import DEBUG
|
20
19
|
from ..errors import DistutilsOptionError, DistutilsPlatformError
|
@@ -145,7 +144,7 @@ def _resolve_scheme(name):
|
|
145
144
|
try:
|
146
145
|
resolved = sysconfig.get_preferred_scheme(key)
|
147
146
|
except Exception:
|
148
|
-
resolved = fw.scheme(
|
147
|
+
resolved = fw.scheme(name)
|
149
148
|
return resolved
|
150
149
|
|
151
150
|
|
@@ -162,7 +161,7 @@ def _inject_headers(name, scheme):
|
|
162
161
|
"""
|
163
162
|
# Bypass the preferred scheme, which may not
|
164
163
|
# have defined headers.
|
165
|
-
fallback = _load_scheme(
|
164
|
+
fallback = _load_scheme(name)
|
166
165
|
scheme.setdefault('headers', fallback['headers'])
|
167
166
|
return scheme
|
168
167
|
|
@@ -172,14 +171,6 @@ def _scheme_attrs(scheme):
|
|
172
171
|
return {f'install_{key}': scheme[key] for key in SCHEME_KEYS}
|
173
172
|
|
174
173
|
|
175
|
-
def _pypy_hack(name):
|
176
|
-
PY37 = sys.version_info < (3, 8)
|
177
|
-
old_pypy = hasattr(sys, 'pypy_version_info') and PY37
|
178
|
-
prefix = not name.endswith(('_user', '_home'))
|
179
|
-
pypy_name = 'pypy' + '_nt' * (os.name == 'nt')
|
180
|
-
return pypy_name if old_pypy and prefix else name
|
181
|
-
|
182
|
-
|
183
174
|
class install(Command):
|
184
175
|
description = "install everything from build directory"
|
185
176
|
|
@@ -432,12 +423,12 @@ class install(Command):
|
|
432
423
|
local_vars['userbase'] = self.install_userbase
|
433
424
|
local_vars['usersite'] = self.install_usersite
|
434
425
|
|
435
|
-
self.config_vars =
|
436
|
-
fw.vars(),
|
437
|
-
compat_vars,
|
438
|
-
sysconfig.get_config_vars(),
|
426
|
+
self.config_vars = collections.ChainMap(
|
439
427
|
local_vars,
|
440
|
-
|
428
|
+
sysconfig.get_config_vars(),
|
429
|
+
compat_vars,
|
430
|
+
fw.vars(),
|
431
|
+
)
|
441
432
|
|
442
433
|
self.expand_basedirs()
|
443
434
|
|
@@ -120,12 +120,12 @@ class Compiler:
|
|
120
120
|
}
|
121
121
|
language_order: ClassVar[list[str]] = ["c++", "objc", "c"]
|
122
122
|
|
123
|
-
include_dirs = []
|
123
|
+
include_dirs: list[str] = []
|
124
124
|
"""
|
125
125
|
include dirs specific to this compiler class
|
126
126
|
"""
|
127
127
|
|
128
|
-
library_dirs = []
|
128
|
+
library_dirs: list[str] = []
|
129
129
|
"""
|
130
130
|
library dirs specific to this compiler class
|
131
131
|
"""
|
@@ -148,14 +148,14 @@ class Compiler:
|
|
148
148
|
self.macros: list[_Macro] = []
|
149
149
|
|
150
150
|
# 'include_dirs': a list of directories to search for include files
|
151
|
-
self.include_dirs
|
151
|
+
self.include_dirs = []
|
152
152
|
|
153
153
|
# 'libraries': a list of libraries to include in any link
|
154
154
|
# (library names, not filenames: eg. "foo" not "libfoo.a")
|
155
155
|
self.libraries: list[str] = []
|
156
156
|
|
157
157
|
# 'library_dirs': a list of directories to search for libraries
|
158
|
-
self.library_dirs
|
158
|
+
self.library_dirs = []
|
159
159
|
|
160
160
|
# 'runtime_library_dirs': a list of directories to search for
|
161
161
|
# shared libraries/objects at runtime
|
@@ -236,8 +236,11 @@ class Compiler:
|
|
236
236
|
def _is_valid_macro(name, value=None):
|
237
237
|
"""
|
238
238
|
A valid macro is a ``name : str`` and a ``value : str | None``.
|
239
|
+
|
240
|
+
>>> Compiler._is_valid_macro('foo', None)
|
241
|
+
True
|
239
242
|
"""
|
240
|
-
return isinstance(name, str) and isinstance(value, (str, None))
|
243
|
+
return isinstance(name, str) and isinstance(value, (str, type(None)))
|
241
244
|
|
242
245
|
# -- Bookkeeping methods -------------------------------------------
|
243
246
|
|
@@ -257,7 +257,7 @@ class Compiler(base.Compiler):
|
|
257
257
|
obj_extension = '.obj'
|
258
258
|
static_lib_extension = '.lib'
|
259
259
|
shared_lib_extension = '.dll'
|
260
|
-
static_lib_format =
|
260
|
+
static_lib_format = shared_lib_format = '%s%s'
|
261
261
|
exe_extension = '.exe'
|
262
262
|
|
263
263
|
def __init__(self, verbose=False, dry_run=False, force=False) -> None:
|
@@ -158,6 +158,20 @@ class Compiler(base.Compiler):
|
|
158
158
|
dylib_lib_extension = ".dll"
|
159
159
|
dylib_lib_format = "cyg%s%s"
|
160
160
|
|
161
|
+
def _fix_lib_args(self, libraries, library_dirs, runtime_library_dirs):
|
162
|
+
"""Remove standard library path from rpath"""
|
163
|
+
libraries, library_dirs, runtime_library_dirs = super()._fix_lib_args(
|
164
|
+
libraries, library_dirs, runtime_library_dirs
|
165
|
+
)
|
166
|
+
libdir = sysconfig.get_config_var('LIBDIR')
|
167
|
+
if (
|
168
|
+
runtime_library_dirs
|
169
|
+
and libdir.startswith("/usr/lib")
|
170
|
+
and (libdir in runtime_library_dirs)
|
171
|
+
):
|
172
|
+
runtime_library_dirs.remove(libdir)
|
173
|
+
return libraries, library_dirs, runtime_library_dirs
|
174
|
+
|
161
175
|
def preprocess(
|
162
176
|
self,
|
163
177
|
source: str | os.PathLike[str],
|
@@ -309,7 +323,7 @@ class Compiler(base.Compiler):
|
|
309
323
|
compiler = os.path.basename(shlex.split(cc_var)[0])
|
310
324
|
return "gcc" in compiler or "g++" in compiler
|
311
325
|
|
312
|
-
def runtime_library_dir_option(self, dir: str) -> str | list[str]:
|
326
|
+
def runtime_library_dir_option(self, dir: str) -> str | list[str]: # type: ignore[override] # Fixed in pypa/distutils#339
|
313
327
|
# XXX Hackish, at the very least. See Python bug #445902:
|
314
328
|
# https://bugs.python.org/issue445902
|
315
329
|
# Linkers on different platforms need different options to
|
@@ -183,7 +183,7 @@ Common commands: (see '--help-commands' for more)
|
|
183
183
|
# can 1) quickly figure out which class to instantiate when
|
184
184
|
# we need to create a new command object, and 2) have a way
|
185
185
|
# for the setup script to override command classes
|
186
|
-
self.cmdclass = {}
|
186
|
+
self.cmdclass: dict[str, type[Command]] = {}
|
187
187
|
|
188
188
|
# 'command_packages' is a list of packages in which commands
|
189
189
|
# are searched for. The factory for command 'foo' is expected
|
@@ -1168,6 +1168,7 @@ class DistributionMetadata:
|
|
1168
1168
|
value = msg[name]
|
1169
1169
|
if value and value != "UNKNOWN":
|
1170
1170
|
return value
|
1171
|
+
return None
|
1171
1172
|
|
1172
1173
|
def _read_list(name):
|
1173
1174
|
values = msg.get_all(name, None)
|
@@ -156,8 +156,6 @@ def _extant(path):
|
|
156
156
|
|
157
157
|
|
158
158
|
def _get_python_inc_posix(prefix, spec_prefix, plat_specific):
|
159
|
-
if IS_PYPY and sys.version_info < (3, 8):
|
160
|
-
return os.path.join(prefix, 'include')
|
161
159
|
return (
|
162
160
|
_get_python_inc_posix_python(plat_specific)
|
163
161
|
or _extant(_get_python_inc_from_config(plat_specific, spec_prefix))
|
@@ -246,14 +244,6 @@ def get_python_lib(
|
|
246
244
|
sys.base_exec_prefix -- i.e., ignore 'plat_specific'.
|
247
245
|
"""
|
248
246
|
|
249
|
-
if IS_PYPY and sys.version_info < (3, 8):
|
250
|
-
# PyPy-specific schema
|
251
|
-
if prefix is None:
|
252
|
-
prefix = PREFIX
|
253
|
-
if standard_lib:
|
254
|
-
return os.path.join(prefix, "lib-python", sys.version_info.major)
|
255
|
-
return os.path.join(prefix, 'site-packages')
|
256
|
-
|
257
247
|
early_prefix = prefix
|
258
248
|
|
259
249
|
if prefix is None:
|
@@ -1,13 +1,16 @@
|
|
1
1
|
import contextlib
|
2
|
+
import glob
|
2
3
|
import importlib
|
3
|
-
import os
|
4
|
+
import os.path
|
4
5
|
import platform
|
5
6
|
import re
|
6
7
|
import shutil
|
7
8
|
import site
|
9
|
+
import subprocess
|
8
10
|
import sys
|
9
11
|
import tempfile
|
10
12
|
import textwrap
|
13
|
+
import time
|
11
14
|
from distutils import sysconfig
|
12
15
|
from distutils.command.build_ext import build_ext
|
13
16
|
from distutils.core import Distribution
|
@@ -51,6 +54,9 @@ def user_site_dir(request):
|
|
51
54
|
site.USER_BASE = orig_user_base
|
52
55
|
build_ext.USER_BASE = orig_user_base
|
53
56
|
|
57
|
+
if sys.platform == 'cygwin':
|
58
|
+
time.sleep(1)
|
59
|
+
|
54
60
|
|
55
61
|
@contextlib.contextmanager
|
56
62
|
def safe_extension_import(name, path):
|
@@ -86,11 +92,35 @@ class TestBuildExt(TempdirManager):
|
|
86
92
|
def build_ext(self, *args, **kwargs):
|
87
93
|
return build_ext(*args, **kwargs)
|
88
94
|
|
89
|
-
|
95
|
+
@pytest.mark.parametrize("copy_so", [False])
|
96
|
+
def test_build_ext(self, copy_so):
|
90
97
|
missing_compiler_executable()
|
91
98
|
copy_xxmodule_c(self.tmp_dir)
|
92
99
|
xx_c = os.path.join(self.tmp_dir, 'xxmodule.c')
|
93
100
|
xx_ext = Extension('xx', [xx_c])
|
101
|
+
if sys.platform != "win32":
|
102
|
+
if not copy_so:
|
103
|
+
xx_ext = Extension(
|
104
|
+
'xx',
|
105
|
+
[xx_c],
|
106
|
+
library_dirs=['/usr/lib'],
|
107
|
+
libraries=['z'],
|
108
|
+
runtime_library_dirs=['/usr/lib'],
|
109
|
+
)
|
110
|
+
elif sys.platform == 'linux':
|
111
|
+
libz_so = {
|
112
|
+
os.path.realpath(name) for name in glob.iglob('/usr/lib*/libz.so*')
|
113
|
+
}
|
114
|
+
libz_so = sorted(libz_so, key=lambda lib_path: len(lib_path))
|
115
|
+
shutil.copyfile(libz_so[-1], '/tmp/libxx_z.so')
|
116
|
+
|
117
|
+
xx_ext = Extension(
|
118
|
+
'xx',
|
119
|
+
[xx_c],
|
120
|
+
library_dirs=['/tmp'],
|
121
|
+
libraries=['xx_z'],
|
122
|
+
runtime_library_dirs=['/tmp'],
|
123
|
+
)
|
94
124
|
dist = Distribution({'name': 'xx', 'ext_modules': [xx_ext]})
|
95
125
|
dist.package_dir = self.tmp_dir
|
96
126
|
cmd = self.build_ext(dist)
|
@@ -109,11 +139,14 @@ class TestBuildExt(TempdirManager):
|
|
109
139
|
sys.stdout = old_stdout
|
110
140
|
|
111
141
|
with safe_extension_import('xx', self.tmp_dir):
|
112
|
-
self._test_xx()
|
142
|
+
self._test_xx(copy_so)
|
143
|
+
|
144
|
+
if sys.platform == 'linux' and copy_so:
|
145
|
+
os.unlink('/tmp/libxx_z.so')
|
113
146
|
|
114
147
|
@staticmethod
|
115
|
-
def _test_xx():
|
116
|
-
import xx
|
148
|
+
def _test_xx(copy_so):
|
149
|
+
import xx # type: ignore[import-not-found] # Module generated for tests
|
117
150
|
|
118
151
|
for attr in ('error', 'foo', 'new', 'roj'):
|
119
152
|
assert hasattr(xx, attr)
|
@@ -127,6 +160,28 @@ class TestBuildExt(TempdirManager):
|
|
127
160
|
assert isinstance(xx.Null(), xx.Null)
|
128
161
|
assert isinstance(xx.Str(), xx.Str)
|
129
162
|
|
163
|
+
if sys.platform == 'linux':
|
164
|
+
so_headers = subprocess.check_output(
|
165
|
+
["readelf", "-d", xx.__file__], universal_newlines=True
|
166
|
+
)
|
167
|
+
import pprint
|
168
|
+
|
169
|
+
pprint.pprint(so_headers)
|
170
|
+
rpaths = [
|
171
|
+
rpath
|
172
|
+
for line in so_headers.split("\n")
|
173
|
+
if "RPATH" in line or "RUNPATH" in line
|
174
|
+
for rpath in line.split()[2][1:-1].split(":")
|
175
|
+
]
|
176
|
+
if not copy_so:
|
177
|
+
pprint.pprint(rpaths)
|
178
|
+
# Linked against a library in /usr/lib{,64}
|
179
|
+
assert "/usr/lib" not in rpaths and "/usr/lib64" not in rpaths
|
180
|
+
else:
|
181
|
+
# Linked against a library in /tmp
|
182
|
+
assert "/tmp" in rpaths
|
183
|
+
# The import is the real test here
|
184
|
+
|
130
185
|
def test_solaris_enable_shared(self):
|
131
186
|
dist = Distribution({'name': 'xx'})
|
132
187
|
cmd = self.build_ext(dist)
|