Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
python-version: [ "3.10", "3.11", "3.12", "3.13" ]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
9 changes: 3 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ VENV_ACTIVATE = . $(VENV_DIR)/bin/activate

venv: $(VENV_DIR)/bin/activate

$(VENV_DIR)/bin/activate: setup.cfg
$(VENV_DIR)/bin/activate: pyproject.toml
test -d $(VENV_DIR) || $(VENV_BIN) $(VENV_DIR)
$(VENV_ACTIVATE); pip install -e ".[dev]"
touch $(VENV_DIR)/bin/activate
Expand All @@ -23,17 +23,14 @@ clean-dist: clean
format:
$(VENV_ACTIVATE); python -m isort .; python -m black .

build: venv
$(VENV_ACTIVATE); python setup.py build

test: venv
$(VENV_ACTIVATE); python -m pytest

dist: venv
$(VENV_ACTIVATE); python setup.py sdist bdist_wheel
$(VENV_ACTIVATE); python -m build

install: venv
$(VENV_ACTIVATE); python setup.py install
$(VENV_ACTIVATE); pip install -e .

upload: venv test dist
$(VENV_ACTIVATE); pip install --upgrade twine; twine upload dist/*
Expand Down
2 changes: 1 addition & 1 deletion plux/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

name = "plux"

__version__ = "1.13.0"
__version__ = "1.14.0"

__all__ = [
"FunctionPlugin",
Expand Down
51 changes: 48 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,56 @@
# plux project configuration
[build-system]
requires = ['hatchling']
build-backend = "hatchling.build"

[project]
name = "plux"
authors = [
{ name = "Thomas Rausch", email = "info@localstack.cloud" }
]
description = "A dynamic code loading framework for building pluggable Python distributions"
readme = "README.md"
license = "Apache-2.0"
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities"
]
requires-python = ">=3.10"
dynamic = ["version"]

[project.urls]
Repository = "https://github.com/localstack/plux"

[project.optional-dependencies]
dev = [
"build",
"setuptools",
"pytest==8.4.1",
"black==25.1.0",
"isort==6.0.1",
]

[project.entry-points."distutils.commands"]
plugins = "plux.build.setuptools:plugins"

[project.entry-points."egg_info.writers"]
# this is actually not a writer, it's a reader :-)
"plux.json" = "plux.build.setuptools:load_plux_entrypoints"

[tool.hatch.version]
path = "plux/__init__.py"

[tool.black]
line_length = 100
include = '((plugin)/.*\.py$|(plux)/.*\.py$|tests/.*\.py$)'
#extend_exclude = '()'

[tool.isort]
profile = 'black'
#extend_skip = []
line_length = 100
56 changes: 0 additions & 56 deletions setup.cfg

This file was deleted.

4 changes: 0 additions & 4 deletions setup.py

This file was deleted.