From 679ce285b4c8bfca8fb3a9de64d15929a81580da Mon Sep 17 00:00:00 2001 From: "Fredrick W. Warren" Date: Fri, 17 Apr 2026 19:29:20 -0400 Subject: [PATCH] further changes to go from wmdocklib to pywmdockapps --- pywmdockapps/__init__.py | 20 ++++++++++---------- pywmdockapps/pywmhelpers.py | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/pywmdockapps/__init__.py b/pywmdockapps/__init__.py index e4dca29..b07a75a 100644 --- a/pywmdockapps/__init__.py +++ b/pywmdockapps/__init__.py @@ -1,12 +1,12 @@ -"""\ -wmdocklib is a python module that will help you develop WindowMaker dockapps -in python. It is mostly a wrapper around the functions from the popular -wmgeneral.c, but some new functions are added too. - -to get help about a contained package, try: -help(wmdocklib.) """ -from .pywmgeneral import * -from .pywmhelpers import * +pywmdockapps is a python module that will help you develop WindowMaker dockapps +in python. It is a wrapper around the functions from wmgeneral.c. -__all__ = ['wmoo'] +To get help about a contained package, try: +help(pywmdockapps.) +""" +from .pywmgeneral import * from .pywmhelpers import * + +# __all__ controls what 'from pywmdockapps import *' pulls in. +# If you want users to see 'pywmgeneral' and 'pywmhelpers' too, add them here. +__all__ = ['wmoo', 'pywmgeneral', 'pywmhelpers'] diff --git a/pywmdockapps/pywmhelpers.py b/pywmdockapps/pywmhelpers.py index 89ae9dc..75d3375 100644 --- a/pywmdockapps/pywmhelpers.py +++ b/pywmdockapps/pywmhelpers.py @@ -33,7 +33,7 @@ charset_start = None charset_width = None pattern_start = None -import wmdocklib.pywmgeneral as pywmgeneral +from . import pywmgeneral defaultRGBFileList = [ '/etc/X11/rgb.txt', '/usr/lib/X11/rgb.txt',