Skip to content

Commit 82a45fb

Browse files
committed
Switch to pyproject.toml
1 parent 9001482 commit 82a45fb

File tree

4 files changed

+44
-57
lines changed

4 files changed

+44
-57
lines changed

.flake8

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[flake8]
2+
max-line-length = 120

pyproject.toml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
[project]
2+
name = "AutoHotkey.py"
3+
dynamic = ["version"]
4+
description = "Write AutoHotkey scripts in Python"
5+
readme = "README.md"
6+
license = {text = "BSD-3-Clause"}
7+
requires-python = ">= 3.7"
8+
authors = [{name = "Sviatoslav Abakumov", email = "[email protected]"}]
9+
classifiers = [
10+
"Development Status :: 4 - Beta",
11+
"Environment :: Console",
12+
"Intended Audience :: Developers",
13+
"License :: OSI Approved :: BSD License",
14+
"Operating System :: Microsoft :: Windows",
15+
"Programming Language :: Python :: 3",
16+
"Programming Language :: Python :: 3.7",
17+
"Programming Language :: Python :: 3.8",
18+
"Programming Language :: Python :: 3.9",
19+
"Programming Language :: Python :: 3.10",
20+
"Programming Language :: Python :: 3.11",
21+
"Programming Language :: Python :: Implementation :: CPython",
22+
]
23+
24+
[project.urls]
25+
Documentation = "https://ahkpy.readthedocs.io/en/latest/"
26+
Changelog = "https://github.com/Perlence/AutoHotkey.py/blob/master/CHANGES.md"
27+
"Source Code" = "https://github.com/Perlence/AutoHotkey.py"
28+
"Issue Tracker" = "https://github.com/Perlence/AutoHotkey.py/issues"
29+
30+
[project.scripts]
31+
ahkpy = "ahkpy.launcher:main"
32+
33+
[build-system]
34+
requires = ["setuptools"]
35+
build-backend = "setuptools.build_meta"
36+
37+
[tool.setuptools.dynamic]
38+
version = {attr = "ahkpy.__version__"}
39+
40+
[tool.pytest.ini_options]
41+
testpaths = ["tests"]
42+
addopts = ["-vv"]

setup.cfg

Lines changed: 0 additions & 47 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)