[pygtk] How to modify python scripts at install time with distutils (was: How to build a PyGTK application with autotools for Windows)

Leonardo Ferreira Fontenelle leonardof at gnome.org
Mon Dec 28 06:48:59 WST 2009


Finally I started looking at how could I change GNU Autobuild System
(aka autotools) for Python Distribution Utils + extras. I need help this
new issue, tough.

Currently I have this [package]/config.py.in file, which is a template
for [package]/config.py, containing data such as the current version and
the "package data directory", which is autotools parlance
for /usr/share/[package name]/. This directory can be modified during
the install time, so I'd rather not guess at run time.

Do anyone has advice on how do I get the setup script to edit a python a
file at install time with such data?

Thanks in advance.

-- 
Leonardo Ferreira Fontenelle <leonardof em gnome.org>
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20091227/917c31f2/attachment.htm 


More information about the pygtk mailing list