{"action":"opened","issue":{"url":"https://api.github.com/repos/etingof/pysnmp/issues/29","repository_url":"https://api.github.com/repos/etingof/pysnmp","labels_url":"https://api.github.com/repos/etingof/pysnmp/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/etingof/pysnmp/issues/29/comments","events_url":"https://api.github.com/repos/etingof/pysnmp/issues/29/events","html_url":"https://github.com/etingof/pysnmp/issues/29","id":187991890,"number":29,"title":"Install pycrpytodome when installing for Windows","user":{"login":"johnthagen","id":10340167,"avatar_url":"https://avatars.githubusercontent.com/u/10340167?v=3","gravatar_id":"","url":"https://api.github.com/users/johnthagen","html_url":"https://github.com/johnthagen","followers_url":"https://api.github.com/users/johnthagen/followers","following_url":"https://api.github.com/users/johnthagen/following{/other_user}","gists_url":"https://api.github.com/users/johnthagen/gists{/gist_id}","starred_url":"https://api.github.com/users/johnthagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnthagen/subscriptions","organizations_url":"https://api.github.com/users/johnthagen/orgs","repos_url":"https://api.github.com/users/johnthagen/repos","events_url":"https://api.github.com/users/johnthagen/events{/privacy}","received_events_url":"https://api.github.com/users/johnthagen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-08T13:29:50Z","updated_at":"2016-11-08T13:29:50Z","closed_at":null,"body":"With the switch to pycryptodome (#19), pycyptodome [provides binary wheel distributions for Windows](https://pypi.python.org/pypi/pycryptodome).\r\n\r\nIt shouldn't be a problem to always install pycryptodome on Windows, though technically there are only wheels for 2.7, 3.3, 3.4, and 3.5, though I suspect it's unlikely that someone on Windows is using a version of Python other than those.\r\n\r\nhttps://github.com/etingof/pysnmp/blob/master/setup.py#L77-L88\r\n\r\n```\r\n        if sys.platform.lower()[:3] != 'win':\r\n            params['requires'].append('pycryptodome')\r\n\r\nif sys.platform.lower()[:3] == 'win':\r\n    try:\r\n        import Crypto\r\n    except ImportError:\r\n        sys.stderr.write(\"\"\"WARNING! WARNING! WARNING!\r\nPyCrypto binaries are required for SNMPv3 encryption to work.\r\nYou may wish to grab them from http://www.voidspace.org.uk/python/modules.shtml\r\nand install into your system.\r\n\"\"\")\r\n```\r\n"}}
{"actor":{"display_login":"johnthagen"}}