Skip to content

Commit 2c75eaf

Browse files
authored
Merge pull request ethereum#470 from Mikerah/master
Added windows specific dependencies to setup.py
2 parents 29085d0 + 220860e commit 2c75eaf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@
2828
"ethereum-tester~=0.1.0b1",
2929
]
3030

31-
if sys.platform == 'win32':
32-
install_requires.append('pypiwin32')
33-
3431
setup(
3532
name='web3',
3633
# *IMPORTANT*: Don't manually change the version here. Use the 'bumpversion' utility.
@@ -45,6 +42,9 @@
4542
setup_requires=['setuptools-markdown'],
4643
extras_require={
4744
'tester': ["eth-testrpc>=1.3.3"],
45+
'platform_system=="Windows"': [
46+
'pypiwin32'
47+
],
4848
},
4949
py_modules=['web3', 'ens'],
5050
license="MIT",

0 commit comments

Comments
 (0)