Tufin / pytos

A Python SDK for Tufin Orchestration Suite
https://www.tufin.com
Apache License 2.0
55 stars 21 forks source link

Usage of inotify #7

Closed PaulNokel closed 6 years ago

PaulNokel commented 7 years ago

You are using inotify for some log handling actions. However, inotify is not available on MacOS, it is Linux only. I would like to use pytos directly on my workstation for some presentations and basic development. Is it possible to replace inotify as a dependency and replace it with something that is available on more platforms?

Best regards, Paul

packetinspector commented 6 years ago

Same issue. I can not utilize pytos on OSX.

ShayHaluba commented 6 years ago

Same issue on Win 7 :(

funkycode commented 6 years ago

As Tufin applications would not run on MacOS or Windows - we currently do not support it (not aware if we ever would). I would suggest to setup IDE to run and debug it from your OS remotely on the TOS server.

See the example on how you can use pycharm for that: https://www.jetbrains.com/help/pycharm/remote-debugging.html

packetinspector commented 6 years ago

Why would it matter where you run the application? Are you saying APIs only work on linux in general?

I think it's prudent to remove the dependency so more people can make use of Pytos.

funkycode commented 6 years ago

Again - this is not planned. Moreover there are other 3rd party libs we use and we are not going to support it partially so it works only in specific cases, which in this case do cover your needs.

If you use pytos - you need ST or SC. So use them and setup remote config with IDE - it's acceptable way most development works.