Browse Source

revert back the location of the images directory. difference in build process between debian and ubuntu made some debian/rules magic a lot more complex

cfd
dkm 13 years ago
parent
commit
f324cd337a
  1. 2
      debian/python-igc2kmz.install
  2. 6
      debian/rules
  3. 0
      images/paraglider.png
  4. 0
      images/pixel.png
  5. 2
      setup.py

2
debian/python-igc2kmz.install

@ -1,2 +1,2 @@
debian/tmp/usr/lib/python*/*-packages/igc2kmz/*
debian/tmp/usr/share/python-igc2kmz/images/*

6
debian/rules

@ -17,9 +17,9 @@ binary-install/igc2kmz-cli::
mv debian/$(cdbs_curpkg)/usr/bin/leonardo2kmz.py debian/$(cdbs_curpkg)/usr/bin/leonardo2kmz
mv debian/$(cdbs_curpkg)/usr/bin/olc2gpx.py debian/$(cdbs_curpkg)/usr/bin/olc2gpx
binary-install/python-igc2kmz::
mkdir -p debian/$(cdbs_curpkg)/usr/share/$(cdbs_curpkg)/
mv debian/$(cdbs_curpkg)/usr/share/pyshared/igc2kmz/images debian/$(cdbs_curpkg)/usr/share/$(cdbs_curpkg)/
#binary-install/python-igc2kmz::
# mkdir -p debian/$(cdbs_curpkg)/usr/share/$(cdbs_curpkg)/
# mv debian/$(cdbs_curpkg)/usr/share/pyshared/igc2kmz/images debian/$(cdbs_curpkg)/usr/share/$(cdbs_curpkg)/
# $(patsubst %,install/%,$(cdbs_python_packages))
# mv debian/$(cdbs_curpkg)/usr/lib/python*/site-packages/igc2kmz/images debian/$(cdbs_curpkg)/usr/share/$(cdbs_curpkg)

0
igc2kmz/images/paraglider.png → images/paraglider.png

Before

Width:  |  Height:  |  Size: 325 B

After

Width:  |  Height:  |  Size: 325 B

0
igc2kmz/images/pixel.png → images/pixel.png

Before

Width:  |  Height:  |  Size: 107 B

After

Width:  |  Height:  |  Size: 107 B

2
setup.py

@ -35,6 +35,6 @@ setup (
"igc2task.py",
"leonardo2kmz.py",
"olc2gpx.py"]],
package_data={'igc2kmz': ['images/*']},
data_files=[('share/python-igc2kmz/images/', ['images/paraglider.png', 'images/pixel.png'])]
)

Loading…
Cancel
Save