X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=setup.py;h=8387afc971944abb86609c0d80ad7031d515204e;hb=HEAD;hp=b2ae5b8d34b8396d761905785dc981ae496904e4;hpb=e74498470d0e9f5e0ab919efb707f1ab79f4093d;p=ejpi diff --git a/setup.py b/setup.py index b2ae5b8..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,6 +89,7 @@ setup( }, data_files=[ (DESKTOP_FILE_PATH, [INPUT_DESKTOP_FILE]), + ("/usr/share/icons/hicolor/scalable/apps", ["data/%s.svg" % APP_NAME]), ] + [ ( @@ -98,6 +100,7 @@ setup( ], requires=[ "PySide", + "pyxdg", ], cmdclass={ 'sdist_ubuntu': sdist_maemo, @@ -112,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": { @@ -125,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": { @@ -138,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": { @@ -153,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": {