Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
- "docs/**"
- ".readthedocs.yaml"
- "pyproject.toml"
- "setup.cfg"
- "mypy.ini"
- "**/*.py"

concurrency:
Expand Down
9 changes: 3 additions & 6 deletions setup.cfg → mypy.ini
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
[metadata]
description_file = README.md

[mypy]
mypy_path = src/, typings/
exclude = build
strict = True

# Leverage type inference for function return type
disallow_untyped_calls=False
disallow_incomplete_defs=False
disallow_untyped_defs=False
disallow_untyped_calls = False
disallow_incomplete_defs = False
disallow_untyped_defs = False

# https://github.com/python/mypy/issues/8234 (post assert "type: ignore")
# https://github.com/python/mypy/issues/8823 (version specific "type: ignore")
Expand Down
26 changes: 13 additions & 13 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
[build-system]
requires = ["setuptools", "setuptools-scm"]
requires = ["setuptools>=77.0.3", "setuptools-scm"]
build-backend = "setuptools.build_meta"

[tool.setuptools.dynamic]
version = { attr = "pywinctl.__version__" } # any module attribute compatible with ast.literal_eval
Comment on lines +2 to +6

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Take a look at #105
If you decide that you prefer flit-core or uv-build, I could change it here now.


[project.urls]
Homepage = "https://github.com/Kalmat/PyWinCtl"
Repository = "https://github.com/Kalmat/PyWinCtl.git"
Issues = "https://github.com/Kalmat/PyWinCtl/issues"
Changelog = "https://github.com/Kalmat/PyWinCtl/blob/HEAD/CHANGES.txt"
Documentation = "https://pywinctl.readthedocs.io/"

[project]
name = "PyWinCtl"
dynamic = ["version"]
Expand All @@ -10,7 +20,8 @@ authors = [
{ name = "Kalmat", email = "palookjones@gmail.com" }
]
readme = "README.md"
license = { file = "LICENSE.txt" }
license = "BSD-3-Clause"
license-files = ["LICENSE.txt"]
requires-python = ">=3.9"
keywords = [
"activate",
Expand Down Expand Up @@ -42,7 +53,6 @@ classifiers = [
"Environment :: Win32 (MS Windows)",
"Environment :: X11 Applications",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
Expand Down Expand Up @@ -74,7 +84,6 @@ dev = [
"mypy>=0.990,<2",
"types-python-xlib>=0.32",
"types-pywin32>=305.0.0.3",
"types-setuptools>=65.5",
]

[tool.uv]
Expand All @@ -84,12 +93,3 @@ exclude-newer = "1 week"
ewmhlib = false
pymonctl = false
pywinbox = false

[project.urls]
Homepage = "https://github.com/Kalmat/PyWinCtl"

[tool.setuptools.packages.find]
where = ["src"] # list of folders that contain the packages (["."] by default)

[tool.setuptools.dynamic]
version = { attr = "pywinctl.__version__" } # any module attribute compatible with ast.literal_eval
68 changes: 0 additions & 68 deletions setup.py

This file was deleted.

30 changes: 0 additions & 30 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading