Hi Guys,
I have recently created a wxPython application. I wanted to upload it
on the web so that everyone could use it. I wanted to create a .deb
package for my wxPython application.
I was wondering if there was a standard procedure to create a deb file
from scratch for a program written in wxPython? I am having problem
creating one.
I created a deb package using the following command:
$ sudo epm -f deb wxhello
where wxhello is a .list file and following are its contents:
%product WxHello
%copyright 2010 by ABC
%description A wxPython test program
%vendor ABC
%version 0.1
%readme README
%license LICENSE
%requires python wxpython
%postinstall xdg-desktop-menu install --mode system --novendor
wxhello.desktop
%postremove xdg-desktop-menu uninstall --mode system wxhello.desktop
Also I have a .desktop file with the following contents:
The problem is I am able to create a deb package using the above
command, but not able to install from the deb file UNLESS I execute
the following command:
sudo dpkg -i path_to_created_deb_file/wxhello.deb
When I try to install from deb file, it says .desktop file not found.
I don't know anything about epm but I would assume that you need to tell it to include the .desktop file in the package and where to install it. Do you? Is the file in the .deb that is produced?
Hi Guys,
I have recently created a wxPython application. I wanted to upload it
on the web so that everyone could use it. I wanted to create a .deb
package for my wxPython application.
I was wondering if there was a standard procedure to create a deb file
from scratch for a program written in wxPython? I am having problem
creating one.
I created a deb package using the following command:
$ sudo epm -f deb wxhello
where wxhello is a .list file and following are its contents:
The problem is I am able to create a deb package using the above
command, but not able to install from the deb file UNLESS I execute
the following command:
sudo dpkg -i path_to_created_deb_file/wxhello.deb
When I try to install from deb file, it says .desktop file not found.
Hi Guys,
I have recently created a wxPython application. I wanted to upload it
on the web so that everyone could use it. I wanted to create a .deb
package for my wxPython application.
I was wondering if there was a standard procedure to create a deb file
from scratch for a program written in wxPython? I am having problem
creating one.
I created a deb package using the following command:
$ sudo epm -f deb wxhello
where wxhello is a .list file and following are its contents:
The problem is I am able to create a deb package using the above
command, but not able to install from the deb file UNLESS I execute
the following command:
sudo dpkg -i path_to_created_deb_file/wxhello.deb
When I try to install from deb file, it says .desktop file not found.
I don't know anything about epm but I would assume that you need to
tell it to include the .desktop file in the package and where to
install it. Do you? Is the file in the .deb that is produced?
and simply calling "debuild -S" from that directory builds the package.
Please note that the directory from where I call debuild also has all
the source code inside that directory, as well as a .tar.gz file which
contains the source, too.