- Python 3.10.2
- Tkinter 8.6
# create new virtual environment , named .env_ui
python -m venv .env_uiFor windows CMD
.\.env_ui\Scripts\activate.batFor Mac bash
source .env_ui/bin/activateother platform check: venv
For VS Code
Ctrl+Shift+P- Search
python interpreter,choosePython: Select Interpreter - choose
.env_uienvironment - Open a new
Command Promptin VS Code terminal
# install dependencies from requirements.txt
pip install -r requirements.txt
# install pydeskui by setup.py, delelop mode
python setup.py develop
cd src/pydeskui && python demo.py # install xxx-module
pip install xxx-module
# generate requirements.txt
pip freeze > requirements.txt # uninstall xxx-module
pip uninstall xxx-module -y
# generate requirements.txt
pip freeze > requirements.txtpython setup.py build
python setup.py install
# clear setup
python setup.py clean --allpy -m pip install --upgrade build
py -m build# Admin mode installation
py -m pip install --upgrade twine
twine upload dist/*