linux install works again

This commit is contained in:
Jeena 2014-08-21 23:16:16 +02:00
parent 9221429339
commit b644608f87

View file

@ -4,8 +4,7 @@ import os, PyQt4
from setuptools import setup from setuptools import setup
from sys import platform as _platform from sys import platform as _platform
VERSION = "0.1.1" VERSION = "0.1.2"
APP = ["feedthemonkey"]
files = [] files = []
options = {} options = {}
@ -16,8 +15,19 @@ is_win = os.name == "nt"
is_linux = not is_osx and not is_win is_linux = not is_osx and not is_win
if is_linux: if is_linux:
files += ('/usr/share/applications', ["feedthemonkey.desktop"]) setup(
files += ('/usr/share/pixmaps', ["feedthemonkey.xpm"]) name = "feedthemonkey",
version = VERSION,
author = "Jeena Paradies",
author_email = "spam@jeenaparadies.net",
url = "http://jabs.nu/feedthemonkey",
license = "BSD license",
scripts = ["feedthemonkey"],
data_files=[
('/usr/share/applications', ["feedthemonkey.desktop"]),
('/usr/share/pixmaps', ["feedthemonkey.xpm"])
]
)
if is_osx: if is_osx:
options = { options = {
@ -42,6 +52,7 @@ if is_osx:
} }
setup_requires = ["py2app"] setup_requires = ["py2app"]
APP = ["feedthemonkey"]
for dirname, dirnames, filenames in os.walk('.'): for dirname, dirnames, filenames in os.walk('.'):
for filename in filenames: for filename in filenames: