{"action":"created","issue":{"url":"https://api.github.com/repos/pyca/cryptography/issues/2039","labels_url":"https://api.github.com/repos/pyca/cryptography/issues/2039/labels{/name}","comments_url":"https://api.github.com/repos/pyca/cryptography/issues/2039/comments","events_url":"https://api.github.com/repos/pyca/cryptography/issues/2039/events","html_url":"https://github.com/pyca/cryptography/issues/2039","id":89185144,"number":2039,"title":"Support for PyInstaller, py2exe, Cx_Freeze and similar tools.","user":{"login":"Ayrx","id":1937160,"avatar_url":"https://avatars.githubusercontent.com/u/1937160?v=3","gravatar_id":"","url":"https://api.github.com/users/Ayrx","html_url":"https://github.com/Ayrx","followers_url":"https://api.github.com/users/Ayrx/followers","following_url":"https://api.github.com/users/Ayrx/following{/other_user}","gists_url":"https://api.github.com/users/Ayrx/gists{/gist_id}","starred_url":"https://api.github.com/users/Ayrx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ayrx/subscriptions","organizations_url":"https://api.github.com/users/Ayrx/orgs","repos_url":"https://api.github.com/users/Ayrx/repos","events_url":"https://api.github.com/users/Ayrx/events{/privacy}","received_events_url":"https://api.github.com/users/Ayrx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-06-18T03:05:02Z","updated_at":"2015-07-15T15:09:34Z","closed_at":null,"body":"Getting cryptography to work with exe freezing tools like PyInstaller, py2exe and Cx_Freeze has been an increasingly popular source of issues. \r\n\r\nSome prior issues includes\r\n- #1524 \r\n- #1860 \r\n\r\nThe recent work on `master` that ports cryptography to CFFI 1.0 has fixed most of the issues present. The only issue remaining is that our current implementation of detecting available backends with `pkg_resources.iter_entry_points` does not work with such packaging tools (probably due to some sys.path issues).\r\n\r\nPatching the `_available_backends()` to use a list of hardcoded backends instead of `pkg_resources.iter_entry_points` allows for successful freezing of apps using cryptography.\r\n\r\nI'm opening this issue to track the final hurdle to getting cryptography to work with similar freezing tools."},"comment":{"url":"https://api.github.com/repos/pyca/cryptography/issues/comments/121646408","html_url":"https://github.com/pyca/cryptography/issues/2039#issuecomment-121646408","issue_url":"https://api.github.com/repos/pyca/cryptography/issues/2039","id":121646408,"user":{"login":"LEDfan","id":2996275,"avatar_url":"https://avatars.githubusercontent.com/u/2996275?v=3","gravatar_id":"","url":"https://api.github.com/users/LEDfan","html_url":"https://github.com/LEDfan","followers_url":"https://api.github.com/users/LEDfan/followers","following_url":"https://api.github.com/users/LEDfan/following{/other_user}","gists_url":"https://api.github.com/users/LEDfan/gists{/gist_id}","starred_url":"https://api.github.com/users/LEDfan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LEDfan/subscriptions","organizations_url":"https://api.github.com/users/LEDfan/orgs","repos_url":"https://api.github.com/users/LEDfan/repos","events_url":"https://api.github.com/users/LEDfan/events{/privacy}","received_events_url":"https://api.github.com/users/LEDfan/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T15:09:34Z","updated_at":"2015-07-15T15:09:34Z","body":"I downloaded master branch and installed using pip (`pip install x.zip`) and compiled my exe using `py2exe`. I can confirm this is working. Thanks!"}}