{"id":27888264,"url":"https://github.com/ironlanguages/pylauncher","last_synced_at":"2025-05-05T09:07:05.598Z","repository":{"id":66464934,"uuid":"20721283","full_name":"IronLanguages/pylauncher","owner":"IronLanguages","description":"pylauncher with IronPython specific modifications","archived":false,"fork":false,"pushed_at":"2014-07-09T15:18:05.000Z","size":292,"stargazers_count":3,"open_issues_count":2,"forks_count":3,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-03-25T21:59:14.200Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IronLanguages.png","metadata":{"files":{"readme":"README.txt","changelog":null,"contributing":null,"funding":null,"license":"License.rtf","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-11T10:26:35.000Z","updated_at":"2023-02-07T08:10:51.000Z","dependencies_parsed_at":"2023-02-20T11:15:32.987Z","dependency_job_id":null,"html_url":"https://github.com/IronLanguages/pylauncher","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronLanguages%2Fpylauncher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronLanguages%2Fpylauncher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronLanguages%2Fpylauncher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IronLanguages%2Fpylauncher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IronLanguages","download_url":"https://codeload.github.com/IronLanguages/pylauncher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252470764,"owners_count":21753047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-05T09:07:04.927Z","updated_at":"2025-05-05T09:07:05.588Z","avatar_url":"https://github.com/IronLanguages.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"================================================\nInstalling and Using Python Launcher for Windows\n================================================\n\nBinary Builds\n-------------\n\nYou can get 32- and 64-bit binary installers from the Downloads section.\n\nSource Builds\n-------------\n\nYou should be able to clone this repository, then build the executables using\nVisual Studio or Visual Studio Express (2008 Editions - 2010 Editiona should\nalso work, but haven't been tested).\n\nOnce the executables have been built, you can run buildmsi.cmd to build the\ninstallers (you'll need the WiX toolkit installed and on your path in order to\ndo this).\n\nInstallation and Uninstallation\n-------------------------------\n\nYou can install the launcher using\n\nmsiexec /i launcher.msi\n\nfor a 32-bit system. If all goes well, the launcher will be installed, and you\nshould see a message box indicating that installation was successful.\n\nInstalling the launcher will change the file associations for Python files \n(ones with extensions of .py, .pyw, .pyc and .pyo). These will be handled by\nthe installed launcher. If you previously had associations for these files,\nthey should be restored when the launcher is uninstalled.\n\nYou can uninstall using\n\nmsiexec /x launcher.msi\n\nOn successful uninstallations, any file associations for Python files should\nbe restored to what they were before you installed the launcher. If there were\nno previous file associations, the launcher will display a dialog showing all\ninstalled Pythons and offer you the option of associating Python files with one\nof them. You can choose to associate with a Python of your choice, or avoid\nassociating these files altogether.\n\nVariants of the launcher\n------------------------\n\nThere are four variants of the launcher MSI which you can download:\n\nlauncher.msi        32-bit launcher, installs to \\Program Files\\Python Launcher\nlauncher.amd64.msi  64-bit launcher, installs to \\Program Files\\Python Launcher\nlaunchwin.msi       32-bit launcher, installs to \\Windows\nlaunchwin.amd64.msi 64-bit launcher, installs to \\Windows\n\nOne advantage of the versions which install to the Windows folder is\nthat you can invoke the launcher itself more easily, using just \"py\" or \"pyw\",\nas the Windows folder is on the PATH for both 32-bit and 64-bit executables.\n\nUser Permissions\n----------------\n\nThere are a couple of points worth noting about how the installers work:\n\n1. If you don't have administrator rights on the machine you're installing on,\n   you probably won't be able to complete the installation, because you don't\n   have permissions to write to the \"Program Files\" folder.\n\n2. By default, all installations run using MSIEXEC will attempt to perform an\n   installation for the current user: this means registry changes will be\n   made under HKEY_CURRENT_USER rather than HKEY_LOCAL_MACHINE. To install\n   for all users, use a command line of the form\n\n   msiexec /i launcher.msi ALLUSERS=1\n\n   This will attempt an all-users installation, which will fail if you don't\n   have administrator access. As an alternative, you can do\n\n   msiexec /i launcher.msi ALLUSERS=2\n\n   which will do an all-users installation (if you have administrator access)\n   or a per-user installation (if you don't).\n\nUsage\n-----\n\nSee the PEP for how the launcher is supposed to work. In practice, once the\nlauncher is installed, you can run any Python script on your system even if\nPython is not on the path, simply invoking the script by name (if you have\n.py and .pyw in your PATHEXT environment variable, you don't even need to\nspecify the extension):\n\nC:\\Users\\Vinay\u003e script arg1 arg2 arg3\n\nIf you have more than one Python installed, the first line of the script can\nindicate a specific Python to run it with:\n\n#!python    -\u003e the default Python (usually the most recent Python 2.x)\n#!python2   -\u003e the most recent Python 2.x\n#!python3   -\u003e the most recent Python 3.x\n#!python3.2 -\u003e Python 3.2 (an error will be raised if that's not installed)\n\nBasic Documentation\n-------------------\n\nBasic documentation in ReStructuredText format can be found at\n\nhttps://bitbucket.org/vinay.sajip/pylauncher/raw/tip/Doc/launcher.rst\n\nSoftware Status\n---------------\n\nThe software is currently in beta status - while it is reasonably stable, you\nmay experience problems on installation or uninstallation. If for any reason\nyou cannot uninstall the launcher using msiexec, you can use the msizap utility\nfrom Microsoft for this (it's part of the Windows SDK - free to download).\n\nIf you need to use msizap, these are the Windows Installer product codes for\nthe launcher MSIs:\n\n{298B5D62-1287-427F-B8D9-B44D605F8F6B} (32-bit)\n{1CB6C42B-5887-47CF-AF21-988256F0455B} (64-bit)\n\nIf you find any problems, please file a ticket in the Issues section.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fironlanguages%2Fpylauncher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fironlanguages%2Fpylauncher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fironlanguages%2Fpylauncher/lists"}