Now, that was easy!
I always dread the moment when a package has to be shared, and something distributable has to be made. You know, don't forget any files, and such.
Not to mention the ancillary nightmare of make/automake/autoconf/aclocal/etc. I simply trusted the kindness of strangers for that.
And I never managed to make RPMs or anything like it. But distutils makes installing, distributing, really simple.
Here's an example:#!/usr/bin/env python from distutils.core import setup setup (name="klog", version="0.0.1", description="klog: a PyQt blog tool", author="Roberto Alsina", author_email="ralsina@kde.org", url="//ralsina.me", packages=["klogmodules"], scripts=["klog.py"], long_description="""Long description here """ )
That is enough to build, install, create RPMs, Debian packages, include the file in PyPI, and who knows what else.
Have another file in the project? Just toss it in the klogmodules directory, and it's done!
Of course this is only for python apps, but I don't see me coding in other languages soon. The only reason I got into C++ was because there was no decent interpreted language with a decent toolkit!