Skip to content

Local Wheel

Jonathan Hoffstadt edited this page Jan 18, 2022 · 5 revisions

Windows

Requirements

Instructions:

  1. From within a local directory, enter the following bash commands:
git clone --recursive https://github.com/hoffstadt/DearPyGui
  1. From within the root Dear PyGui directory, run the following command:
python -m setup bdist_wheel --plat-name win_amd64 --dist-dir dist
  1. The wheel will be found in the newly created dist folder.

MacOS (Intel)

Requirements

Instructions:

  1. From within a local directory, enter the following bash commands:
git clone --recursive https://github.com/hoffstadt/DearPyGui
  1. From within the root Dear PyGui directory, run the following command:
python3 -m setup bdist_wheel --plat-name macosx-10.6-x86_64 --dist-dir dist
  1. The wheel will be found in the newly created dist folder.

MacOS (Apple Silicon)

Requirements

Instructions: This has not been tested yet.

  1. From within a local directory, enter the following bash commands:
git clone --recursive https://github.com/hoffstadt/DearPyGui
  1. From within the root Dear PyGui directory, run the following command:
python3 -m setup bdist_wheel --plat-name macosx-11.0-arm64 --dist-dir dist
  1. The wheel will be found in the newly created dist folder.

Linux

Requirements

  • git
  • cmake (installed as a command line tool)
  • build-essential under debian/ubuntu or sudo yum groupinstall "Development Tools" in Fedora, Centos or Redhat
  • python3-dev under debian/ubuntu or python3-devel in Fedora, Centos or Redhat
  • Python >= 3.6

Instructions:

  1. From within a local directory, enter the following bash commands:
git clone --recursive https://github.com/hoffstadt/DearPyGui
  1. From within the root Dear PyGui directory, run the following command:
python3 -m setup bdist_wheel --plat-name manylinux1_x86_64 --dist-dir dist
  1. The wheel will be found in the newly created dist folder.

Raspberry Pi 4

This is not well tested. You must ensure your device is in "Legacy" mode in raspi-config.

Requirements

  • git
  • cmake Use [sudo apt-get install cmake]
  • libglu1-mesa-dev
  • libgl1-mesa-dev
  • libxrandr-dev
  • libxinerama-dev
  • libxcursor-dev
  • libxi-dev
  • Python >= 3.6

Instructions:

  1. From within a local directory, enter the following bash commands:
git clone --recursive https://github.com/hoffstadt/DearPyGui
  1. From within the root Dear PyGui directory, run the following command:
python3 -m setup bdist_wheel --plat-name linux_armv7l --dist-dir ../dist
  1. The wheel will be found in the newly created dist folder.