kopia lustrzana https://github.com/ctjacobs/pyqso
Change to the case where there is no prefix given, since the Makefile does not pass in a prefix to setup.py.
rodzic
5e1bb61f32
commit
e042a65016
12
setup.py
12
setup.py
|
@ -21,17 +21,7 @@
|
||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
prefix = None
|
icon_files = [("icons", ["icons/log_64x64.png"])]
|
||||||
for i, arg in enumerate(sys.argv):
|
|
||||||
if("--prefix" in arg):
|
|
||||||
prefix = arg.split('=')[1]
|
|
||||||
|
|
||||||
icon_files = []
|
|
||||||
if(prefix is None):
|
|
||||||
icon_files.append(("icons", ["icons/log_64x64.png"]))
|
|
||||||
else:
|
|
||||||
icon_files.append((prefix + "/icons", ["icons/log_64x64.png"]))
|
|
||||||
|
|
||||||
setup(name='PyQSO',
|
setup(name='PyQSO',
|
||||||
version='0.1a.dev',
|
version='0.1a.dev',
|
||||||
description='A Python-based QSO logging tool',
|
description='A Python-based QSO logging tool',
|
||||||
|
|
Ładowanie…
Reference in New Issue