Adding Python bindings for Arch Linux
Closed this issue · 0 comments
kjcole commented
This isn't an issue as much as it is a brief log of what it took for me to get it going on Arch Linux, although the Python bindings aren't put in any system-wide location:
sudo pacman -Syu python-cffi
git clone https://aur.archlinux.org/ecere-sdk-git.git
cd ecere-sdk-git
Edit PKGBUILD
Change source=("$pkgname::git://github.com/ecere/ecere-sdk.git")
to source=("$pkgname::git://github.com/ecere/ecere-sdk.git#branch=easy-bgen")
and save.
makepkg -si
cd src/ecere-sdk-git/bindings
make PYTHON=python3
export PYTHONPATH=PYTHONPATH:.
export LD_LIBRARY_PATH=LD_LIBRARY_PATH:.
python3 samples/hello3D.py
And voila, a pink cube on a black background appears in a new window.
I hope, by putting it here, it will eventually help someone else.