diff --git a/python/MANIFEST.in b/python/MANIFEST.in index 2ba9f44..0585435 100644 --- a/python/MANIFEST.in +++ b/python/MANIFEST.in @@ -1 +1 @@ -include erc20_demurrage_token/data/* +include erc20_demurrage_token/data/* erc20_demurrage_token/data/config/*.ini diff --git a/python/erc20_demurrage_token/runnable/deploy.py b/python/erc20_demurrage_token/runnable/deploy.py index 579eba3..495a6e2 100644 --- a/python/erc20_demurrage_token/runnable/deploy.py +++ b/python/erc20_demurrage_token/runnable/deploy.py @@ -41,7 +41,7 @@ logg = logging.getLogger() script_dir = os.path.dirname(__file__) data_dir = os.path.join(script_dir, '..', 'data') -default_config_dir = os.environ.get('CONFINI_DIR', '/usr/local/share/sarafu-token') +default_config_dir = os.environ.get('CONFINI_DIR', os.path.join(data_dir, 'config')) argparser = argparse.ArgumentParser() argparser.add_argument('-c', '--config', dest='c', type=str, default=default_config_dir, help='configuration directory')