Re: Packaging software for Cheeseshop and Debian

2007-10-28 Thread Ben Finney
Sam Clegg <[EMAIL PROTECTED]> writes: > On Wed, 2007-10-24 at 22:10 +1000, Ben Finney wrote: > > What packages in Debian can people recommend that use setuptools > > properly, and are packaged in accordance with the latest Debian > > Python policy? > > > > Or is it simply the case that no package

Re: Packaging software for Cheeseshop and Debian

2007-10-28 Thread Sam Clegg
On Wed, 2007-10-24 at 22:10 +1000, Ben Finney wrote: > What packages in Debian can people recommend that use setuptools > properly, and are packaged in accordance with the latest Debian Python > policy? > > Or is it simply the case that no packages meet that description? I'm sure there are lots

Re: Packaging software for Cheeseshop and Debian

2007-10-28 Thread Sam Clegg
On Wed, 2007-10-24 at 10:06 +0100, Simon McVittie wrote: > This isn't because it's /usr/bin, it's because the file is the main > executable. Python only auto-compiles imported modules, not the > executable itself (i.e. the script on the python command line): I noticed this a while back. I am th

Re: Packaging software for Cheeseshop and Debian

2007-10-24 Thread Ben Finney
(Bernd, please preserve attribution lines so we know who wrote what quoted material.) Bernd Zeimetz <[EMAIL PROTECTED]> writes: > > Thanks for this response. Unfortunately I've looked at 'webcheck', > > and it doesn't teach me how to use Python's distutils to achieve > > this (since, as you note,

Re: Packaging software for Cheeseshop and Debian

2007-10-24 Thread Bernd Zeimetz
> Thanks for this response. Unfortunately I've looked at 'webcheck', and > it doesn't teach me how to use Python's distutils to achieve this > (since, as you note, it doesn't use either of them). Instead of looking at packages you should read the distutils documentation. -- Bernd Zeimetz <[EMAI

Re: Packaging software for Cheeseshop and Debian

2007-10-24 Thread Bernd Zeimetz
Simon McVittie wrote: > On Wed, 24 Oct 2007 at 10:03:09 +0200, Bernd Zeimetz wrote: >>> I develop and package webcheck [0] (a python application with private >>> modules). I put all stuff in /usr/share/webcheck and use python-support >>> for compiling the stuff there. I ship an /usr/bin/webcheck sy

Re: Packaging software for Cheeseshop and Debian

2007-10-24 Thread Simon McVittie
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 24 Oct 2007 at 10:03:09 +0200, Bernd Zeimetz wrote: > > I develop and package webcheck [0] (a python application with private > > modules). I put all stuff in /usr/share/webcheck and use python-support > > for compiling the stuff there. I ship

Re: Packaging software for Cheeseshop and Debian

2007-10-24 Thread Ben Finney
Arthur de Jong <[EMAIL PROTECTED]> writes: > I develop and package webcheck [0] (a python application with > private modules). I put all stuff in /usr/share/webcheck and use > python-support for compiling the stuff there. Thanks for this response. Unfortunately I've looked at 'webcheck', and it d

Re: Packaging software for Cheeseshop and Debian

2007-10-24 Thread Bernd Zeimetz
> I develop and package webcheck [0] (a python application with private > modules). I put all stuff in /usr/share/webcheck and use python-support > for compiling the stuff there. I ship an /usr/bin/webcheck symlink > to /usr/share/webcheck/webcheck.py. This seems to work fine. You can also drop a

Re: Packaging software for Cheeseshop and Debian

2007-10-23 Thread Arthur de Jong
On Mon, 2007-10-22 at 10:09 +1000, Ben Finney wrote: > Unfortunately, it doesn't run, failing with an ImportError. The > modules are not installed to '/usr/lib/pythonX.Y/...', but only to > '/usr/share/pycentral/gracie/site-packages/gracie/' which isn't on the > system path for Python modules. >

Re: Packaging software for Cheeseshop and Debian

2007-10-21 Thread Ben Finney
Sam Clegg <[EMAIL PROTECTED]> writes: > On Thu, 2007-10-11 at 11:08 +1000, Ben Finney wrote: > > So, I ask for help with this specific package, in the hope that I > > can learn more general lessons about packaging software for both > > Python's Cheeseshop and the Debian package system. > > From t

Re: Packaging software for Cheeseshop and Debian

2007-10-21 Thread Sam Clegg
On Thu, 2007-10-11 at 11:08 +1000, Ben Finney wrote: > So, I ask for help with this specific package, in the hope that I can > learn more general lessons about packaging software for both Python's > Cheeseshop and the Debian package system. > > http://cheeseshop.python.org/pypi/gracie/> >

Re: Packaging software for Cheeseshop and Debian

2007-10-16 Thread Ben Finney
Ben Finney <[EMAIL PROTECTED]> writes: > In the thread Message-ID: <[EMAIL PROTECTED]>, I asked > about package-private modules interacting with setuptools and the > Debian Python policy. In retrospect it seems I've got some more > fundamental learning to do. > > I'm not well-versed in Python set

Packaging software for Cheeseshop and Debian

2007-10-10 Thread Ben Finney
Howdy all, In the thread Message-ID: <[EMAIL PROTECTED]>, I asked about package-private modules interacting with setuptools and the Debian Python policy. In retrospect it seems I've got some more fundamental learning to do. I'm not well-versed in Python setuptools or distutils, so I'm probably ma