<commit_before>from setuptools import setup, find_packages, Extension
import sys, os

version = '0.2'

install_requires = [
    # -*- Extra requirements: -*-
    ]

_scm_module = Extension(
    'simplecoremidi._simplecoremidi',
    sources=['simplecoremidi/_simplecoremidi.c'],
    extra_link_args=['-framework', 'CoreFoundation',
                     '-framework', 'CoreMIDI']
    )

setup(name='simplecoremidi',
      version=version,
      description="Simple OS X CoreMIDI interface",
      long_description=open("./README.md", "r").read(),<commit_msg>Prevent non-Mac users from installing this.<commit_after>from setuptools import setup, find_packages, Extension
import sys, os

version = '0.2'

if sys.platform != 'darwin':
    raise Exception(
        "simplecoremidi only works on Mac OS X (plaform: darwin). "
        "Your system claims to be {}, which won't work.".format(sys.platform))


install_requires = [
    # -*- Extra requirements: -*-
    ]

_scm_module = Extension(
    'simplecoremidi._simplecoremidi',
    sources=['simplecoremidi/_simplecoremidi.c'],
    extra_link_args=['-framework', 'CoreFoundation',
                     '-framework', 'CoreMIDI']
    )

setup(name='simplecoremidi',
      version=version,
      description="Simple OS X CoreMIDI interface",
      long_description=open("./README.md", "r").read(),
{'fraction_non_alphanumeric': 0.13646532438478748, 'fraction_numerical': 0.002982848620432513, 'mean_word_length': 3.473333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '690265', 'n_tokens_mistral': 417, 'n_tokens_neox': 409, 'n_words': 88}