Make runnable apps from your python scripts!
Project description
py-to-win-app
Make runnable apps from your python scripts!
TODO: description
Installation
Install as dev dependency:
`poetry add --dev py-to-win-app`
Or using pip:
`pip install py-to-win-app`
Usage
-
Make
requirements.txt
file:pip freeze > requirements.txt
Using
poetry
:poetry export -f requirements.txt -o requirements.txt --without-hashes
-
Create file
build.py
with following content:from py_to_win_app import Project project = Project( input_dir="my-project", # directory where your source files are main_file="main.py" ) project.build(python_version="3.9.7") project.make_dist()
-
Run
build.py
:python build.py
Documentation
Examples
-
Clone this repo:
git clone https://github.com/ruslan-rv-ua/py2winapp
-
Execute any of
example-*.py
:python example-flask-desktop.py
You can find runnable windows application in
build/flask-desktop
directory. Distributionflask-desktop.zip
More examples:
- telecode — desktop wxPython application
Credits
- inspired by ClimenteA/pyvan
- some examples from ClimenteA/flaskwebgui
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py-to-win-app-0.0.1.tar.gz
(7.4 kB
view hashes)
Built Distribution
Close
Hashes for py_to_win_app-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7d5a93ee07ce876f85d135b4874e14d6e29496d94055b0582c6b3ce0970f828 |
|
MD5 | 9d0d72d680fe42af429da7c78c9ef367 |
|
BLAKE2b-256 | c4d797023cbb3d15f8a7bbb65244a92cf86066c73232913463c1070ec3e9502c |