Hi,
I am developing a plugin for IBus, written in python3. The project depends
on some other python modules and system packages, like python3-gi,
gir1.2-ibus-1.0 etc. Also, it needs to install data files to the system (
inside /usr/lib/ibus/component/) to make itself available to IBus. I am a
debian user and the project being debian packaging friendly is an important
goal.

As far as my project requirements go, I can't use any of the
distutils/setuptools/distribute since they can't handle dependency checks
not satiable through PyPI ( ridiculous isn't it? ). I can't also dive into
the absurdity of making a `wheel` and installing it with `pip` since wheels
don't allow file deployment in absolute system path.

I found some online resource where someone suggested using autotools for
building GTK+python applications. I can definitely go that route, but how
would it affect packaging for debian? How am I supposed to specify the
python module dependencies?

I've done some research on 'dh' with 'pybuild', but it seems to be
concerned with packaging python projects using in distutils family tools.

Right now, my project has a custom installer script that asks the users to
install necessary packages and copies the files to the appropriate
location. I would gladly appreciate if anyone can guide to a saner
alternative.

- Titon

[ Sorry for overwhelming you guys with questions. I love python, but I
absolutely despise being a back-end server side application developer who
writes in python; every bit of productivity gained by the language is
usually lost in pulling out hairs in times of deployment and system
integration. ]

Reply via email to