move platform check to import time not install time#92
Conversation
|
Hello Robert, I'm not sure about that, it doesn't seem right to me to allow installs on systems known not to support inotify. The problem is that it's just for bypassing the issue that pip is unable to express conditional requirements based on platforms. I don't know if it could solve your issue but after searching a bit I've found this idea it could help I think. |
|
@seb-m thanks for the response (which I somehow managed to miss until now :/) The problem in our case is that we don't install from I agree that the problem is pip unable to express conditional requirements :/ I guess I could split |
|
Any more thoughts on this @seb-m ? One thing we (I work with @rhelmer) is that we can break out pyinotify from our |
|
#120 adde parameter on installation which allows to install even if platform is not supported |
I'd like to use pyinotify for an optional feature, but I can't add it to my
requirements.txtbecausepip installwill fail for devs on non-Linux platforms (Mac being the most prevalent)What do you think about moving the platform check into the module so it runs at import time (like the existing Python version check)?