1
0
mirror of https://github.com/gryf/linak-ctrl.git synced 2025-12-18 20:00:20 +01:00

Move from setup.cfg to pyproject.toml.

This commit is contained in:
2025-03-25 08:18:13 +01:00
parent 4ae101603e
commit ab18c7d90f
6 changed files with 46 additions and 41 deletions

3
.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
.venv
*.egg-info
build

43
pyproject.toml Normal file
View File

@@ -0,0 +1,43 @@
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "linak-ctrl"
version = "1.0.5"
requires-python = ">= 3.10"
description = "Control Linak powered desks using USB2LIN06 cable."
dependencies = [
"pyusb>=1.3.1"
]
readme = "README.rst"
authors = [
{name = "Roman Dobosz", email = "gryf73@gmail.com"}
]
license = {text = "BSD"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: BSD License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"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 :: System :: Networking"
]
[tool.setuptools]
py-modules = ["linak_ctrl"]
[project.urls]
Repository = "https://github.com/gryf/linak-ctrl"
[project.scripts]
linak-ctrl = "linak_ctrl:main"
[tool.distutils.bdist_wheel]
universal = true

View File

@@ -1,2 +0,0 @@
pbr
pyusb>=1.1.1

View File

@@ -1,35 +0,0 @@
[metadata]
name = linak-ctrl
summary = Control Linak powered desks using USB2LIN06 cable.
description-file = README.rst
author = Roman Dobosz
author-email = gryf73@gmail.com
home-page = https://github.com/gryf/linak-ctrl
license = BSD
classifier =
Development Status :: 5 - Production/Stable
Environment :: Console
Intended Audience :: End Users/Desktop
License :: OSI Approved :: BSD License
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Topic :: System :: Networking
[install]
record = install.log
[options.entry_points]
console_scripts =
linak-ctrl= linak_ctrl:main
[options]
packages = find:
install_requires =
pyusb
[bdist_wheel]
universal = 1

View File

@@ -1,4 +0,0 @@
import setuptools
setuptools.setup(setup_requires=['pbr>=2.0.0'], pbr=True)