1 files deleted
1 files added
2 files modified
73 ■■■■ changed files
.github/workflows/publish.yml 9 ●●●●● patch | view | raw | blame | history
docker_plugin_api/NetworkDriverEntities.py 10 ●●●●● patch | view | raw | blame | history
pyproject.toml 25 ●●●●● patch | view | raw | blame | history
setup.py 29 ●●●●● patch | view | raw | blame | history
.github/workflows/publish.yml
@@ -21,13 +21,16 @@
      - name: Install dependencies
        run: |
          pip install setuptools wheel twine
          python -m venv venv
          ./venv/bin/pip install build twine
      - name: Build package
        run: python setup.py sdist bdist_wheel
        run: |
          ./venv/bin/python -m build
      - name: Publish package
        env:
          TWINE_USERNAME: '__token__'
          TWINE_PASSWORD: '${{ secrets.PYPI_TOKEN }}'
        run: twine upload dist/*
        run:
          ./venv/bin/python -m twine upload dist/*
docker_plugin_api/NetworkDriverEntities.py
@@ -1,5 +1,13 @@
class GwAllocCheckEntity:
    def __init__(self, Options: dict = None):
        if Options is None:
            Options = {}
        self.Options = Options
class NetworkIpDataEntity:
    def __init__(self, AddressSpace: str, Pool: str, Gateway: str, AuxAddresses: dict = None):
    def __init__(self, AddressSpace: str, Pool: str, Gateway: str = None, AuxAddresses: dict = None):
        if AuxAddresses is None:
            AuxAddresses = {}
pyproject.toml
New file
@@ -0,0 +1,25 @@
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=80", "setuptools-scm>=8"]
[project]
name = "docker-plugin-api"
dynamic = ["version"]
authors = [
  { name="Jacek Kowalski", email="Jacek@jacekk.info"},
]
description = "Python interface to Docker Plugin API"
readme = "README.md"
requires-python = ">=3.9"
dependencies = ["Flask"]
classifiers = [
    "Intended Audience :: Developers",
    "Operating System :: OS Independent",
]
license = "BSD-3-Clause"
license-files = ["LICENSE"]
[project.urls]
Homepage = "https://github.com/jacekkow/docker-plugin-api"
[tool.setuptools_scm]
setup.py
File was deleted