Funktionierender Prototyp des Serious Games zur Vermittlung von Wissen zu Software-Engineering-Arbeitsmodellen.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

METADATA 6.2KB

1 year ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. Metadata-Version: 2.1
  2. Name: pywin32
  3. Version: 306
  4. Summary: Python for Window Extensions
  5. Home-page: https://github.com/mhammond/pywin32
  6. Author: Mark Hammond (et al)
  7. Author-email: mhammond@skippinet.com.au
  8. License: PSF
  9. Platform: UNKNOWN
  10. Classifier: Environment :: Win32 (MS Windows)
  11. Classifier: Intended Audience :: Developers
  12. Classifier: License :: OSI Approved :: Python Software Foundation License
  13. Classifier: Operating System :: Microsoft :: Windows
  14. Classifier: Programming Language :: Python :: 3.7
  15. Classifier: Programming Language :: Python :: 3.8
  16. Classifier: Programming Language :: Python :: 3.9
  17. Classifier: Programming Language :: Python :: 3.10
  18. Classifier: Programming Language :: Python :: 3.11
  19. Classifier: Programming Language :: Python :: 3.12
  20. Classifier: Programming Language :: Python :: Implementation :: CPython
  21. Description-Content-Type: text/markdown
  22. # pywin32
  23. [![CI](https://github.com/mhammond/pywin32/workflows/CI/badge.svg)](https://github.com/mhammond/pywin32/actions?query=workflow%3ACI)
  24. [![PyPI - Version](https://img.shields.io/pypi/v/pywin32.svg)](https://pypi.org/project/pywin32)
  25. [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pywin32.svg)](https://pypi.org/project/pywin32)
  26. [![PyPI - Downloads](https://img.shields.io/pypi/dm/pywin32.svg)](https://pypi.org/project/pywin32)
  27. [![License - PSF-2.0](https://img.shields.io/badge/license-PSF--2.0-9400d3.svg)](https://spdx.org/licenses/PSF-2.0.html)
  28. -----
  29. This is the readme for the Python for Win32 (pywin32) extensions, which provides access to many of the Windows APIs from Python.
  30. See [CHANGES.txt](https://github.com/mhammond/pywin32/blob/master/CHANGES.txt) for recent notable changes.
  31. Only Python 3 is supported. If you want Python 2 support, you want build `228`.
  32. ## Docs
  33. The docs are a long and sad story, but [there's now an online version](https://mhammond.github.io/pywin32/)
  34. of the helpfile that ships with the installers (thanks [@ofek](https://github.com/mhammond/pywin32/pull/1774)!).
  35. Lots of that is very old, but some is auto-generated and current. Would love help untangling the docs!
  36. ## Support
  37. Feel free to [open issues](https://github.com/mhammond/pywin32/issues) for
  38. all bugs (or suspected bugs) in pywin32. [pull-requests](https://github.com/mhammond/pywin32/pulls)
  39. for all bugs or features are also welcome.
  40. However, please **do not open github issues for general support requests**, or
  41. for problems or questions using the modules in this package - they will be
  42. closed. For such issues, please email the
  43. [python-win32 mailing list](http://mail.python.org/mailman/listinfo/python-win32) -
  44. note that you must be subscribed to the list before posting.
  45. ## Binaries
  46. [Binary releases are deprecated.](https://mhammond.github.io/pywin32_installers.html)
  47. While they are still provided, [find them here](https://github.com/mhammond/pywin32/releases)
  48. ## Installing via PIP
  49. You should install pywin32 via pip - eg,
  50. > python -m pip install --upgrade pywin32
  51. If you encounter any problems when upgrading (eg, "module not found" errors or similar), you
  52. should execute:
  53. > python Scripts/pywin32_postinstall.py -install
  54. This will make some small attempts to cleanup older conflicting installs.
  55. Note that if you want to use pywin32 for "system wide" features, such as
  56. registering COM objects or implementing Windows Services, then you must run
  57. that command from an elevated (ie, "Run as Administrator) command prompt.
  58. For unreleased changes, you can download builds made by [github actions](https://github.com/mhammond/pywin32/actions/) -
  59. choose any "workflow" from the `main` branch and download its "artifacts")
  60. ### `The specified procedure could not be found` / `Entry-point not found` Errors?
  61. A very common report is that people install pywin32, but many imports fail with errors
  62. similar to the above.
  63. In almost all cases, this tends to mean there are other pywin32 DLLs installed in your system,
  64. but in a different location than the new ones. This sometimes happens in environments that
  65. come with pywin32 pre-shipped (eg, anaconda?).
  66. The possible solutions are:
  67. * Run the "post_install" script documented above.
  68. * Otherwise, find and remove all other copies of `pywintypesXX.dll` and `pythoncomXX.dll`
  69. (where `XX` is the Python version - eg, "39")
  70. ### Running as a Windows Service
  71. Modern Python installers do not, by default, install Python in a way that is suitable for
  72. running as a service, particularly for other users.
  73. * Ensure Python is installed in a location where the user running the service has
  74. access to the installation and is able to load `pywintypesXX.dll` and `pythonXX.dll`.
  75. * Manually copy `pythonservice.exe` from the `site-packages/win32` directory to
  76. the same place as these DLLs.
  77. ## Building from source
  78. Install Visual Studio 2019 (later probably works, but options might be different),
  79. select "Desktop Development with C++", then the following options:
  80. * Windows 10 SDK (latest offered I guess? At time of writing, 10.0.18362)
  81. * "C++ for MFC for ..."
  82. * ARM build tools if necessary.
  83. (the free compilers probably work too, but haven't been tested - let me know your experiences!)
  84. `setup.py` is a standard distutils build script, so you probably want:
  85. > python setup.py install
  86. or
  87. > python setup.py --help
  88. Some modules need obscure SDKs to build - `setup.py` should succeed, gracefully
  89. telling you why it failed to build them - if the build actually fails with your
  90. configuration, please [open an issue](https://github.com/mhammond/pywin32/issues).
  91. ## Release process
  92. The following steps are performed when making a new release - this is mainly
  93. to form a checklist so mhammond doesn't forget what to do :)
  94. * Ensure CHANGES.txt has everything worth noting, commit it.
  95. * Update setup.py with the new build number.
  96. * Execute build.bat, wait forever, test the artifacts.
  97. * Upload .whl artifacts to pypi - we do this before pushing the tag because they might be
  98. rejected for an invalid `README.md`. Done via `py -3.? -m twine upload dist/*XXX*.whl`.
  99. * Commit setup.py (so the new build number is in the repo), create a new git tag
  100. * Upload the .exe installers to github.
  101. * Update setup.py with the new build number + ".1" (eg, 123.1), to ensure
  102. future test builds aren't mistaken for the real release.
  103. * Make sure everything is pushed to github, including the tag (ie,
  104. `git push --tags`)
  105. * Send mail to python-win32