linux install works again
This commit is contained in:
parent
9221429339
commit
b644608f87
1 changed files with 28 additions and 17 deletions
19
setup.py
19
setup.py
|
@ -4,8 +4,7 @@ import os, PyQt4
|
|||
from setuptools import setup
|
||||
from sys import platform as _platform
|
||||
|
||||
VERSION = "0.1.1"
|
||||
APP = ["feedthemonkey"]
|
||||
VERSION = "0.1.2"
|
||||
|
||||
files = []
|
||||
options = {}
|
||||
|
@ -16,8 +15,19 @@ is_win = os.name == "nt"
|
|||
is_linux = not is_osx and not is_win
|
||||
|
||||
if is_linux:
|
||||
files += ('/usr/share/applications', ["feedthemonkey.desktop"])
|
||||
files += ('/usr/share/pixmaps', ["feedthemonkey.xpm"])
|
||||
setup(
|
||||
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:
|
||||
options = {
|
||||
|
@ -42,6 +52,7 @@ if is_osx:
|
|||
}
|
||||
|
||||
setup_requires = ["py2app"]
|
||||
APP = ["feedthemonkey"]
|
||||
|
||||
for dirname, dirnames, filenames in os.walk('.'):
|
||||
for filename in filenames:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue