Verified Commit 3e6a2c47 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Switch from setuptools to flit

parent f7d815fc
Loading
Loading
Loading
Loading
−1
Changes for .pre-commit-config.yaml: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -39,7 +39,6 @@ repos:
  - id: check-for-squash
  - id: copyright-notice
    args: [--min-size=1]
    exclude: setup\.py
  - id: protect-first-parent

- repo: https://github.com/pre-commit/pygrep-hooks
+37 −2
Changes for pyproject.toml: 37 added lines, 2 removed lines.
Original line number Diff line number Diff line
[build-system]
requires = ["setuptools>=40.8.0", "wheel"]
build-backend = "setuptools.build_meta:__legacy__"
requires = ["flit_core ~=3.8"]
build-backend = "flit_core.buildapi"


[project]
name = "wpa-supplicant-client"
version = "0.3.0"
description = "A client package for connecting to, configuring and controlling wpa_supplicant daemons"
license = {file = "LICENCE.txt"}

authors = [
	{name = "Dom Sekotill", email = "dom.sekotill@kodo.org.uk"},
]

classifiers = [
	"Intended Audience :: Developers",
	"Operating System :: POSIX",
]

requires-python = "~=3.10"
dependencies = [
	"anyio ~=3.0",
]

[project.optional-dependencies]
test = [
	"trio <0.24",
]

[project.urls]
Repository = "https://code.kodo.org.uk/dom/wpa-supplicant-client"
Issues = "https://code.kodo.org.uk/dom/wpa-supplicant-client/-/issues"


[tool.flit.module]
name = "wpa_supplicant"


[tool.isort]
force_single_line = true
−143

File deleted.

−x−6

File deleted.

+1 −3
Changes for wpa_supplicant/__init__.py: 1 added line, 3 removed lines.
Original line number Diff line number Diff line
"""
Async control of WPA-Supplicant from a Python process

#  Copyright 2019-2021  Dom Sekotill <dom.sekotill@kodo.org.uk>
#  Copyright 2019-2021, 2024  Dom Sekotill <dom.sekotill@kodo.org.uk>
#
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
@@ -15,5 +15,3 @@ Async control of WPA-Supplicant from a Python process
#  See the License for the specific language governing permissions and
#  limitations under the License.
"""

__version__ = "0.3.0"