X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;ds=sidebyside;f=setup.py;h=8387afc971944abb86609c0d80ad7031d515204e;hb=HEAD;hp=dd33f2e91520c15c7e3f66c32087b3d6139337d0;hpb=dd9ae515904cb90cfa73297344a4bdcc6a066240;p=ejpi diff --git a/setup.py b/setup.py index dd33f2e..8387afc 100755 --- a/setup.py +++ b/setup.py @@ -29,15 +29,16 @@ from distutils.core import setup #]]] APP_NAME="ejpi" PRETTY_APP_NAME="e**(j pi) + 1 = 0" -VERSION="0.1.0" -BUILD=0 +VERSION="1.0.6" +BUILD="9" DESKTOP_FILE_PATH="/usr/share/applications" -INPUT_DESKTOP_FILE="data/harmattan/ejpi.desktop" -ICON_CATEGORY="hildon" -ICON_SIZES=[32,80] -#[[[end]]] +INPUT_DESKTOP_FILE="data/ubuntu/ejpi.desktop" +ICON_CATEGORY="apps" +ICON_SIZES=[32,48] +#[[[end]]] (checksum: fb3742cf699ff6d0e1aab0ec61d503e7) -CHANGES = """Switching from py2deb.py to sdist_maemo +CHANGES = """* Support for PySide +* XDG Support """.strip() BUGTRACKER_URL = "https://bugs.maemo.org/enter_bug.cgi?product=ejpi" @@ -88,11 +89,7 @@ setup( }, data_files=[ (DESKTOP_FILE_PATH, [INPUT_DESKTOP_FILE]), - ("/usr/share/icons/hicolor/26x26/%s" % ICON_CATEGORY, ["data/icons/26/%s.png" % APP_NAME]), - ("/usr/share/icons/hicolor/32x32/%s" % ICON_CATEGORY, ["data/icons/32/%s.png" % APP_NAME]), - ("/usr/share/icons/hicolor/48x48/%s" % ICON_CATEGORY, ["data/icons/48/%s.png" % APP_NAME]), - ("/usr/share/icons/hicolor/80x80/%s" % ICON_CATEGORY, ["data/icons/80/%s.png" % APP_NAME]), - ("/usr/share/icons/hicolor/scalable/%s" % ICON_CATEGORY, ["data/%s.svg" % APP_NAME]), + ("/usr/share/icons/hicolor/scalable/apps", ["data/%s.svg" % APP_NAME]), ] + [ ( @@ -103,6 +100,7 @@ setup( ], requires=[ "PySide", + "pyxdg", ], cmdclass={ 'sdist_ubuntu': sdist_maemo, @@ -117,7 +115,7 @@ setup( "copyright": "lgpl", "changelog": CHANGES, "buildversion": str(BUILD), - "depends": "python, python-pyside.qtcore, python-pyside.qtgui", + "depends": "python, python-pyside.qtcore, python-pyside.qtgui, python-xdg", "architecture": "any", }, "sdist_diablo": { @@ -130,7 +128,7 @@ setup( "copyright": "lgpl", "changelog": CHANGES, "buildversion": str(BUILD), - "depends": "python2.5, python2.5-qt4-core, python2.5-qt4-gui", + "depends": "python2.5, python2.5-qt4-core, python2.5-qt4-gui, python-xdg, python-simplejson", "architecture": "any", }, "sdist_fremantle": { @@ -143,7 +141,8 @@ setup( "copyright": "lgpl", "changelog": CHANGES, "buildversion": str(BUILD), - "depends": "python, python-pyside.qtcore, python-pyside.qtgui, python-pyside.qtmaemo5", + #"depends": "python2.5, python2.5-qt4-core, python2.5-qt4-gui, python2.5-qt4-maemo5, python-xdg", + "depends": "python, python-pyside.qtcore, python-pyside.qtgui, python-pyside.qtmaemo5, python-xdg, python-simplejson", "architecture": "any", }, "sdist_harmattan": { @@ -158,7 +157,7 @@ setup( "copyright": "lgpl", "changelog": CHANGES, "buildversion": str(BUILD), - "depends": "python, python-pyside.qtcore, python-pyside.qtgui", + "depends": "python, python-pyside.qtcore, python-pyside.qtgui, python-xdg", "architecture": "any", }, "bdist_rpm": {