[pygtk] How to modify python scripts at install time with distutils (was: How to build a PyGTK application with autotools for Windows)
Paul Pogonyshev
pogonyshev at gmx.net
Mon Dec 28 07:18:22 WST 2009
Leonardo Ferreira Fontenelle wrote:
> [...]
>
> Do anyone has advice on how do I get the setup script to edit a python a
> file at install time with such data?
Maybe not in the best possible way, but Py-gtktree [*] does that.
Check files 'gtktree/__init__.py.in' and 'setup.py'.
[*] https://launchpad.net/py-gtktree
Paul
More information about the pygtk
mailing list