comtypes 1.2.0__zip → 1.2.1__zip

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.
Files changed (101) hide show
  1. {comtypes-1.2.0 → comtypes-1.2.1}/CHANGES.txt +8 -0
  2. {comtypes-1.2.0/comtypes.egg-info → comtypes-1.2.1}/PKG-INFO +3 -2
  3. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/__init__.py +1 -1
  4. comtypes-1.2.1/comtypes/hints.pyi +26 -0
  5. {comtypes-1.2.0 → comtypes-1.2.1/comtypes.egg-info}/PKG-INFO +3 -2
  6. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes.egg-info/SOURCES.txt +1 -0
  7. {comtypes-1.2.0 → comtypes-1.2.1}/setup.py +7 -4
  8. {comtypes-1.2.0 → comtypes-1.2.1}/LICENSE.txt +0 -0
  9. {comtypes-1.2.0 → comtypes-1.2.1}/MANIFEST.in +0 -0
  10. {comtypes-1.2.0 → comtypes-1.2.1}/README.md +0 -0
  11. {comtypes-1.2.0 → comtypes-1.2.1}/clear_comtypes_cache.py +0 -0
  12. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/GUID.py +0 -0
  13. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/_comobject.py +0 -0
  14. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/_memberspec.py +0 -0
  15. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/_meta.py +0 -0
  16. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/_npsupport.py +0 -0
  17. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/_safearray.py +0 -0
  18. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/automation.py +0 -0
  19. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/client/__init__.py +0 -0
  20. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/client/_code_cache.py +0 -0
  21. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/client/_constants.py +0 -0
  22. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/client/_events.py +0 -0
  23. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/client/_generate.py +0 -0
  24. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/client/dynamic.py +0 -0
  25. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/client/lazybind.py +0 -0
  26. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/connectionpoints.py +0 -0
  27. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/errorinfo.py +0 -0
  28. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/git.py +0 -0
  29. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/hresult.py +0 -0
  30. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/logutil.py +0 -0
  31. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/messageloop.py +0 -0
  32. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/patcher.py +0 -0
  33. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/persist.py +0 -0
  34. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/safearray.py +0 -0
  35. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/server/__init__.py +0 -0
  36. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/server/automation.py +0 -0
  37. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/server/connectionpoints.py +0 -0
  38. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/server/inprocserver.py +0 -0
  39. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/server/localserver.py +0 -0
  40. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/server/register.py +0 -0
  41. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/server/w_getopt.py +0 -0
  42. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/shelllink.py +0 -0
  43. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/TestComServer.idl +0 -0
  44. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/TestComServer.py +0 -0
  45. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/TestComServer.tlb +0 -0
  46. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/TestDispServer.idl +0 -0
  47. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/TestDispServer.py +0 -0
  48. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/TestDispServer.tlb +0 -0
  49. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/__init__.py +0 -0
  50. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/find_memleak.py +0 -0
  51. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/mylib.idl +0 -0
  52. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/mytypelib.idl +0 -0
  53. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/runtests.py +0 -0
  54. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/setup.py +0 -0
  55. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_BSTR.py +0 -0
  56. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_DISPPARAMS.py +0 -0
  57. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_GUID.py +0 -0
  58. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_QueryService.py +0 -0
  59. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_agilent.py +0 -0
  60. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_avmc.py +0 -0
  61. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_basic.py +0 -0
  62. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_casesensitivity.py +0 -0
  63. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_client.py +0 -0
  64. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_collections.py +0 -0
  65. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_comserver.py +0 -0
  66. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_createwrappers.py +0 -0
  67. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_dict.py +0 -0
  68. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_dispinterface.py +0 -0
  69. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_dyndispatch.py +0 -0
  70. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_excel.py +0 -0
  71. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_findgendir.py +0 -0
  72. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_getactiveobj.py +0 -0
  73. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_ie.py +0 -0
  74. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_jscript.js +0 -0
  75. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_msscript.py +0 -0
  76. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_npsupport.py +0 -0
  77. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_outparam.py +0 -0
  78. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_propputref.py +0 -0
  79. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_pump_events.py +0 -0
  80. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_safearray.py +0 -0
  81. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_sapi.py +0 -0
  82. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_server.py +0 -0
  83. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_showevents.py +0 -0
  84. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_subinterface.py +0 -0
  85. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_typeinfo.py +0 -0
  86. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_urlhistory.py +0 -0
  87. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_variant.py +0 -0
  88. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_win32com_interop.py +0 -0
  89. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_wmi.py +0 -0
  90. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/test/test_word.py +0 -0
  91. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/tools/__init__.py +0 -0
  92. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/tools/codegenerator.py +0 -0
  93. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/tools/tlbparser.py +0 -0
  94. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/tools/typedesc.py +0 -0
  95. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/tools/typedesc_base.py +0 -0
  96. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/typeinfo.py +0 -0
  97. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/util.py +0 -0
  98. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes/viewobject.py +0 -0
  99. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes.egg-info/dependency_links.txt +0 -0
  100. {comtypes-1.2.0 → comtypes-1.2.1}/comtypes.egg-info/top_level.txt +0 -0
  101. {comtypes-1.2.0 → comtypes-1.2.1}/setup.cfg +0 -0
@@ -1,6 +1,14 @@
1
1
  Comtypes CHANGELOG
2
2
  ==================
3
3
 
4
+ Release 1.2.1
5
+ --------------
6
+ * Replace ``distutils`` with ``setuptools``. By @junkmd.
7
+ * Add Python 3.12 testing into CI pipeline. By @junkmd.
8
+ * Set long description type to "markdown" to fix PyPI description rendering. By @junkmd.
9
+ * Add ``hints.pyi`` to ``package_data`` in ``setup.py`` which copies ``hints.pyi`` to correct install location. By @junkmd.
10
+ * Remove Python >=3.3, <=3.6 from CI pipeline. By @vasily-v-ryabov.
11
+
4
12
  Release 1.2.0
5
13
  --------------
6
14
  * Remove all automatic imports of ``numpy``, and make ``numpy`` interop opt-in. By @bennyrowland.
@@ -1,6 +1,6 @@
1
- Metadata-Version: 1.1
1
+ Metadata-Version: 2.1
2
2
  Name: comtypes
3
- Version: 1.2.0
3
+ Version: 1.2.1
4
4
  Summary: Pure Python COM package
5
5
  Home-page: https://github.com/enthought/comtypes
6
6
  Author: Thomas Heller
@@ -76,3 +76,4 @@ Classifier: Programming Language :: Python
76
76
  Classifier: Programming Language :: Python :: 2.7
77
77
  Classifier: Programming Language :: Python :: 3
78
78
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
79
+ Description-Content-Type: text/markdown
@@ -1,5 +1,5 @@
1
1
  # comtypes version numbers follow semver (http://semver.org/) and PEP 440
2
- __version__ = "1.2.0"
2
+ __version__ = "1.2.1"
3
3
 
4
4
  import atexit
5
5
  from ctypes import *
@@ -0,0 +1,26 @@
1
+ from typing import (
2
+ Any, Callable, Generic, NoReturn, Optional, overload, SupportsIndex,
3
+ Type, TypeVar, Union as _UnionT,
4
+ )
5
+
6
+ # symbols those what might occur recursive imports in runtime.
7
+ from comtypes.automation import IDispatch as IDispatch, VARIANT as VARIANT
8
+ from comtypes.server import IClassFactory as IClassFactory
9
+ from comtypes.typeinfo import ITypeInfo as ITypeInfo
10
+
11
+
12
+ def AnnoField() -> Any:
13
+ """**THIS IS `TYPE_CHECKING` ONLY SYMBOL.
14
+
15
+ This is workaround for class field type annotations for old
16
+ python versions.
17
+
18
+ Examples:
19
+ # instead of class field annotation, like below
20
+
21
+ class Foo:
22
+ # spam: int # <- not available in old versions.
23
+ if TYPE_CHECKING:
24
+ spam = AnnoField() # type: int # <- available in old versions.
25
+ """
26
+ ...
@@ -1,6 +1,6 @@
1
- Metadata-Version: 1.1
1
+ Metadata-Version: 2.1
2
2
  Name: comtypes
3
- Version: 1.2.0
3
+ Version: 1.2.1
4
4
  Summary: Pure Python COM package
5
5
  Home-page: https://github.com/enthought/comtypes
6
6
  Author: Thomas Heller
@@ -76,3 +76,4 @@ Classifier: Programming Language :: Python
76
76
  Classifier: Programming Language :: Python :: 2.7
77
77
  Classifier: Programming Language :: Python :: 3
78
78
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
79
+ Description-Content-Type: text/markdown
@@ -15,6 +15,7 @@ comtypes/automation.py
15
15
  comtypes/connectionpoints.py
16
16
  comtypes/errorinfo.py
17
17
  comtypes/git.py
18
+ comtypes/hints.pyi
18
19
  comtypes/hresult.py
19
20
  comtypes/logutil.py
20
21
  comtypes/messageloop.py
@@ -3,11 +3,10 @@ import sys
3
3
  import os
4
4
  import subprocess
5
5
 
6
- from distutils.core import Command
7
- from distutils.command.install import install
8
- from setuptools import setup
6
+ from setuptools import Command, setup
7
+ from setuptools.command.install import install
8
+ from setuptools.command.build_py import build_py
9
9
 
10
- from distutils.command.build_py import build_py
11
10
 
12
11
  with open('README.md') as readme_stream:
13
12
  readme = readme_stream.read()
@@ -127,6 +126,7 @@ setup_params = dict(
127
126
  name="comtypes",
128
127
  description="Pure Python COM package",
129
128
  long_description=readme,
129
+ long_description_content_type="text/markdown",
130
130
  author="Thomas Heller",
131
131
  author_email="theller@python.net",
132
132
  url="https://github.com/enthought/comtypes",
@@ -143,6 +143,9 @@ setup_params = dict(
143
143
  "mylib.tlb"
144
144
  "urlhist.tlb",
145
145
  "test_jscript.js",
146
+ ],
147
+ "comtypes": [
148
+ "hints.pyi"
146
149
  ]},
147
150
  classifiers=classifiers,
148
151
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes