Translations Languageīrazilian Portuguese (Português Brasileiro) Without these, it's going to take longer to identify the issue. When filling out the template, be sure to clearly explain what's happening, give reproduction steps and a minimal reproducible example and explain what you believe should have happened. If your issue is only associated with your application, please do not create an issue in this repository - instead, comment on the help post, video or create a new discussion. If you believe you've found an issue with this tool, please create an issue (click "Get started") and fill out the template provided by the "Bug report" option. This post covers things you should know about packaging Python scripts and fixes for things that commonly go wrong. If you're having issues with the packaged executable or using this tool in general, I recommend you read my blog post on common issues when using auto-py-to-exe. If you need something visual to help you get started, I made a video for the original release of this project some things may be different but the same concepts still apply. If you want to have the output directory in the JSON config, add the directory under nonPyinstallerOptions.outputDirectory in the JSON file (will need to create a new key). This JSON config export action does not save the output directory automatically as moving hosts could mean different directory structures. This can then be imported into the UI again to re-populate all fields. Instead of inserting the same data into the UI over and over again, you can export the current state by going to the "Configuration" section within the settings tab and exporting the config to a JSON file. If you are running this package locally, you will need to call python -m auto_py_to_exe instead of auto-py-to-exe JSON Configuration Language codes can be found in the table under "Translations" below. Hint the UI what language it should default to when opening. Useful if you need to whitelist a folder to stop your antivirus from removing files. These can be generated in the settings tab. Provide a configuration file (json) to pre-fill the UI. Will not try to find Chrome.ĭon't try to open the UI in a browser and simply print out the address that the application can be accessed at. Open the UI using the default browser (which may be Chrome). Pre-fill the "Script Location" field in the UI. Find your converted files in /output when completed.Click the big blue button at the bottom to convert.Select other options and add things like an icon or other files.Outline will become blue when file exists.Select your script location (paste in or use a file explorer).Make sure you are in the directory below auto_py_to_exe (you will be after step 3) when calling python -m auto_py_to_exe or you will need to reference the folder auto_py_to_exe absolutely/relatively to where you currently are. A Chrome window in app mode will open with the project running inside. Now to run the application, execute python -m auto_py_to_exe. Execute python -m pip install -r requirements.txt.Open cmd/terminal and cd into the project.You can run this project locally by following these steps: If you have more than one version of Python installed, you can use python -m auto_py_to_exe instead of auto-py-to-exe. Then to run it, execute the following in the terminal: $ auto-py-to-exe You can install this project using PyPI: $ pip install auto-py-to-exe Installation and Usage Installing Via PyPI Read " Python 2.7 Support" below for steps on how to use this tool with Python 2.7. If chrome is not installed or -no-chrome is supplied, the default browser will be used.Īs of PyInstaller 4.0, Python 2.7 is no longer supported. To have the interface displayed in the images, you will need chrome. Türkçe Talimatları burada bulabilirsiniz. Suomenkieliset käyttöohjeet löydät täältä exe converter using a simple graphical interface and PyInstaller in Python.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |