Skip to content

Commit

Permalink
added linux build script
Browse files Browse the repository at this point in the history
  • Loading branch information
hoffstadt committed Aug 14, 2020
1 parent c1efe54 commit 8894533
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Distribution/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ __pycache__/
build/
dearpygui.egg-info/
dist/
dearpygui/
dearpygui/
*.txt
17 changes: 17 additions & 0 deletions Scripts/BuildForLinux.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
cd ../Dependencies/cpython
mkdir build
cd build
../configure --enable-shared --prefix $PWD
sudo make && sudo make install
pip3 install wheel
cd ../../../
mkdir cmake-build-release
cd cmake-build-release
cmake ..
cd ..
cmake --build cmake-build-release --config Release
ls
cd Distribution
python3 BuildPythonWheel.py ../cmake-build-release/DearPyGui/dearpygui.so dearpygui.so
python3 setup.py bdist_wheel --plat-name manylinux1_x86_64 --dist-dir ../dist
pip3 install ../dist/*.whl

0 comments on commit 8894533

Please sign in to comment.