Skip to content

Commit e657e8e

Browse files
committed
Adding error regarding Windows incompatibility
1 parent e7a89a9 commit e657e8e

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

py-EnBiD-ananke

py-Galaxia-ananke

src/_build_utils.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Contains the ananke module building utility tools. Credit to
44
https://github.com/GalacticDynamics-Oxford/Agama/blob/master/setup.py.
55
"""
6+
import platform
67
import os
78
import importlib.util
89
import sys
@@ -23,6 +24,9 @@
2324

2425
__all__ = ['make_package_data', 'check_submodules', 'append_install_requires_with_submodules', 'make_cmdclass']
2526

27+
if platform.system() == "Windows":
28+
raise OSError(f"Windows compatibility is not currently supported by {NAME}. We apologize for the inconvenience.")
29+
2630
ROOT_DIR = pathlib.Path(__file__).parent.parent
2731

2832
# Check if we're in a build workflow

0 commit comments

Comments
 (0)