Fix running from installation
This commit is contained in:
parent
a55dc687bf
commit
343761bd8c
@ -1,10 +1,11 @@
|
|||||||
SUBDIRS = chat browser shell
|
SUBDIRS = chat browser p2p shell
|
||||||
|
|
||||||
bin_SCRIPTS = sugar
|
bin_SCRIPTS = sugar
|
||||||
|
|
||||||
sugardir = $(pythondir)/sugar
|
sugardir = $(pythondir)/sugar
|
||||||
sugar_PYTHON = \
|
sugar_PYTHON = \
|
||||||
__init__.py \
|
__init__.py \
|
||||||
__installed__.py
|
__installed__.py \
|
||||||
|
env.py
|
||||||
|
|
||||||
EXTRA_DIST = sugar
|
EXTRA_DIST = sugar __uninstalled__.py
|
||||||
|
@ -1,2 +1,4 @@
|
|||||||
|
import os
|
||||||
|
|
||||||
def internal_get_data_file(filename):
|
def internal_get_data_file(filename):
|
||||||
return "@prefix@/share/sugar"
|
return os.path.join('@prefix@/share/sugar', filename)
|
||||||
|
Loading…
Reference in New Issue
Block a user