diff --git a/bert/utils.py b/bert/utils.py index 62c8c99..17eede7 100644 --- a/bert/utils.py +++ b/bert/utils.py @@ -227,12 +227,12 @@ def new_module(options: typing.Any) -> None: logger.info(f''' Run the new module with the following command: - PYTHONPATH='.' bert-runner.py -j sync_sounds -m {options.new_module} + bert-runner.py -j sync_sounds -m {options.new_module} ''') def show_how(options: typing.Any) -> None: logger.info(''' Run the new module with the following command: - PYTHONPATH='.' bert-runner.py -j -m + bert-runner.py -j -m ''') diff --git a/bin/bert-runner.py b/bin/bert-runner.py index d4689eb..0e7d196 100755 --- a/bin/bert-runner.py +++ b/bin/bert-runner.py @@ -1,10 +1,12 @@ #!/usr/bin/env python +import os import sys from bert import factory, utils if __name__ in ['__main__']: + sys.path.append(os.getcwd()) options = factory.capture_options() if options.how: utils.show_how(options) diff --git a/setup.py b/setup.py index 469641d..fa5cf7a 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ EXCLUDE_FROM_PACKAGES = ['bert.bin'] -version = '0.3.3' +version = '0.3.4' description = 'A microframework for simple ETL solutions' def read(fname):