Skip to content

Commit c8283ae

Browse files
committed
always install "distributed" on Windows
1 parent 796f3e2 commit c8283ae

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

setup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env python3
22

3+
import os
34
import sys
45

56
from setuptools import find_packages, setup
@@ -30,6 +31,10 @@ def get_version_and_cmdclass(package_name):
3031
"atomicwrites",
3132
]
3233

34+
if os.name == 'nt': # on Windows
35+
# distributed provides the default executor on Windows
36+
install_requires.append("distributed")
37+
3338
extras_require = {
3439
"notebook": [
3540
"ipython",

0 commit comments

Comments
 (0)