2
0
Fork 0
Commit graph

126 commits

Author SHA1 Message Date
Lance Edgar 0b3db3cac0 bump: version 0.3.0 → 0.3.1 2024-06-14 17:33:47 -05:00
Lance Edgar f654906029 fix: fallback to importlib_metadata when loading entry points
since `pkg_resources` is deprecated for this purpose, per
https://setuptools.pypa.io/en/latest/pkg_resources.html
2024-06-14 17:27:22 -05:00
Lance Edgar 5802391382 build: show brief license, not full text 2024-06-10 16:06:01 -05:00
Lance Edgar 3e2901b0cd test: ignore import error in version module
our workaround for that seems to be okay, so should be easier to
ignore this instead of trying to rig up a special test
2024-06-10 15:04:53 -05:00
Lance Edgar 9dff672633 bump: version 0.2.1 → 0.3.0 2024-06-10 13:55:20 -05:00
Lance Edgar dbc3c8f9ca feat: use hatchling for package build backend 2024-06-10 13:55:06 -05:00
Lance Edgar 5204e81c00 build: parse version from pyproject.toml when building release 2024-06-10 13:42:59 -05:00
Lance Edgar b642f8d479 bump: version 0.2.0 → 0.2.1 2024-06-10 13:37:47 -05:00
Lance Edgar 2bfd65de3d fix: use importlib-metadata backport for older systems 2024-06-10 13:36:32 -05:00
Lance Edgar 9f5b36b49e bump: version 0.1.12 → 0.2.0 2024-06-10 13:32:29 -05:00
Lance Edgar 8a1ec6210c feat: replace setup.cfg with pyproject.toml
also move canonical version to pyproject.toml

still using setuptools as build backend for now
2024-06-10 13:32:03 -05:00
Lance Edgar ba1905b7ad Revert "Add support for python 3.12"
This reverts commit 07bc29c494.

probably 3.12 works fine, but for technical reasons the automated
tests don't work yet.  hoping once we drop 3.6 support then can get
the 3.12 tests working properly..
2024-05-31 14:03:02 -05:00
Lance Edgar 07bc29c494 Add support for python 3.12 2024-05-31 13:34:23 -05:00
Lance Edgar 1d7ee980d5 Update changelog 2024-05-28 22:58:07 -05:00
Lance Edgar 6777f02e06 Fix bug when default config paths do not exist
when fetching initial path listing, to create config object.  should
only affect situations where default file paths are needed, i.e. when
caller does not specify
2024-05-28 22:57:19 -05:00
Lance Edgar cd79f949d2 Update changelog 2024-05-15 14:25:25 -05:00
Lance Edgar a552e6c471 Raise AttributeError if no app provider has it
whoops, super().__getattr__() is not really defined
2024-05-15 14:22:45 -05:00
Lance Edgar 51d884ac8b Fix import for logging.config
with editable install, on python 3.8, i was getting errors which this fixes
2024-05-06 21:43:24 -05:00
Lance Edgar 97e9f535f9 Fix default dist filename for release task
not sure why this fix was needed, did setuptools behavior change?
2024-04-14 15:02:58 -05:00
Lance Edgar 0e611ca866 Update changelog 2024-04-14 15:00:46 -05:00
Lance Edgar 24a86ffeb4 Make WuttaConfig.get_list() return None by default
instead of empty list `[]`
2024-04-14 14:59:32 -05:00
Lance Edgar 16e9811816 Update changelog 2023-11-30 15:11:45 -06:00
Lance Edgar 49edece2f2 Fix test if local config file exists 2023-11-25 18:05:52 -06:00
Lance Edgar 485597e7b1 Avoid deprecation warning for ConfigParser 2023-11-25 17:07:51 -06:00
Lance Edgar d73ff274df Add generic handler base class, tests, docs 2023-11-25 16:28:37 -06:00
Lance Edgar 27a90b2a87 Update changelog 2023-11-24 23:20:49 -06:00
Lance Edgar 3a8bd1fce9 Add app providers, tests, docs 2023-11-24 23:11:26 -06:00
Lance Edgar 3cafa28ab9 Add link to coverage in main docs 2023-11-24 19:47:08 -06:00
Lance Edgar c983e0e5af Update changelog 2023-11-24 19:29:48 -06:00
Lance Edgar 64af49ffdf Add basic database docs 2023-11-24 19:14:48 -06:00
Lance Edgar b59e83907c Add config extension class, tests, docs 2023-11-24 18:45:10 -06:00
Lance Edgar f9f2bcc3d0 Add more install docs 2023-11-24 18:08:50 -06:00
Lance Edgar be1e73d7f0 Use ReST instead of markdown for README 2023-11-24 16:55:37 -06:00
Lance Edgar 9258d8b55a Add docs for settings table 2023-11-24 16:35:34 -06:00
Lance Edgar 4a7729a702 Add docs for handlers, app handler 2023-11-24 15:58:24 -06:00
Lance Edgar 6b110e567a Add docs for subcommands 2023-11-24 14:22:22 -06:00
Lance Edgar 8759fb8d37 Tweak docs for FileConfigTestCase 2023-11-22 21:48:18 -06:00
Lance Edgar af4c28b286 Add a large chunk of the docs for command line interface
will have to finish subcommands later
2023-11-22 21:40:26 -06:00
Lance Edgar 8a4438c725 Update changelog 2023-11-22 18:10:14 -06:00
Lance Edgar e2963403fe Add date-organize subcommand 2023-11-22 12:26:27 -06:00
Lance Edgar c3914738d5 Move cli framework to wuttjamaican.cmd subpackage
deprecate `wuttjamaican.commands`
2023-11-22 11:13:39 -06:00
Lance Edgar 37e42eebbc Update changelog 2023-11-22 09:32:46 -06:00
Lance Edgar 5c4dcb09f3 Add --stdout and --stderr args for base Command class
also refactor its `run()` method to allow more customizing ability
2023-11-22 09:11:36 -06:00
Lance Edgar 13472a5ab5 Add wutta make-appdir subcommand 2023-11-22 00:10:40 -06:00
Lance Edgar 5e971e4b0c Update changelog 2023-11-21 22:28:14 -06:00
Lance Edgar 1431555605 Allow factory override in make_config()
also add `winsvc` param for `get_config_paths()` to support
RattailFileMonitor service on windows
2023-11-21 22:25:45 -06:00
Lance Edgar ed6a5db452 Add Subcommand.make_arg_parser() method
split that out for clarity
2023-11-21 20:48:44 -06:00
Lance Edgar 4641e24afd Add narrative docs for app configuration 2023-11-21 18:27:29 -06:00
Lance Edgar f9a7b41f94 Update changelog 2023-11-21 14:43:08 -06:00
Lance Edgar 4ff83162e1 Must use "safe" top-level name for subcommand entry points 2023-11-21 14:16:36 -06:00