From 8894533451e0feb096474942f96cf2ba9fb1bbe2 Mon Sep 17 00:00:00 2001 From: RaylockLLC Date: Thu, 13 Aug 2020 23:24:51 -0500 Subject: [PATCH] added linux build script --- Distribution/.gitignore | 3 ++- Scripts/BuildForLinux.sh | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100755 Scripts/BuildForLinux.sh diff --git a/Distribution/.gitignore b/Distribution/.gitignore index 1c36662e3..8fe780624 100644 --- a/Distribution/.gitignore +++ b/Distribution/.gitignore @@ -2,4 +2,5 @@ __pycache__/ build/ dearpygui.egg-info/ dist/ -dearpygui/ \ No newline at end of file +dearpygui/ +*.txt diff --git a/Scripts/BuildForLinux.sh b/Scripts/BuildForLinux.sh new file mode 100755 index 000000000..6d67bb70b --- /dev/null +++ b/Scripts/BuildForLinux.sh @@ -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