|
|
@ -29,7 +29,7 @@ import pkg_resources
|
|
|
|
|
|
|
|
|
|
|
|
def get_data_path(filename=''):
|
|
|
|
def get_data_path(filename=''):
|
|
|
|
"""Depending on the installation prefix, return the data dir."""
|
|
|
|
"""Depending on the installation prefix, return the data dir."""
|
|
|
|
source_path = pkg_resources.require('keymapper')[0].location
|
|
|
|
source_path = pkg_resources.require('key-mapper')[0].location
|
|
|
|
|
|
|
|
|
|
|
|
# depending on where this file is installed to, make sure to use the proper
|
|
|
|
# depending on where this file is installed to, make sure to use the proper
|
|
|
|
# prefix path for data
|
|
|
|
# prefix path for data
|
|
|
|