mit neuen venv und exe-Files

This commit is contained in:
2024-11-03 17:26:54 +01:00
parent 07c05a338a
commit 0c373ff593
15115 changed files with 1998469 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2023 Brent Vollebregt
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -0,0 +1,217 @@
Metadata-Version: 2.1
Name: auto-py-to-exe
Version: 2.44.2
Summary: Converts .py to .exe using a simple graphical interface.
Home-page: https://github.com/brentvollebregt/auto-py-to-exe
Author: Brent Vollebregt
Author-email: brent@nitratine.net
License: MIT
Keywords: gui,executable
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: Eel >=0.11.0
Requires-Dist: pyinstaller >=5.8.0
Requires-Dist: requests
<h1 align="center">Auto PY to EXE</h1>
<p align="center">A .py to .exe converter using a simple graphical interface and <a href="https://pyinstaller.readthedocs.io/en/stable/index.html">PyInstaller</a> in Python.</p>
<p align="center">
<img src="https://nitratine.net/posts/auto-py-to-exe/feature.png" alt="Empty interface">
</p>
<p align="center">
<a href="https://pypi.org/project/auto-py-to-exe/"><img src="https://img.shields.io/pypi/v/auto-py-to-exe.svg" alt="PyPI Version"></a>
<a href="https://pypi.org/project/auto-py-to-exe/"><img src="https://img.shields.io/pypi/pyversions/auto-py-to-exe.svg" alt="PyPI Supported Versions"></a>
<a href="https://pypi.org/project/auto-py-to-exe/"><img src="https://img.shields.io/pypi/l/auto-py-to-exe.svg" alt="License"></a>
<a href="https://pepy.tech/project/auto-py-to-exe"><img src="https://static.pepy.tech/badge/auto-py-to-exe/month" alt="Downloads Per Month"></a>
<a href="https://pyinstaller.readthedocs.io/en/stable/requirements.html"><img src="https://img.shields.io/badge/platform-windows%20%7C%20linux%20%7C%20macos-lightgrey" alt="Supported Platforms"></a>
<a href="https://www.buymeacoffee.com/brentvollebregt"><img src="https://img.shields.io/badge/-buy_me_a%C2%A0beer-gray?logo=buy-me-a-coffee" alt="Donate"></a>
</p>
## Translations of This File
阅读中文版的 README ,点击 [这里](./README-Chinese.md)
Suomenkieliset käyttöohjeet löydät [täältä](./README-Finnish.md)
Türkçe Talimatları [burada](./README-Turkish.md) bulabilirsiniz.
دستور العمل های [فارسی](./README-Persian.md)
한국어로 된 설명은 [여기](./README-Korean.md)를 참고하세요.
Български README [тук](README-Bulgarian.md)
Беларускамоўны README [тут](README-Belarusian.md)
## Demo
<p align="center">
<img src="https://nitratine.net/posts/auto-py-to-exe/auto-py-to-exe-demo.gif" alt="auto-py-to-exe Demo">
</p>
## Getting Started
### Prerequisites
- Python: 3.6-3.12
_To have the interface displayed in the images, you will need Chrome. If Chrome is not installed or `--no-chrome` is passed, the default browser will be used._
### Installation and Usage
#### Installing via [PyPI](https://pypi.org/project/auto-py-to-exe/)
You can install this project using PyPI:
```
$ pip install auto-py-to-exe
```
Then to run it, execute the following in the terminal:
```
$ auto-py-to-exe
```
> 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`.
### Installing via [GitHub](https://github.com/brentvollebregt/auto-py-to-exe)
```
$ git clone https://github.com/brentvollebregt/auto-py-to-exe.git
$ cd auto-py-to-exe
$ python setup.py install
```
Then to run it, execute the following in the terminal:
```
$ auto-py-to-exe
```
#### Running Locally via [Github](https://github.com/brentvollebregt/auto-py-to-exe) (no install)
You can run this project locally by following these steps:
1. Clone/download the [repo](https://github.com/brentvollebregt/auto-py-to-exe)
2. Open cmd/terminal and cd into the project's root folder
3. Execute `python -m pip install -r requirements.txt`
4. Execute `python -m auto_py_to_exe` to run the application
## Using the Application
1. Select your script location (paste in or use a file explorer)
- The outline will become blue if the file exists
2. Select other options and add things like an icon or other files
3. Click the big blue button at the bottom to convert
4. Find your converted files in /output when completed
_Easy._
### Arguments
Use the help flag to get the usage: `auto-py-to-exe --help`
| Argument | Type | Description |
| ------------------------------------------------------------ | ------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| filename | positional/optional | Pre-fill the "Script Location" field in the UI. |
| -nc, --no-chrome | optional | Open the UI using the default browser (which may be Chrome). Will not try to find Chrome. |
| -nu, --no-ui | optional | Don't try to open the UI in a browser and simply print out the address where the application can be accessed. |
| -c [CONFIG], --config [CONFIG] | optional | Provide a configuration file (JSON) to pre-fill the UI. These can be generated in the settings tab. |
| -o [PATH], --output-dir [PATH] | optional | Set the default output directory. This can still be changed in the UI. |
| -bdo [FOLDER_PATH], --build-directory-override [FOLDER_PATH] | optional | Override the default build directory. Useful if you need to whitelist a folder to stop your antivirus from removing files. |
| -lang [LANGUAGE_CODE], --language [LANGUAGE_CODE] | optional | Hint the UI what language it should default to when opening. Language codes can be found in the table under "Translations" below. |
### JSON Configuration
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. This can then be imported into the UI again to re-populate all fields.
This JSON config export action does not save the output directory automatically as moving hosts could mean different directory structures. 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).
## Video
If you need something visual to help you get started, [I made a video for the original release of this project](https://youtu.be/OZSZHmWSOeM); some things may be different but the same concepts still apply.
## Contributing
Check out [CONTRIBUTING.md](./CONTRIBUTING.md) to see guidelines on how to contribute. This outlines what to do if you have a new feature, a change, translation update or have found an issue with auto-py-to-exe.
## Issues Using the Tool
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](https://nitratine.net/blog/post/issues-when-using-auto-py-to-exe/?utm_source=auto_py_to_exe&utm_medium=readme_link&utm_campaign=auto_py_to_exe_help). This post covers things you should know about packaging Python scripts and fixes for things that commonly go wrong.
If you believe you've found an issue with this tool, please follow the ["Reporting an Issue" section in CONTRIBUTING.md](./CONTRIBUTING.md#reporting-an-issue).
## Translations
| Language | Translator | Translated |
| ------------------------------------------- | -------------------------------------------------------------------------------------------- | ------------------------------------- |
| Arabic (العربية) | [Tayeb-Ali](https://github.com/tayeb-ali) | UI |
| Belarusian (Беларуская) | [Zmicier21](https://github.com/Zmicier21) | UI and [README](README-Belarusian.md) |
| Brazilian Portuguese (Português Brasileiro) | [marleyas](https://github.com/marleyas), [reneoliveirajr](https://github.com/reneoliveirajr) | UI |
| Bulgarian (Български) | [kbkozlev](https://github.com/kbkozlev) | UI and [README](README-Bulgarian.md) |
| Chinese Simplified (简体中文) | [jiangzhe11](https://github.com/jiangzhe11) | UI and [README](./README-Chinese.md) |
| Chinese Traditional (繁體中文) | [startgo](https://github.com/ystartgo) | UI |
| Czech (Čeština) | [Matto58](https://github.com/Matto58) | UI |
| Dutch (Nederlands) | [barremans](https://github.com/barremans) | UI |
| English | - | UI and README |
| Finnish (Suomen kieli) | [ZapX5](https://github.com/ZapX5) | UI and [README](./README-Finnish.md) |
| French (Français) | [flaviedesp](https://github.com/flaviedesp) | UI |
| German (Deutsch) | [hebens](https://github.com/hebens), [ackhh](https://github.com/ackhh) | UI |
| Greek (Ελληνικά) | [sofronas](https://github.com/sofronas) | UI |
| Hebrew (עברית) | [ronbentata](https://github.com/ronbentata) | UI and [README](./README-Hebrew.md) |
| Hindi (हिन्दी) | [triach-rold](https://github.com/triach-rold) | UI and [README](./README-Hindi.md) |
| Indonesian (Bahasa Indonesia) | [MarvinZhong](https://github.com/MarvinZhong) | UI |
| Italian (Italiano) | [itsEmax64](https://github.com/itsEmax64) | UI |
| Japanese (日本語) | [NattyanTV](https://github.com/nattyan-tv) | UI |
| Korean (한국어) | [jhk1090](https://github.com/jhk1090) | UI and [README](./README-Korean.md) |
| Persian (فارسی) | [DrunkLeen](https://github.com/drunkleen), [Ar.dst](https://github.com/Ar-dst) | UI and [README](./README-Persian.md) |
| Polish (Polski) | [Akuczaku](https://github.com/Akuczaku) | UI |
| Russian (Русский) | Oleg | UI |
| Serbian | [rina](https://github.com/sweatshirts) | UI |
| Spanish (Español) | [enriiquee](https://github.com/enriiquee) | UI |
| Spanish Latam (Español Latam) | [Matyrela](https://github.com/Matyrela) | UI |
| Thai (ภาษาไทย) | [teerut26](https://github.com/teerut26) | UI (partial) |
| Turkish (Türkçe) | [mcagriaksoy](https://github.com/mcagriaksoy) | UI and [README](./README-Turkish.md) |
| Ukrainian (Українська) | [AndrejGorodnij](https://github.com/AndrejGorodnij) | UI |
| Vietnamese (Tiếng Việt) | [7777Hecker](https://github.com/7777Hecker) | UI |
> Want to add a translation for another language? follow the ["Add or Update a Translation" section in CONTRIBUTING.md](./CONTRIBUTING.md#add-or-update-a-translation).
## Python 2.7 Support
As of [PyInstaller v4.0](https://github.com/pyinstaller/pyinstaller/releases/tag/v4.0) released on Aug 9 2020, Python 2.7 is no longer supported; although you can still use this tool with Python 2.7 by installing an older version of PyInstaller. [PyInstaller v3.6](https://github.com/pyinstaller/pyinstaller/releases/tag/v3.6) was the last version that supported Python 2.7; to install this, first uninstall any existing versions of PyInstaller and then execute `python -m pip install pyinstaller==3.6`.
## Testing
Tests are located in `tests/` and are run using pytest:
```
$ pip install pytest
$ pip install -e .
$ pytest
```
## Screenshots
| <!-- --> | <!-- --> |
| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| [![Empty interface](https://nitratine.net/posts/auto-py-to-exe/empty-interface.png)](https://nitratine.net/posts/auto-py-to-exe/empty-interface.png) | [![Filled out](https://nitratine.net/posts/auto-py-to-exe/filled-out.png)](https://nitratine.net/posts/auto-py-to-exe/filled-out.png) |
| [![Converting](https://nitratine.net/posts/auto-py-to-exe/converting.png)](https://nitratine.net/posts/auto-py-to-exe/converting.png) | [![Completed](https://nitratine.net/posts/auto-py-to-exe/completed.png)](https://nitratine.net/posts/auto-py-to-exe/completed.png) |

View File

@@ -0,0 +1,51 @@
../../Scripts/auto-py-to-exe.exe,sha256=5s1JXkDNwMbm6_nDeKnQG_FQP3uE92AK7fgxhbdDXyU,108418
../../Scripts/autopytoexe.exe,sha256=5s1JXkDNwMbm6_nDeKnQG_FQP3uE92AK7fgxhbdDXyU,108418
auto_py_to_exe-2.44.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
auto_py_to_exe-2.44.2.dist-info/LICENSE,sha256=KQ2sWBaIdaV25fJHIYJNGfh-iyZYx6jZfDzG1NoMefY,1072
auto_py_to_exe-2.44.2.dist-info/METADATA,sha256=C3x6O9-mdFmXswuhDHikl5WvrZpuz6PQ9W6_KjcS0k8,16169
auto_py_to_exe-2.44.2.dist-info/RECORD,,
auto_py_to_exe-2.44.2.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
auto_py_to_exe-2.44.2.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
auto_py_to_exe-2.44.2.dist-info/entry_points.txt,sha256=NSSYP1UkyMxlA27l1UPLWguvB648ASb1pkno6GmoHSQ,106
auto_py_to_exe-2.44.2.dist-info/top_level.txt,sha256=kEGISAMarxwOlnryjT8DUiZSBq5-VYhT7rvJFAAZD9g,15
auto_py_to_exe/__init__.py,sha256=OHNhW0K-J_4HoguYSyLmWDZ2jRxEoonnj3uMtt0Xvyw,23
auto_py_to_exe/__main__.py,sha256=s4vSzb9w3qzNb6Ai5RHHhy2LoO426rz413bTitWKG20,3568
auto_py_to_exe/__pycache__/__init__.cpython-312.pyc,,
auto_py_to_exe/__pycache__/__main__.cpython-312.pyc,,
auto_py_to_exe/__pycache__/config.cpython-312.pyc,,
auto_py_to_exe/__pycache__/dialogs.cpython-312.pyc,,
auto_py_to_exe/__pycache__/packaging.cpython-312.pyc,,
auto_py_to_exe/__pycache__/shims.cpython-312.pyc,,
auto_py_to_exe/__pycache__/ui.cpython-312.pyc,,
auto_py_to_exe/__pycache__/utils.cpython-312.pyc,,
auto_py_to_exe/__pycache__/validation.cpython-312.pyc,,
auto_py_to_exe/config.py,sha256=NwKEcXcNa4wjTRgJ_-c5hi4s-H-BBcIJQt09XqG6LLk,612
auto_py_to_exe/dialogs.py,sha256=CctfrC2I3iPAfXwRpaePI1B4naw8dfucJByL3wfX9CY,2945
auto_py_to_exe/packaging.py,sha256=Q9vJnJamFY7Brzh0Muzcr4CfnOwrX6eQz8zYOTDhPrI,4954
auto_py_to_exe/shims.py,sha256=VfJLqzKiWvoAGMDv846XBz16gQs6_ZXsqegeV9wnJEQ,1420
auto_py_to_exe/ui.py,sha256=zvqi09inZfyNIh0WWh46Ym6aexkuXF9zATP6htIX08A,6391
auto_py_to_exe/utils.py,sha256=d92ETdPjde68xBzaqevtEscAixGDDsR1NKXVZtMZFV4,9027
auto_py_to_exe/validation.py,sha256=SVRj_b3PeG8N_uwVs4Fj54ICj9nKyxvPmPSLR819fus,1196
auto_py_to_exe/web/Nunito-Light.ttf,sha256=GEjxLObVw1p0m4De7H2AQRMWVSQiRrK-FYO1w3h8I3E,48576
auto_py_to_exe/web/Vazirmatn-Light.ttf,sha256=mrTwlLhht9TjGPAZU7l3Hd6xidfHm7s5idWpWksH_2A,122920
auto_py_to_exe/web/css/general.css,sha256=n2yNhyCs8RR8SyAZGKqNwdRsQwuoqtQyMj-e8sq-GDw,3483
auto_py_to_exe/web/css/main.css,sha256=q28hhSaQu0SloKkd7c0Q4bhpuC0IiTjFg6AkGvzHTX4,6235
auto_py_to_exe/web/css/modal.css,sha256=fyXgJ5ikSDG7OHK5ev94dFiyDFucyVzeVq9ukL0t6iA,1030
auto_py_to_exe/web/favicon.ico,sha256=ukuFXBk7a6i_VV2C1dsb9bn6Q38kBadw7phk9m6o9r0,167233
auto_py_to_exe/web/img/chevron-square-up.svg,sha256=w9I1jYKY45gBUMvXNb7JbORPMvdsMqpYMGZrBy6x0Uo,540
auto_py_to_exe/web/img/moon.svg,sha256=nKKmf1fzZ0l8mC2be3nmxHWuY_accq0PizpDQSYAJEs,416
auto_py_to_exe/web/img/plus.svg,sha256=dRtUUoRtjO8s-OA3I8WeWsAvB7HxSg-P6WtqSC0uAq8,549
auto_py_to_exe/web/img/remove.svg,sha256=zdGdo7M271RyAtiqBn-1KpWwh9Tt3GDlqVnJU5SOgZc,444
auto_py_to_exe/web/img/sun.svg,sha256=5VqRH_Ma7gOl-2i_Pvf4OS298Dly8eonYd1jTkno4io,722
auto_py_to_exe/web/index.html,sha256=oZTE2rBfLW_KEa5tgpNFDQmm04EnWHl8x_tmSWQapo4,11741
auto_py_to_exe/web/js/configuration.js,sha256=zpr4MBwyVHhXw6s9VbtuX0JRFlZ3WSwicsg2g6kZp3A,3640
auto_py_to_exe/web/js/constants.js,sha256=rRcJLGvbp-JWRdlcRQ2DzIk9JeMcyUp48gTaa0BYdas,2846
auto_py_to_exe/web/js/i18n.js,sha256=EAesKaOXKleMNMj9ABA11yJEdluvxCtkx0w5Ge2ZNBQ,108087
auto_py_to_exe/web/js/importExport.js,sha256=TTALRGy0eV5VDV1zafbbnpgXKra6Sw7np0Bkt6R7Qks,2381
auto_py_to_exe/web/js/initialise.js,sha256=cbmLzEyMKyDCSIdOVE-Ktzd8IQiSLCK8evoNN2PnQI0,3596
auto_py_to_exe/web/js/interface.js,sha256=Po5norsh3zX2zZz6FHPZjIEAGKJglOuFP6X8_3ynqYg,16571
auto_py_to_exe/web/js/messages.js,sha256=v6M5L2aIN_dOlibc2nExlKcrZVkPE_Y6DpHHSzDyE50,697
auto_py_to_exe/web/js/modal.js,sha256=wiCdEu2QZ4f6x4jth9dsSaTX1bKkOjVH4vIp9rllKDQ,3180
auto_py_to_exe/web/js/packaging.js,sha256=w2qQzFS6QBA50LCXav75SQmxiIG39DVj1tKllAMe16I,2420
auto_py_to_exe/web/js/staticEvents.js,sha256=9yoedO9c1iRWHCa8lf7mnONLDY0RrprfpdodPRgLn-I,10572
auto_py_to_exe/web/js/utils.js,sha256=S3iy8sh7ruHwtnFADhDX9RFUSkGCDDjND1eAAbr1Rj8,1179

View File

@@ -0,0 +1,6 @@
Wheel-Version: 1.0
Generator: bdist_wheel (0.42.0)
Root-Is-Purelib: true
Tag: py2-none-any
Tag: py3-none-any

View File

@@ -0,0 +1,4 @@
[console_scripts]
auto-py-to-exe = auto_py_to_exe.__main__:run
autopytoexe = auto_py_to_exe.__main__:run

View File

@@ -0,0 +1 @@
auto_py_to_exe