# HG changeset patch # User Henry S. Thompson # Date 1696079509 -3600 # Node ID 09019621f7909429a78434dc79c6f1a2258e47b6 # Parent 91e4ece4b9cd0d898d3359e3ca3f73c723fb4d13 importing in __init__ causes problems diff -r 91e4ece4b9cd -r 09019621f790 bin/sort_date.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/sort_date.sh Sat Sep 30 14:11:49 2023 +0100 @@ -0,0 +1,3 @@ +#!/bin/bash +export PYTHONPATH=$PYTHONPATH:/work/dc007/dc007/hst/lib/python/cc +python3 -m lmh.sort_date "$@" diff -r 91e4ece4b9cd -r 09019621f790 lib/python/cc/lmh/__init__.py --- a/lib/python/cc/lmh/__init__.py Fri Sep 29 15:59:34 2023 +0100 +++ b/lib/python/cc/lmh/__init__.py Sat Sep 30 14:11:49 2023 +0100 @@ -2,4 +2,5 @@ INITED = True -from .sort_date import cdx_key +# from .sort_date import cdx_key +# see https://stackoverflow.com/questions/43393764/python-3-6-project-structure-leads-to-runtimewarning