-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pyproject.toml: switch over the package build to pyproject.toml
This removes fastentrypoints.py and moves the dependency management to the pyproject.toml (for the usbsdmux package) or the Makefile for the packaging and qa jobs (just so we do not have any REQUIREMENTS.txt files anymore). Signed-off-by: Leonard Göhrs <[email protected]>
- Loading branch information
Showing
8 changed files
with
46 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
include COPYING | ||
include fastentrypoints.py | ||
graft contrib | ||
|
||
global-exclude .* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,42 @@ | ||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "usbsdmux" | ||
description = "Tool to control an USB-SD-Mux from the command line" | ||
version = "24.01.1" | ||
authors = [ | ||
{ name = "Chris Fiege", email = "[email protected]" }, | ||
] | ||
readme = "README.rst" | ||
license = { "text" = "LGPL-2.1-or-later" } | ||
dependencies = [] | ||
classifiers = [ | ||
"Environment :: Console", | ||
"Natural Language :: English", | ||
"Operating System :: Unix", | ||
"Programming Language :: Python :: 3 :: Only", | ||
] | ||
|
||
[project.optional-dependencies] | ||
mqtt = ["paho-mqtt"] | ||
|
||
[project.urls] | ||
homepage="https://github.com/linux-automation/usbsdmux" | ||
documentation="https://www.linux-automation.com/usbsdmux-M01/" | ||
|
||
[project.scripts] | ||
usbsdmux = "usbsdmux.__main__:main" | ||
usbsdmux-configure = "usbsdmux.usb2642eeprom:main" | ||
usbsdmux-service = "usbsdmux.service:main" | ||
|
||
[tool.setuptools] | ||
packages = [ | ||
"usbsdmux", | ||
] | ||
include-package-data = true | ||
|
||
[tool.ruff] | ||
line-length = 119 | ||
exclude = [ | ||
|