diff --git a/CHANGELOG.md b/CHANGELOG.md index 6bd77576cc2c0fad2f44a89cc0ccf2d75edb1c2e..2a0db69d9307e1ecaf0486fd8ce7874f47e20774 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# v1.7 + +* should work on Windows + # v1.6 * certified for Python 3.11 and 3.12 diff --git a/snakehouse/__init__.py b/snakehouse/__init__.py index 022c89edf3bb996bf4670cad13073e4cd1b63232..70f9ed1c2e9b9e3bf048fe7bce9f43b8e575e788 100644 --- a/snakehouse/__init__.py +++ b/snakehouse/__init__.py @@ -7,4 +7,4 @@ from .requirements import read_requirements_txt, find_c, find_pyx_and_c, find_py try: __version__ = pkg_resources.require('snakehouse')[0].version except pkg_resources.DistributionNotFound: - __version__ = '1.6' + __version__ = '1.7' diff --git a/snakehouse/build.py b/snakehouse/build.py index 605fe94c0c6d899647bc1723c0d0aeed5c493036..ade35caf31f1421f028174f266cc34fc204261e3 100644 --- a/snakehouse/build.py +++ b/snakehouse/build.py @@ -14,6 +14,9 @@ logger = logging.getLogger(__name__) def build(extensions: tp.List[MultiBuildType], *args, nthreads=None, **kwargs): if nthreads is None: nthreads = multiprocessing.cpu_count() + if sys.platform == 'win32': + print('Sorry, multiprocessing is not yet supported on Windows') + nthreads = 1 kwargs['nthreads'] = nthreads returns = [] multi_builds = []