Note that there are some explanatory texts on larger screens.

plurals
  1. POPython distutils - does anyone know how to use it?
    primarykey
    data
    text
    <p>I wrote a quick program in python to add a gtk GUI to a cli program. I was wondering how I can create an installer using distutils. Since it's just a GUI frontend for a command line app it only works in *nix anyway so I'm not worried about it being cross platform.</p> <p>my main goal is to create a .deb package for debian/ubuntu users, but I don't understand make/configure files. I've primarily been a web developer up until now.</p> <p>Thanks for your help!</p> <p><strong>edit</strong>: Does anyone know of a project that uses distutils so I could see it in action and, you know, actually try building it?</p> <h2>Here are a few useful links</h2> <ul> <li><p><a href="https://wiki.ubuntu.com/PackagingGuide/Python" rel="noreferrer">Ubuntu Python Packaging Guide</a></p> <p>This Guide is <strong><em>very</em></strong> helpful. I don't know how I missed it during my initial wave of gooling. It even walks you through packaging up an existing python application</p></li> <li><p><a href="https://wiki.ubuntu.com/MOTU/GettingStarted" rel="noreferrer">The Ubuntu MOTU Project</a></p> <p>This is the official package maintaining project at ubuntu. Anyone can join, and there are lots of tutorials and info about creating packages, of all types, which include the above 'python packaging guide'.</p></li> <li><p><a href="http://episteme.arstechnica.com/eve/forums/a/tpc/f/96509133/m/808004952931" rel="noreferrer">"Python distutils to deb?" - Ars Technica Forum discussion</a></p> <p>According to this conversation, you can't just use distutils. It doesn't follow the debian packaging format (or something like that). I guess that's why you need dh_make as seen in the Ubuntu Packaging guide</p></li> <li><p><a href="http://osdir.com/ml/linux.debian.devel.python/2004-10/msg00013.html" rel="noreferrer">"A bdist_deb command for distutils</a></p> <p>This one has some interesting discussion (it's also how I found the ubuntu guide) about concatenating a zip-file and a shell script to create some kind of universal executable (anything with python and bash that is). weird. Let me know if anyone finds more info on this practice because I've never heard of it.</p></li> <li><p><A href="http://mail.python.org/pipermail/distutils-sig/2000-May/001000.html" rel="noreferrer">Description of the deb format and how distutils fit in - python mailing list</a></p></li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload