diff --git a/apps/cli/executables/datafetcher/_version.py b/apps/cli/executables/datafetcher/_version.py new file mode 100644 index 0000000000000000000000000000000000000000..41dbad0d2dda23b541e627149276c445283d49a6 --- /dev/null +++ b/apps/cli/executables/datafetcher/_version.py @@ -0,0 +1,2 @@ +""" Version information for this package, don't put anything else here. """ +___version___ = '0.1.5' diff --git a/apps/cli/executables/datafetcher/setup.py b/apps/cli/executables/datafetcher/setup.py index e8f5d2cd3efe46b19b2242f400c81a5f7d995fb3..b2ed7352377e17daeb95b12b58548f0529746582 100644 --- a/apps/cli/executables/datafetcher/setup.py +++ b/apps/cli/executables/datafetcher/setup.py @@ -4,7 +4,7 @@ from pathlib import Path from setuptools import setup, find_packages -VERSION = open('src/datafetcher/_version.py').readlines()[-1].split()[-1].strip("\"'") +VERSION = open('_version.py').readlines()[-1].split()[-1].strip("\"'") README = Path('README.md').read_text() setup( diff --git a/apps/cli/executables/datafetcher/src/datafetcher/commands.py b/apps/cli/executables/datafetcher/src/datafetcher/commands.py index a39375f7b1ad6fd12d073123f4ff11dc3d6309e5..e8107449bcd41d079fee396db992f7c36f69f57f 100755 --- a/apps/cli/executables/datafetcher/src/datafetcher/commands.py +++ b/apps/cli/executables/datafetcher/src/datafetcher/commands.py @@ -16,9 +16,7 @@ from .utilities import get_arg_parser, get_capo_settings, FlexLogger class DataFetcher: ''' - TO EXECUTE ALL DF TESTS: - from data/: - python -m unittest discover -s apps/cli/executables/datafetcher -p '*_test.py' + TO EXECUTE ALL DF TESTS: from datafetcher/, just run pytest example command line that should work with the correct local profile: datafetcher --profile local --output-dir ~/Downloads/