[Josselin Mouette, 2009-04-15]
> Le mercredi 15 avril 2009 à 15:17 +0200, Piotr Ożarowski a écrit :
> > how about:
> > * moving all files to usr/share/pyshared (just like you do now)
> > * registering files basing on usr/share/pyshared content (ignore
> > old .public/.private files)
>
> I’m afra
Le mercredi 15 avril 2009 à 15:17 +0200, Piotr Ożarowski a écrit :
> how about:
> * moving all files to usr/share/pyshared (just like you do now)
> * registering files basing on usr/share/pyshared content (ignore
> old .public/.private files)
I’m afraid this would lose some information on the su
[Josselin Mouette, 2009-04-15]
> Le mercredi 15 avril 2009 à 14:19 +0200, Piotr Ożarowski a écrit :
> > oh, you can't - dh_pysupport doesn't pick up files from /usr/share/pyshared
> > (Joss: could you add this path to movemodules?)
>
> It’s not that simple, since that would prevent dh_pysupport fr
Piotr Ożarowski writes:
> [Ben Finney, 2009-04-15]
> > Josselin earlier suggested that ‘dh_pysupport’ will still look in
> > ‘usr/share/python-support/’ for modules. Should I expect it to work with
> > just ‘dh_install ; dh_pysupport’ if I use the following install file:
> >
> > =
> > writer
Le mercredi 15 avril 2009 à 14:19 +0200, Piotr Ożarowski a écrit :
> oh, you can't - dh_pysupport doesn't pick up files from /usr/share/pyshared
> (Joss: could you add this path to movemodules?)
It’s not that simple, since that would prevent dh_pysupport from being
idempotent. I guess I could just
[Ben Finney, 2009-04-15]
> Josselin earlier suggested that ‘dh_pysupport’ will still look in
> ‘usr/share/python-support/’ for modules. Should I expect it to work with
> just ‘dh_install ; dh_pysupport’ if I use the following install file:
>
> =
> writers/manpage.py usr/share/python-support/do
Adeodato Simó writes:
> dh_install would have been the tool of choice for this task, except
> that your destination directory is not a static string: it depends on
> the output of some command. Because of this, it can’t be sensibly used
> for this. (If pysupport looked in some directory which doe
[Piotr Ożarowski, 2009-04-15]
> [Ben Finney, 2009-04-15]
> > > Just fill in .install file, and then call `dh_install; dh_pysupport`
> > > in debian/rules
> >
> > As I said in the original message, I'd love to just do that; but it
> > doesn't work, as explained in the material you quoted above.
>
+ Ben Finney (Wed, 15 Apr 2009 21:21:01 +1000):
> > > * Copy the file from ‘writers/manpage.py’ into ‘usr/lib/$(shell
> > > pyversions -d)/site-packages/docutils/writers/.’. If I omit this step,
> > > there is no indication that the modules should be in the
> > > ‘docutils/writers/’ system l
Ben Finney writes:
> Adeodato Simó writes:
>
> > In that case, just use debian//usr/lib... instead, and skip
> > the dh_install step.
>
> That does work, thank you.
I spoke too soon; ‘dh_pysupport’ fails to find the module.
The install process now shows the following output:
=
# Manual
[Ben Finney, 2009-04-15]
> > Just fill in .install file, and then call `dh_install; dh_pysupport`
> > in debian/rules
>
> As I said in the original message, I'd love to just do that; but it
> doesn't work, as explained in the material you quoted above.
otherwise I don't know why you can't just us
Adeodato Simó writes:
> + Ben Finney (Wed, 15 Apr 2009 20:19:55 +1000):
>
> > * Copy the file from ‘writers/manpage.py’ into ‘usr/lib/$(shell
> > pyversions -d)/site-packages/docutils/writers/.’. If I omit this step,
> > there is no indication that the modules should be in the
> > ‘docutil
Piotr Ożarowski writes:
> [Ben Finney, 2009-04-15]
> > The only way that I know of so far to get ‘dh_pysupport’ to find and
> > install the module correctly is:
> >
> > * Copy the file from ‘writers/manpage.py’ into ‘usr/lib/$(shell
> > pyversions -d)/site-packages/docutils/writers/.’. If I om
+ Ben Finney (Wed, 15 Apr 2009 20:19:55 +1000):
> * Copy the file from ‘writers/manpage.py’ into ‘usr/lib/$(shell
> pyversions -d)/site-packages/docutils/writers/.’. If I omit this step,
> there is no indication that the modules should be in the
> ‘docutils/writers/’ system library directory
[Ben Finney, 2009-04-15]
> The only way that I know of so far to get ‘dh_pysupport’ to find and
> install the module correctly is:
>
> * Copy the file from ‘writers/manpage.py’ into ‘usr/lib/$(shell
> pyversions -d)/site-packages/docutils/writers/.’. If I omit this step,
> there is no indicati
Josselin Mouette writes:
> Le mercredi 15 avril 2009 à 08:01 +1000, Ben Finney a écrit :
> > Because it's double-handling: in the ‘debian/rules’ file I specify
> > copying the modules once, and then in ‘debian/foo.install’ I specify
> > copying them again. I want to copy them to one location that
Le mercredi 15 avril 2009 à 08:01 +1000, Ben Finney a écrit :
> > If there is no upstream build system, you need to replace it, and
> > the .install file looks like the simplest way to do it. I don’t
> > understand why you’d want to drop it.
>
> Because it's double-handling: in the ‘debian/rules’
17 matches
Mail list logo