Hello,
I’m working on an upgrade from GTK2→GTK3 and I’m running into an issue inside of a makefile. I’m going from:
$(PYMODSRC): $(PYMODDEFS) $(PYENUMSRC) $(PYMODMOD) $(PYOVERRIDE) $(PYINCS) gvshape_wrap.c -set PYTHONPATH=$(BASE_BUILD)\external\lib\python2.7\site-packages\gtk-2.0\codegen $(PYTHON) $(PYCODEGEN) --prefix _gv $(PYREGISTER) --override $(PYOVERRIDE) $(PYMODDEFS) > $(PYMODSRC)
to:
$(PYMODSRC): $(PYMODDEFS) $(PYENUMSRC) $(PYMODMOD) $(PYOVERRIDE) $(PYINCS) gvshape_wrap.c -set PYTHONPATH=$(BASE_BUILD)\external\lib\Python313 $(PYTHON) $(PYCODEGEN) --prefix _gv $(PYREGISTER) --override $(PYOVERRIDE) $(PYMODDEFS) > $(PYMODSRC)
With the main differences being the PYTHONPATH assignment. I believe the only variable that’s possibly causing an issue here is the following as there’s no GTK3 codegen file.
PYCODEGEN = $(PYTHON_ROOT)\lib\Python313\site-packages\gtk-$(PYGTK_VER)\codegen\codegen.py
Is there an equivalent to GTK2 python codegen files for GTK3? Is the approach here incorrect?