Softcoded installation paths in setup.py
authorTobias Mueller <tobiasmue@gnome.org>
Sun, 19 Dec 2010 12:17:43 +0000 (17:47 +0530)
committerTobias Mueller <tobiasmue@gnome.org>
Mon, 20 Dec 2010 00:51:09 +0000 (06:21 +0530)
setup.py

index 3ac03fa..c8df241 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -7,12 +7,11 @@ setup(name='pwnitter',
        license='GPLv3+',
        description='Pwnitter hijacks Twitter accounts on the fly',
        long_description='''Pwnitter listens on traffic and tries to extract authentication data from Cookies and uses that to post an own message to Twitter''',
-       #FIXME: That installs to /scratchbox/ for whatever reason scripts=['pwnitter.py', 'pwnitter-gtk'],
-       data_files = [ # FIXME: Probably abstract /usr/
-                    ('/usr/share/pixmaps',             ['pwnitter_icon_26x26.png']),
-                    ('/usr/share/applications/hildon', ['pwnitter.desktop']),
-                    ('/usr/share/dbus-1/system-services', ['de.cryptobitch.muelli.Pwnitter.service']),
+       scripts=['pwnitter.py', 'pwnitter-gtk'],
+       data_files = [
+                    ('./share/pixmaps',             ['pwnitter_icon_26x26.png']),
+                    ('./share/applications/hildon', ['pwnitter.desktop']),
+                    ('./share/dbus-1/system-services', ['de.cryptobitch.muelli.Pwnitter.service']),
                     ('/etc/dbus-1/system.d', ['pwnitter-dbus.conf']),
-                    ('/usr/bin', ['pwnitter.py', 'pwnitter-gtk']),
                     ]
       )