Creating packages of python
Marc Wiriadisastra
strikeforce at iinet.net.au
Fri Aug 12 08:08:07 UTC 2005
On Fri, 2005-08-12 at 08:07 +0100, Magnus Therning wrote:
> On Fri, Aug 12, 2005 at 11:35:25AM +0800, Marc Wiriadisastra wrote:
> >The example I would like to use is http://rufus.sourceforge.net
> >
> >This has an install script in the directory the setup.py is only used
> >for windows. What I would prefer to do is create a dpkg for this
> >however the rules script that I'm setting up seems to have issues where
> >it won't build anything which of course isn't needed since you can just
> >run it without building it.
>
> I can't really offer a lot of advice on it, at least not without
> spending a little more time than I have at the moment :-)
>
> It sounds to me that the script isn't as much a build script as it is an
> install script. Have you tried leaving the 'build' rule in 'rules' alone
> and calling the script in the 'install' rule?
>
I've tried doing that using the sh install or chmod +x manually then
running ./install which doesn't work it says command not found.
My concern is that it potentially might have to be installed elsewhere
and I'm trying to figure how to pass it the rule that it has to provide
the options that a proper .deb package should offer.
> I vaguely remember reading some article with more details about the
> 'rules' file and what each and every rule should (and shouldn't) do. I
> think it was written by someone on the Debian Women team. I can't seem
> to get to Alioth at this time though so I can't check if my memory is
> correct.
>
> /M
>
I'll have a look around because granted what you say is use the script
but what I wanted was basically to get the script itself and put certain
parts in it. e.g. mv the files to the appropriate directories then
compile all of them using python. Then create an icon and then create
the appropriate home directories.
I'll google a bit more on it otherwise I might have to ask in the debian
mentors list I'm hoping that I don't sound to stupid asking the question
since when I searched their archives I found no response to my question.
Marc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050812/712f5501/attachment.sig>
More information about the ubuntu-users
mailing list