Fixed some bugs, updated how packages are handeled. Prepared on AUR publishing
All checks were successful
CI / test (push) Successful in 40s
All checks were successful
CI / test (push) Successful in 40s
This commit is contained in:
57
pyproject.toml
Normal file
57
pyproject.toml
Normal file
@@ -0,0 +1,57 @@
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "pi3-smart-workspace"
|
||||
version = "0.2.0"
|
||||
description = "Switch i3 workspaces based on which output your mouse cursor is on."
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.14"
|
||||
license = "Apache-2.0"
|
||||
authors = [
|
||||
{ name = "Asger Geel Weirsøe", email = "asger@weircon.dk" },
|
||||
]
|
||||
keywords = ["i3", "i3wm", "workspace", "multi-monitor", "x11"]
|
||||
classifiers = [
|
||||
"Development Status :: 4 - Beta",
|
||||
"Environment :: X11 Applications",
|
||||
"Intended Audience :: End Users/Desktop",
|
||||
"License :: OSI Approved :: Apache Software License",
|
||||
"Operating System :: POSIX :: Linux",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.14",
|
||||
"Topic :: Desktop Environment :: Window Managers",
|
||||
]
|
||||
dependencies = [
|
||||
"i3ipc>=2.2.1",
|
||||
"pynput>=1.7.6",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"pytest>=8.0",
|
||||
"build>=1.2",
|
||||
"twine>=5.0",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
pi3-smart-workspace = "pi3.smart_workspace:main"
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://gitea.weircon.dk/agw/pi3-smart-workspace"
|
||||
Issues = "https://gitea.weircon.dk/agw/pi3-smart-workspace/issues"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["pi3"]
|
||||
|
||||
[tool.hatch.build.targets.sdist]
|
||||
include = [
|
||||
"/pi3",
|
||||
"/tests",
|
||||
"/README.md",
|
||||
"/LICENSE",
|
||||
]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
Reference in New Issue
Block a user