Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow building on Mac OS X #139

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

daveisfera
Copy link

Fixes #138.

@seanroark
Copy link

Is this going to get merged? I'm running into same problem.

Copy link

@jacebrowning jacebrowning left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because Pipfile supports PEP508, setup.py should not include platform checks like this.

👍 On this change.

@jacebrowning
Copy link

@seb-m Can you merge this?

@@ -25,7 +25,7 @@
sys.exit(1)

# check linux platform
if not platform.startswith('linux') and not platform.startswith('freebsd'):
if not platform.startswith('linux') and not platform.startswith('freebsd') and not platform.startswith('macosx'):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this package can build on macos, is there any restriction ?

@rpasta42
Copy link

rpasta42 commented Aug 24, 2018

pyinotify successfully builds on OSX with this modification, but then gives a runtime error: OSError: Cannot initialize new instance of inotify, Errno=Invalid argument (EINVAL)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants