XiLaiTL小于 1 分钟

python 3.8+

Package Manager Environment

Install Poetryopen in new window

pipx install poetry
pipx ensurepath

In Windows, you can find the Poetry in C:/Users/<USER folder>/.local/bin/poetry.exe

In Linux, you need restart the shell or use source ~/.bashrc. You can find the Poetry in /root/.local/bin/poetry

Project Setup

Basic usage | Documentation | Poetry - Python dependency management and packaging made easyopen in new window

poetry new package_name

Open with Pycharm

Contribute the Project

Clone the project and initialize

Clone from repository.

If you have the environment, please cd to this fold and run

poetry init

Run.

poetry run python ./package_name/__init__.py

Build Executable File

Should have installed the pyinstalleropen in new window.

poetry add pyinstaller

Run to build.

poetry run pyinstaller -w -F -n Application_Name ./package_name/__init__.py --additional-hooks-dir=.
上次编辑于:
贡献者: XiLaiTL