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