Skip to content

Commit 4a8832c

Browse files
committed
pypiwin32 added to requirements
Signed-off-by: Joffrey F <[email protected]>
1 parent a34e0cb commit 4a8832c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

setup.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
#!/usr/bin/env python
22
import os
3+
import sys
4+
35
from setuptools import setup
46

7+
58
ROOT_DIR = os.path.dirname(__file__)
69
SOURCE_DIR = os.path.join(ROOT_DIR)
710

@@ -11,6 +14,9 @@
1114
'websocket-client >= 0.32.0',
1215
]
1316

17+
if sys.platform == 'win32':
18+
requirements.append('pypiwin32 >= 219')
19+
1420
extras_require = {
1521
':python_version < "3.5"': 'backports.ssl_match_hostname >= 3.5',
1622
':python_version < "3.3"': 'ipaddress >= 1.0.16',

win32-requirements.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-r requirements.txt
2+
pypiwin32==219

0 commit comments

Comments
 (0)