{"id":21503397,"url":"https://github.com/tufayellus/convert-python-project-to-executable","last_synced_at":"2025-03-17T13:44:04.939Z","repository":{"id":226259373,"uuid":"768197218","full_name":"TufayelLUS/Convert-Python-Project-To-Executable","owner":"TufayelLUS","description":"This is a template repository code for converting python script to windows executable using cx_freeze library","archived":false,"fork":false,"pushed_at":"2024-12-13T09:46:48.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T23:44:41.973Z","etag":null,"topics":["cx-freeze","executable-file","python-to-exe","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TufayelLUS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-06T16:39:53.000Z","updated_at":"2024-12-13T09:46:52.000Z","dependencies_parsed_at":"2024-11-23T18:35:57.316Z","dependency_job_id":null,"html_url":"https://github.com/TufayelLUS/Convert-Python-Project-To-Executable","commit_stats":null,"previous_names":["tufayellus/convert-python-project-to-executable"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TufayelLUS%2FConvert-Python-Project-To-Executable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TufayelLUS%2FConvert-Python-Project-To-Executable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TufayelLUS%2FConvert-Python-Project-To-Executable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TufayelLUS%2FConvert-Python-Project-To-Executable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TufayelLUS","download_url":"https://codeload.github.com/TufayelLUS/Convert-Python-Project-To-Executable/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244044343,"owners_count":20388757,"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":["cx-freeze","executable-file","python-to-exe","python3"],"created_at":"2024-11-23T18:22:06.565Z","updated_at":"2025-03-17T13:44:04.914Z","avatar_url":"https://github.com/TufayelLUS.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Convert Python Project To Executable using cx_freeze\nThis is a template repository code for converting Python script to Windows executable using the cx_freeze library\n\n# Command to install the library\n\u003cpre\u003epip install cx_Freeze\u003c/pre\u003e\n\n# Instructions\nFirst, place the setup.py file in the same folder where your main Python file is. After that, Place the name of the Python file under the \"executables\" variable and include any additional files under the \"options\" variable. Then, set the process's name, add a description, and save the changes.\u003cbr\u003e\nNow, open the terminal in the folder and run this command\u003cbr\u003e\n\u003cpre\u003epython setup.py build\u003c/pre\u003e\nThis will compile the program under the \"build\" folder.\n\n# How to add a program icon\nChange the executables line to this:\u003cbr\u003e\nNote: If you want to enable the debug console, set base=\"Console\"\n\u003cpre\u003eexecutables = [Executable(\"python_file_name.py\", base=base, icon=\"favicon.ico\")]\u003c/pre\u003e\nAfter that, add the same \"favicon.ico\" in the same line as \"include_files\" so that it is like\n\u003cpre\u003e\"include_files\": [\"favicon.ico\"],\u003c/pre\u003e\nMake sure to keep the icon file within the same folder too. Then run the build command, and the program will include the program icon.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftufayellus%2Fconvert-python-project-to-executable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftufayellus%2Fconvert-python-project-to-executable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftufayellus%2Fconvert-python-project-to-executable/lists"}