Re: Best way to install images from the inside upstream source code tree

2014-12-22 Thread Piotr Ożarowski
[Josue Ortega, 2014-12-22]
 This causes the installation of the image files under:
 
   usr/lib/python2.7/dist-packages/glue/qt/icons/
 
 I want to know the best/correct way to install those files under:
  usr/share/

try¹ with --install-data=/usr/share/python-glue/
(and patch the module to use this directory, distutils/stuptools allows
to install data in a different directory, but doesn't inform module
where this new directory is... seriously)

[¹] if this doesn't work, patch setup.py as well (and send it upstream)
or override_dh_auto_install and move these files by hand
-- 
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl  www.griffith.cc   www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141222102152.gf4...@sts0.p1otr.com



Best way to install images from the inside upstream source code tree

2014-12-21 Thread Josue Ortega
Hi,

Currently I am packaging Glue[1], it uses PyQT for its UI. Upstream has placed
the images used in the UI inside the source code tree. e.g:

  glue/qt/icons/

Just to make it more clear, under the glue directory exists the upstream source 
code.

This causes the installation of the image files under:

  usr/lib/python2.7/dist-packages/glue/qt/icons/

I want to know the best/correct way to install those files under:
 usr/share/

Thanks

[1]: http://www.glueviz.org/en/stable/index.html

---
Josue Ortega
«Happy Hacking»
http://josueortega.org

signature.asc
Description: Digital signature