Skip to content

Commit 42a1a44

Browse files
committed
Fix conditional requirement on Windows
1 parent aa1e4fa commit 42a1a44

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGES.rst

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
CHANGE HISTORY
22
==============
33

4+
1.7.2
5+
-----
6+
- Fixed Windows dependencies
7+
48
1.7.1
59
-----
610
- Fixed Linux distribution

setup.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@
6161
'pyfiglet >= 0.7.2',
6262
'Pillow >= 2.7.0',
6363
'future',
64-
] + (['pypiwin32'] if sys.platform == 'win32' else []),
64+
],
65+
extras_require={
66+
':sys_platform == "win32"': ['pypiwin32'],
67+
},
6568
setup_requires=['setuptools_scm'],
6669
tests_require=[
6770
'mock',

0 commit comments

Comments
 (0)