change to use pywin32

This commit is contained in:
Amber Brown 2018-04-01 00:55:23 +11:00
parent 0c3a47791c
commit bbe4ce6a8d
4 changed files with 5 additions and 5 deletions

View File

@ -15,7 +15,7 @@ To install Twisted, you need:
Zope Interface 4.0 or newer is required for Python 3.
Installing via pip will automatically download a suitable Zope Interface.
- On Windows `pywin32 <https://pypi.python.org/pypi/pypiwin32>`_ is required.
- On Windows `pywin32 <https://pypi.python.org/pypi/pywin32>`_ is required.
Build 219 or later is highly recommended for reliable operation (this is already included in ActivePython).
We also have `setuptools extras <http://twistedmatrix.com/documents/current/installation/howto/optional.html>`_ for automatically installing optional packages used by Twisted.

View File

@ -44,7 +44,7 @@ The following optional dependencies are supported:
* **macos_platform** - **all_non_platform** options and `pyobjc`_ to work with Objective-C apis.
* **windows_platform** - **all_non_platform** options and `pypiwin32`_ to work with Windows's apis.
* **windows_platform** - **all_non_platform** options and `pywin32`_ to work with Windows's apis.
* **http2** - packages needed for http2 support.
@ -65,7 +65,7 @@ The following optional dependencies are supported:
.. _SOAPpy: https://pypi.python.org/pypi/SOAPpy
.. _pyserial: https://pypi.python.org/pypi/pyserial
.. _pyobjc: https://pypi.python.org/pypi/pyobjc
.. _pypiwin32: https://pypi.python.org/pypi/pypiwin32
.. _pywin32: https://pypi.python.org/pypi/pywin32
.. _`setuptools documentation`: https://pythonhosted.org/setuptools/setuptools.html#declaring-extras-optional-features-with-their-own-dependencies
.. _`python packaging tutorial`: https://packaging.python.org/en/latest/installing.html#examples
.. _idna: https://pypi.python.org/pypi/idna

View File

@ -106,7 +106,7 @@ _EXTRA_OPTIONS = dict(
macos=['pyobjc-core',
'pyobjc-framework-CFNetwork',
'pyobjc-framework-Cocoa'],
windows=['pypiwin32'],
windows=['pywin32'],
http2=['h2 >= 3.0, < 4.0',
'priority >= 1.1.0, < 2.0'],
)

View File

@ -259,7 +259,7 @@ class OptionalDependenciesTests(TestCase):
self.assertIn('pyserial >= 3.0', deps)
self.assertIn('h2 >= 3.0, < 4.0', deps)
self.assertIn('priority >= 1.1.0, < 2.0', deps)
self.assertIn('pypiwin32', deps)
self.assertIn('pywin32', deps)