Skip to content

Commit

Permalink
Housekeeping updates
Browse files Browse the repository at this point in the history
  • Loading branch information
vkottler committed Sep 13, 2023
1 parent 6547106 commit 9b5b956
Show file tree
Hide file tree
Showing 12 changed files with 649 additions and 595 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
system:
Expand Down Expand Up @@ -70,7 +68,7 @@ jobs:
- run: |
mk python-release owner=vkottler \
repo=vmklib version=1.10.5
repo=vmklib version=1.10.6
if: |
matrix.python-version == '3.11'
&& matrix.system == 'ubuntu-latest'
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ htmlcov
coverage*.xml
tags
mklocal
docs
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
=====================================
generator=datazen
version=3.1.2
hash=88bf2ea3b66818e76a080f80b80e5839
hash=da4d4c6d28f923c7af8cddbc7ef94455
=====================================
-->

# vmklib ([1.10.5](https://pypi.org/project/vmklib/))
# vmklib ([1.10.6](https://pypi.org/project/vmklib/))

[![python](https://img.shields.io/pypi/pyversions/vmklib.svg)](https://pypi.org/project/vmklib/)
![Build Status](https://github.com/vkottler/vmklib/workflows/Python%20Package/badge.svg)
Expand All @@ -29,8 +29,6 @@

This package is tested with the following Python minor versions:

* [`python3.8`](https://docs.python.org/3.8/)
* [`python3.9`](https://docs.python.org/3.9/)
* [`python3.10`](https://docs.python.org/3.10/)
* [`python3.11`](https://docs.python.org/3.11/)

Expand Down
1,190 changes: 626 additions & 564 deletions im/pydeps.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion local/configs/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ author_info:
email: "[email protected]"
username: "vkottler"

versions: ["3.8", "3.9", "3.10", "3.11"]
versions: ["3.10", "3.11"]

systems:
- macos-latest
Expand Down
2 changes: 1 addition & 1 deletion local/variables/package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
major: 1
minor: 10
patch: 5
patch: 6
entry: mk
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ build-backend = "setuptools.build_meta:__legacy__"

[project]
name = "vmklib"
version = "1.10.5"
version = "1.10.6"
description = "Simplify project workflows by standardizing use of GNU Make."
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.10"
license = {file = "LICENSE"}
keywords = [
"workflow",
Expand All @@ -22,8 +22,6 @@ maintainers = [
]
classifiers = [
"Topic :: Software Development :: Build Tools",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: Microsoft :: Windows",
Expand All @@ -46,6 +44,8 @@ test = [
"yamllint",
"yambs",
"vmklib",
"sphinx",
"sphinx-book-theme",
"pytest-asyncio",
"setuptools-wrapper"
]
Expand Down
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# =====================================
# generator=datazen
# version=3.1.2
# hash=c29553a5eb8c58f39d08f72dfa51d217
# hash=b10cdc2e4759a797bc0d36b525de6ade
# =====================================

"""
Expand All @@ -28,8 +28,6 @@
"version": VERSION,
"description": DESCRIPTION,
"versions": [
"3.8",
"3.9",
"3.10",
"3.11",
],
Expand Down
4 changes: 2 additions & 2 deletions vmklib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# =====================================
# generator=datazen
# version=3.1.2
# hash=79a57999c836bffe25c48570db6699ea
# hash=08161d666b1ba6755b8b52d5679ad51c
# =====================================

"""
Expand All @@ -10,4 +10,4 @@

DESCRIPTION = "Simplify project workflows by standardizing use of GNU Make."
PKG_NAME = "vmklib"
VERSION = "1.10.5"
VERSION = "1.10.6"
2 changes: 2 additions & 0 deletions vmklib/dev_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ isort
yamllint
yambs
vmklib
sphinx
sphinx-book-theme
pytest-asyncio
setuptools-wrapper
19 changes: 7 additions & 12 deletions vmklib/entry.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# =====================================
# generator=datazen
# version=3.1.2
# hash=334b3aaa0057809fb4013ea7760483a9
# hash=745689313e0947f30ccf35892bb72cd4
# =====================================

"""
Expand All @@ -10,12 +10,14 @@

# built-in
import argparse
import logging
import os
from pathlib import Path
import sys
from typing import List

# third-party
from vcorelib.logging import init_logging, logging_args

# internal
from vmklib import DESCRIPTION, VERSION
from vmklib.app import add_app_args, entry
Expand All @@ -38,12 +40,7 @@ def main(argv: List[str] = None) -> int:
action="version",
version=f"%(prog)s {VERSION}",
)
parser.add_argument(
"-v",
"--verbose",
action="store_true",
help="set to increase logging verbosity",
)
logging_args(parser)
parser.add_argument(
"-C",
"--dir",
Expand All @@ -63,10 +60,8 @@ def main(argv: List[str] = None) -> int:
args.dir = args.dir.resolve()

# initialize logging
log_level = logging.DEBUG if args.verbose else logging.INFO
logging.basicConfig(
level=log_level,
format="%(name)-36s - %(levelname)-6s - %(message)s",
init_logging(
args, default_format="%(name)-36s - %(levelname)-6s - %(message)s"
)

# change to the specified directory
Expand Down

0 comments on commit 9b5b956

Please sign in to comment.