8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c33d0b commit a129407Copy full SHA for a129407
setup.py
@@ -33,6 +33,16 @@
33
from pybind11.setup_helpers import Pybind11Extension
34
if os.environ.get("MPLCAIRO_NO_PYCAIRO", ""):
35
cairo = None
36
+elif os.name == "nt":
37
+ sys.exit("""\
38
+===============================================================================
39
+On Windows, please use the tools/build-windows-wheel.py tool to build an
40
+installable wheel. Directly installing from a source tree is not supported.
41
+You may set the MPLCAIRO_NO_PYCAIRO environment variable to clear this message,
42
+if all necessary dependencies have been manually installed as described in the
43
+README.
44
45
+""")
46
else:
47
import cairo
48
0 commit comments