{"action":"created","issue":{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1315","labels_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1315/labels{/name}","comments_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1315/comments","events_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1315/events","html_url":"https://github.com/pyinstaller/pyinstaller/issues/1315","id":92084983,"number":1315,"title":"Add C functions for easy access to runtime options in PYZ","user":{"login":"htgoebel","id":784161,"avatar_url":"https://avatars.githubusercontent.com/u/784161?v=3","gravatar_id":"","url":"https://api.github.com/users/htgoebel","html_url":"https://github.com/htgoebel","followers_url":"https://api.github.com/users/htgoebel/followers","following_url":"https://api.github.com/users/htgoebel/following{/other_user}","gists_url":"https://api.github.com/users/htgoebel/gists{/gist_id}","starred_url":"https://api.github.com/users/htgoebel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htgoebel/subscriptions","organizations_url":"https://api.github.com/users/htgoebel/orgs","repos_url":"https://api.github.com/users/htgoebel/repos","events_url":"https://api.github.com/users/htgoebel/events{/privacy}","received_events_url":"https://api.github.com/users/htgoebel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/labels/bootloader","name":"bootloader","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/milestones/1","html_url":"https://github.com/pyinstaller/pyinstaller/milestones/PyInstaller%203.x","labels_url":"https://api.github.com/repos/pyinstaller/pyinstaller/milestones/1/labels","id":831124,"number":1,"title":"PyInstaller 3.x","description":"Cover the distribution phase of installation: build an installer wizard on Windows (through !InnoSetup/NSIS), a DEB/RPM for Linux and a DMG for Mac.\r\n\r\nLeft from previous milestone\r\n * Fix windows service (#539, #559).\r\n * Customizable (package-dependent) spec file \r\n * Enable/disable importing modules from filesystem\r\n * PyInstaller home should be \"read only\", this is: no files are written there\r\n * binchache is going to $HOME/.... (already implemented, but need to be changed)\r\n\r\n'''Only ideas, to be discusses, not decided yet'''\r\n\r\n * find import in extension modules (this would allow some hooks to be removed) #438\r\n * infos about how to package as an rpm (ReadMe-Pacakgingg.txt)","creator":{"login":"pyinstaller-tickets-migration","id":5377465,"avatar_url":"https://avatars.githubusercontent.com/u/5377465?v=3","gravatar_id":"","url":"https://api.github.com/users/pyinstaller-tickets-migration","html_url":"https://github.com/pyinstaller-tickets-migration","followers_url":"https://api.github.com/users/pyinstaller-tickets-migration/followers","following_url":"https://api.github.com/users/pyinstaller-tickets-migration/following{/other_user}","gists_url":"https://api.github.com/users/pyinstaller-tickets-migration/gists{/gist_id}","starred_url":"https://api.github.com/users/pyinstaller-tickets-migration/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyinstaller-tickets-migration/subscriptions","organizations_url":"https://api.github.com/users/pyinstaller-tickets-migration/orgs","repos_url":"https://api.github.com/users/pyinstaller-tickets-migration/repos","events_url":"https://api.github.com/users/pyinstaller-tickets-migration/events{/privacy}","received_events_url":"https://api.github.com/users/pyinstaller-tickets-migration/received_events","type":"User","site_admin":false},"open_issues":27,"closed_issues":10,"state":"open","created_at":"2014-10-18T13:32:01Z","updated_at":"2015-08-15T21:21:51Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-06-30T12:55:09Z","updated_at":"2015-08-17T07:30:29Z","closed_at":null,"body":"From https://github.com/pyinstaller/pyinstaller/issues/1106#issuecomment-105516391:\r\n\r\n>PYZ already supports runtime options, which are currently only one letter options like \"v\" or \"u\". Most are boolean, only \"W\" contains some value. Accessing them is as easy as shown in https://github.com/pyinstaller/pyinstaller/blob/develop/bootloader/common/pyi_pythonlib.c#L134\r\n\r\nAdd a function to the C-code to allow easy access to these options. This may also be useful for #1206."},"comment":{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/comments/131705598","html_url":"https://github.com/pyinstaller/pyinstaller/issues/1315#issuecomment-131705598","issue_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1315","id":131705598,"user":{"login":"htgoebel","id":784161,"avatar_url":"https://avatars.githubusercontent.com/u/784161?v=3","gravatar_id":"","url":"https://api.github.com/users/htgoebel","html_url":"https://github.com/htgoebel","followers_url":"https://api.github.com/users/htgoebel/followers","following_url":"https://api.github.com/users/htgoebel/following{/other_user}","gists_url":"https://api.github.com/users/htgoebel/gists{/gist_id}","starred_url":"https://api.github.com/users/htgoebel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htgoebel/subscriptions","organizations_url":"https://api.github.com/users/htgoebel/orgs","repos_url":"https://api.github.com/users/htgoebel/repos","events_url":"https://api.github.com/users/htgoebel/events{/privacy}","received_events_url":"https://api.github.com/users/htgoebel/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T07:30:29Z","updated_at":"2015-08-17T07:30:29Z","body":"I'll leave this decision to you, as you know the bootloader code much better then me. If we (say: you :-) are going to implement some access-function we could change this easily if need arises."}}