Re: preserve Python directory hierarchy

2009-12-30 Thread Ralf Wildenhues
Hello Baurzhan, * Baurzhan Ismagulov wrote on Wed, Dec 23, 2009 at 09:50:25AM CET: > On Tue, Dec 22, 2009 at 10:48:22PM +0100, Ralf Wildenhues wrote: > > nodist_ is to avoid distribution, that is, `make dist' putting the file > > into the tarball. To avoid installation (which happens with `make >

Re: preserve Python directory hierarchy

2009-12-23 Thread Baurzhan Ismagulov
Hello Ralf, On Tue, Dec 22, 2009 at 10:48:22PM +0100, Ralf Wildenhues wrote: > > Now, how can I exclude the source .py files from the installation? I've > > tried nodist_nobase_python_PYTHON, but that doesn't seem to do what I > > want. > > nodist_ is to avoid distribution, that is, `make dist' p

Re: preserve Python directory hierarchy

2009-12-23 Thread Baurzhan Ismagulov
On Tue, Dec 22, 2009 at 10:48:22PM +0100, Ralf Wildenhues wrote: > nodist_ is to avoid distribution, that is, `make dist' putting the file > into the tarball. To avoid installation (which happens with `make > install'), replace `python_' (which denotes that this file belongs > installed in $(pytho

Re: preserve Python directory hierarchy

2009-12-22 Thread Ralf Wildenhues
Hi Baurzhan, * Baurzhan Ismagulov wrote on Tue, Dec 22, 2009 at 08:00:13AM CET: > > Now, how can I exclude the source .py files from the installation? I've > tried nodist_nobase_python_PYTHON, but that doesn't seem to do what I > want. nodist_ is to avoid distribution, that is, `make dist' putti

Re: preserve Python directory hierarchy

2009-12-21 Thread Baurzhan Ismagulov
Hello Ralf, On Tue, Dec 22, 2009 at 07:21:44AM +0100, Ralf Wildenhues wrote: > > Now, the files are copied into a single destination directory. I'd like > > to distribute the files preserving their paths... > > Use nobase_python_PYTHON. This works great, thanks! Now, how can I exclude the sourc

Re: preserve Python directory hierarchy

2009-12-21 Thread Ralf Wildenhues
Hi Baurzhan, * Baurzhan Ismagulov wrote on Tue, Dec 22, 2009 at 12:51:33AM CET: > I've created a Makefile.am to compile and install Python files. > > Now, the files are copied into a single destination directory. I'd like > to distribute the files preserving their paths, i.e., the structure > >

preserve Python directory hierarchy

2009-12-21 Thread Baurzhan Ismagulov
Hello, I've created a Makefile.am to compile and install Python files. Now, the files are copied into a single destination directory. I'd like to distribute the files preserving their paths, i.e., the structure pkg/ a.py b.py c/ d.py e.py should be reproduced under /usr/lib/python