sobre empaquetado en python
Hola a todos,
Hace poco intento debianizar una aplicación en la que estoy
usando python-support, debhelper y quilt para el parchado.
Al momento de realizar el:
fakeroot debian/rules binary
Me crea el .deb pero no me guarda las imagenes,iconos en la ruta
/usr/lib/python2.5/site-packages/
y al momento de instalarlo y ejecutarlo me lanza que no encuentra sus
imagenes y demas pero corre sin sus imagenes.
Esto puede ser un problema del debian/rules o el debian/control?
debian/control
===========================================
Source: pypaquete
Section: utils
Priority: optional
Maintainer: Alejandro <silentbluex_gmail_.com>
Build-Depends: debhelper (>= 7), python (>=2.5), python-support, quilt
Standards-Version: 3.8.3
Homepage: http://www.direccionweb.org
Package: pypaquete
Architecture: any
Depends: ${python:Depends}, python-wxgtk2.8, python-pysqlite2
XB-Python-Version: ${python:Versions}
Description: este es mi primer python paquete.
===================================
debian/rules
===================================
PREFIX := $(CURDIR)/debian/pypaquete
build: build-stamp
build-stamp:
dh_testdir
$(MAKE) -f /usr/share/quilt/quilt.make patch
python setup.py build
touch $@
clean:
dh_testdir
dh_testroot
rm -f build-stamp
$(MAKE) -f /usr/share/quilt/quilt.make unpatch
rm -rf $(CURDIR)/build
rm -rf wixi/*.pyc
python setup.py clean
dh_clean
install: build
dh_testdir
dh_testroot
dh_prep
dh_installdirs
python setup.py install --no-compile --root=debian/pypaquete
dh_install
binary-indep: build install
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_pysupport
dh_installman
dh_link
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
binary-arch: build install
dh_pysupport
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
===================================
Gracias,
Alejandro.
Reply to: