rda-python-common 1.0.11__py3-none-any.whl → 1.0.14__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of rda-python-common might be problematic. Click here for more details.

@@ -541,6 +541,13 @@ def pgtrim(line, rmcmt = 1):
541
541
 
542
542
  return line
543
543
 
544
+ #
545
+ # set PGLOG['PUSGDIR'] from the program file with full path
546
+ #
547
+ def set_help_path(progfile):
548
+
549
+ PGLOG['PUSGDIR'] = op.dirname(op.abspath(progfile))
550
+
544
551
  #
545
552
  # Function: show_usage(progname: Perl program name to get file "progname.usg")
546
553
  #
@@ -549,7 +556,8 @@ def pgtrim(line, rmcmt = 1):
549
556
  #
550
557
  def show_usage(progname, opts = None):
551
558
 
552
- usgname = PGLOG['PUSGDIR'] + '/' + progname + '.usg'
559
+ usgname = join_paths(PGLOG['PUSGDIR'], progname + '.usg')
560
+
553
561
  if opts:
554
562
  # show usage for individual option of dsarch
555
563
  for opt in opts:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: rda_python_common
3
- Version: 1.0.11
3
+ Version: 1.0.14
4
4
  Summary: RDA Python common library codes shared by other RDA python packages
5
5
  Author-email: Zaihua Ji <zji@ucar.edu>
6
6
  Project-URL: Homepage, https://github.com/NCAR/rda-python-common
@@ -11,7 +11,6 @@ Classifier: Development Status :: 5 - Production/Stable
11
11
  Requires-Python: >=3.7
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
- Requires-Dist: psycopg2
15
14
 
16
15
  # rda-python-common
17
16
  Python common library codes to be shared by other RDA python utility programs.
@@ -1,15 +1,15 @@
1
1
  rda_python_common/PgCMD.py,sha256=dsFL_hiAHRZ-BwncgZhxQ7p9O10ox9lUSXOIePjZ-PQ,20487
2
2
  rda_python_common/PgDBI.py,sha256=kDawKAKDYr8jLWl1RAS-6fbZOPrLv7SMjvvi4bx_638,74286
3
3
  rda_python_common/PgFile.py,sha256=RSCnABv7jOLmalzkQJnvXe-VgP6OQl3boeL8-Ja9qfY,98379
4
- rda_python_common/PgLOG.py,sha256=dcIu6VTSYL9dvyyQfwuleqp52z6PMc1nEvtko_hSquM,53766
4
+ rda_python_common/PgLOG.py,sha256=oXG5FgairyPB5VFZTK7ycIJr-IJ7NGvJUbHJSkASKBU,53928
5
5
  rda_python_common/PgLock.py,sha256=12i84nsGBuifSyPnm8IR63LvHvRuVU573D5QKFlHdOI,22623
6
6
  rda_python_common/PgOPT.py,sha256=BAfuNi_1jEK-UyYVfPY_0f4b7KLhpcFM3BDShLRvT7w,55446
7
7
  rda_python_common/PgSIG.py,sha256=oDXcSnnzW6wKm_cSpFxQZWAo2hpPPTcuNDYhPSNQcRc,35607
8
8
  rda_python_common/PgSplit.py,sha256=QKPbF55m8KCTGmwVwL3uG_nuylCC4FSVfLuXeLjJHbE,8816
9
9
  rda_python_common/PgUtil.py,sha256=OpkNDwt694ebttNNUEDrrtDKyITZkx8g3uAI3b_FF4c,48737
10
10
  rda_python_common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
- rda_python_common-1.0.11.dist-info/LICENSE,sha256=1dck4EAQwv8QweDWCXDx-4Or0S8YwiCstaso_H57Pno,1097
12
- rda_python_common-1.0.11.dist-info/METADATA,sha256=itHhfPleKFy2py7YtIYIzoxgpRsPBHsVdN65ZNxnJKs,654
13
- rda_python_common-1.0.11.dist-info/WHEEL,sha256=nn6H5-ilmfVryoAQl3ZQ2l8SH5imPWFpm1A5FgEuFV4,91
14
- rda_python_common-1.0.11.dist-info/top_level.txt,sha256=KVQmx7D3DD-jsiheqL8HdTrRE14hpRnZY5_ioMArA5k,18
15
- rda_python_common-1.0.11.dist-info/RECORD,,
11
+ rda_python_common-1.0.14.dist-info/LICENSE,sha256=1dck4EAQwv8QweDWCXDx-4Or0S8YwiCstaso_H57Pno,1097
12
+ rda_python_common-1.0.14.dist-info/METADATA,sha256=Cwe4ZFH3cLDJPOi1a6-w13m9-FygXB7u7zvUn9QiPIE,630
13
+ rda_python_common-1.0.14.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
14
+ rda_python_common-1.0.14.dist-info/top_level.txt,sha256=KVQmx7D3DD-jsiheqL8HdTrRE14hpRnZY5_ioMArA5k,18
15
+ rda_python_common-1.0.14.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.1)
2
+ Generator: setuptools (76.0.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5