[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Ideal directory structure?



Il giorno sab, 30/01/2010 alle 21.10 +0530, Umang ha scritto:
> On 30/01/10 20:02, Pietro Battiston wrote:
> > What I ignore is: is there some smarter (than [sys.prefix, sys.prefix +
> > '/local']) way to check possible _installed_ locations?
> >    
> You're not _supposed_ to look in sys.prefix + '/local'. (i.e. 
> /usr/local) If you used a pure version of distutils, then everything 
> would fall straight into sys.prefix. However the Debian version has been 
> patched. You can simply install as follows and get everything to work 
> properly:
> > $ sudo python setup.py install --install-layout=deb

As far as I know, I'm not supposed to decide or even know how users will
install my application...

Pietro


Reply to: