We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
pip install modin[all] should choose what to install based on the OS
When a Windows user runs `pip install modin[all]` it will not work because Ray does not have any Windows releases. We should still support `pip install modin[all]` in Windows.


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `setup.py`
Content:
```
1 from setuptools import setup, find_packages
2 import versioneer
3 
4 with open("README.md", "r") as fh:
5     long_description = fh.read()
6 
7 dask_deps = ["dask>=2.1.0", "distributed>=2.3.2"]
8 ray_deps = ["ray==0.8.3"]
9 
10 setup(
11     name="modin",
12     version=versioneer.get_version(),
13     cmdclass=versioneer.get_cmdclass(),
14     description="Modin: Make your pandas code run faster by changing one line of code.",
15     packages=find_packages(),
16     url="https://github.com/modin-project/modin",
17     long_description=long_description,
18     long_description_content_type="text/markdown",
19     install_requires=["pandas==1.0.3", "packaging"],
20     extras_require={
21         # can be installed by pip install modin[dask]
22         "dask": dask_deps,
23         "ray": ray_deps,
24         "all": dask_deps + ray_deps,
25     },
26     python_requires=">=3.5",
27 )
28
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -1,18 +1,60 @@
 from setuptools import setup, find_packages
 import versioneer
+import os
+from setuptools.dist import Distribution
+
+try:
+    from wheel.bdist_wheel import bdist_wheel
+
+    HAS_WHEEL = True
+except ImportError:
+    HAS_WHEEL = False
 
 with open("README.md", "r") as fh:
     long_description = fh.read()
 
+if HAS_WHEEL:
+
+    class ModinWheel(bdist_wheel):
+        def finalize_options(self):
+            bdist_wheel.finalize_options(self)
+            self.root_is_pure = False
+
+        def get_tag(self):
+            _, _, plat = bdist_wheel.get_tag(self)
+            py = "py3"
+            abi = "none"
+            return py, abi, plat
+
+
+class ModinDistribution(Distribution):
+    def __init__(self, *attrs):
+        Distribution.__init__(self, *attrs)
+        if HAS_WHEEL:
+            self.cmdclass["bdist_wheel"] = ModinWheel
+
+    def is_pure(self):
+        return False
+
+
 dask_deps = ["dask>=2.1.0", "distributed>=2.3.2"]
 ray_deps = ["ray==0.8.3"]
+if "SETUP_PLAT_NAME" in os.environ:
+    if "win" in os.environ["SETUP_PLAT_NAME"]:
+        all_deps = dask_deps
+    else:
+        all_deps = dask_deps + ray_deps
+else:
+    all_deps = dask_deps if os.name == "nt" else dask_deps + ray_deps
 
 setup(
     name="modin",
     version=versioneer.get_version(),
     cmdclass=versioneer.get_cmdclass(),
+    distclass=ModinDistribution,
     description="Modin: Make your pandas code run faster by changing one line of code.",
     packages=find_packages(),
+    license="Apache 2",
     url="https://github.com/modin-project/modin",
     long_description=long_description,
     long_description_content_type="text/markdown",
@@ -21,7 +63,7 @@
         # can be installed by pip install modin[dask]
         "dask": dask_deps,
         "ray": ray_deps,
-        "all": dask_deps + ray_deps,
+        "all": all_deps,
     },
     python_requires=">=3.5",
 )

{"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -1,18 +1,60 @@\n from setuptools import setup, find_packages\n import versioneer\n+import os\n+from setuptools.dist import Distribution\n+\n+try:\n+    from wheel.bdist_wheel import bdist_wheel\n+\n+    HAS_WHEEL = True\n+except ImportError:\n+    HAS_WHEEL = False\n \n with open(\"README.md\", \"r\") as fh:\n     long_description = fh.read()\n \n+if HAS_WHEEL:\n+\n+    class ModinWheel(bdist_wheel):\n+        def finalize_options(self):\n+            bdist_wheel.finalize_options(self)\n+            self.root_is_pure = False\n+\n+        def get_tag(self):\n+            _, _, plat = bdist_wheel.get_tag(self)\n+            py = \"py3\"\n+            abi = \"none\"\n+            return py, abi, plat\n+\n+\n+class ModinDistribution(Distribution):\n+    def __init__(self, *attrs):\n+        Distribution.__init__(self, *attrs)\n+        if HAS_WHEEL:\n+            self.cmdclass[\"bdist_wheel\"] = ModinWheel\n+\n+    def is_pure(self):\n+        return False\n+\n+\n dask_deps = [\"dask>=2.1.0\", \"distributed>=2.3.2\"]\n ray_deps = [\"ray==0.8.3\"]\n+if \"SETUP_PLAT_NAME\" in os.environ:\n+    if \"win\" in os.environ[\"SETUP_PLAT_NAME\"]:\n+        all_deps = dask_deps\n+    else:\n+        all_deps = dask_deps + ray_deps\n+else:\n+    all_deps = dask_deps if os.name == \"nt\" else dask_deps + ray_deps\n \n setup(\n     name=\"modin\",\n     version=versioneer.get_version(),\n     cmdclass=versioneer.get_cmdclass(),\n+    distclass=ModinDistribution,\n     description=\"Modin: Make your pandas code run faster by changing one line of code.\",\n     packages=find_packages(),\n+    license=\"Apache 2\",\n     url=\"https://github.com/modin-project/modin\",\n     long_description=long_description,\n     long_description_content_type=\"text/markdown\",\n@@ -21,7 +63,7 @@\n         # can be installed by pip install modin[dask]\n         \"dask\": dask_deps,\n         \"ray\": ray_deps,\n-        \"all\": dask_deps + ray_deps,\n+        \"all\": all_deps,\n     },\n     python_requires=\">=3.5\",\n )\n", "issue": "pip install modin[all] should choose what to install based on the OS\nWhen a Windows user runs `pip install modin[all]` it will not work because Ray does not have any Windows releases. We should still support `pip install modin[all]` in Windows.\r\n\n", "before_files": [{"content": "from setuptools import setup, find_packages\nimport versioneer\n\nwith open(\"README.md\", \"r\") as fh:\n    long_description = fh.read()\n\ndask_deps = [\"dask>=2.1.0\", \"distributed>=2.3.2\"]\nray_deps = [\"ray==0.8.3\"]\n\nsetup(\n    name=\"modin\",\n    version=versioneer.get_version(),\n    cmdclass=versioneer.get_cmdclass(),\n    description=\"Modin: Make your pandas code run faster by changing one line of code.\",\n    packages=find_packages(),\n    url=\"https://github.com/modin-project/modin\",\n    long_description=long_description,\n    long_description_content_type=\"text/markdown\",\n    install_requires=[\"pandas==1.0.3\", \"packaging\"],\n    extras_require={\n        # can be installed by pip install modin[dask]\n        \"dask\": dask_deps,\n        \"ray\": ray_deps,\n        \"all\": dask_deps + ray_deps,\n    },\n    python_requires=\">=3.5\",\n)\n", "path": "setup.py"}], "after_files": [{"content": "from setuptools import setup, find_packages\nimport versioneer\nimport os\nfrom setuptools.dist import Distribution\n\ntry:\n    from wheel.bdist_wheel import bdist_wheel\n\n    HAS_WHEEL = True\nexcept ImportError:\n    HAS_WHEEL = False\n\nwith open(\"README.md\", \"r\") as fh:\n    long_description = fh.read()\n\nif HAS_WHEEL:\n\n    class ModinWheel(bdist_wheel):\n        def finalize_options(self):\n            bdist_wheel.finalize_options(self)\n            self.root_is_pure = False\n\n        def get_tag(self):\n            _, _, plat = bdist_wheel.get_tag(self)\n            py = \"py3\"\n            abi = \"none\"\n            return py, abi, plat\n\n\nclass ModinDistribution(Distribution):\n    def __init__(self, *attrs):\n        Distribution.__init__(self, *attrs)\n        if HAS_WHEEL:\n            self.cmdclass[\"bdist_wheel\"] = ModinWheel\n\n    def is_pure(self):\n        return False\n\n\ndask_deps = [\"dask>=2.1.0\", \"distributed>=2.3.2\"]\nray_deps = [\"ray==0.8.3\"]\nif \"SETUP_PLAT_NAME\" in os.environ:\n    if \"win\" in os.environ[\"SETUP_PLAT_NAME\"]:\n        all_deps = dask_deps\n    else:\n        all_deps = dask_deps + ray_deps\nelse:\n    all_deps = dask_deps if os.name == \"nt\" else dask_deps + ray_deps\n\nsetup(\n    name=\"modin\",\n    version=versioneer.get_version(),\n    cmdclass=versioneer.get_cmdclass(),\n    distclass=ModinDistribution,\n    description=\"Modin: Make your pandas code run faster by changing one line of code.\",\n    packages=find_packages(),\n    license=\"Apache 2\",\n    url=\"https://github.com/modin-project/modin\",\n    long_description=long_description,\n    long_description_content_type=\"text/markdown\",\n    install_requires=[\"pandas==1.0.3\", \"packaging\"],\n    extras_require={\n        # can be installed by pip install modin[dask]\n        \"dask\": dask_deps,\n        \"ray\": ray_deps,\n        \"all\": all_deps,\n    },\n    python_requires=\">=3.5\",\n)\n", "path": "setup.py"}]}