Skip to content

Commit 8a39496

Browse files
committed
Add missing pyproject.toml file
1 parent 2c18ac4 commit 8a39496

2 files changed

Lines changed: 71 additions & 16 deletions

File tree

pyproject.toml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
[build-system]
2+
requires = ["setuptools>=61.0", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "galaxy.plugin.api"
7+
version = "0.71"
8+
description = "GOG Galaxy Integrations Python API"
9+
authors = [
10+
{name = "Galaxy team", email = "galaxy@gog.com"}
11+
]
12+
readme = "README.md"
13+
license-files = ["LICENSE"]
14+
requires-python = "~=3.13.0"
15+
classifiers = [
16+
"Development Status :: 4 - Beta",
17+
"Intended Audience :: Developers",
18+
"Programming Language :: Python :: 3",
19+
"Programming Language :: Python :: 3.13",
20+
"Topic :: Software Development :: Libraries :: Python Modules",
21+
]
22+
dependencies = [
23+
"aiohttp>=3.12.15",
24+
"certifi>=2025.8.3",
25+
"psutil>=5.6.6; sys_platform == 'darwin'"
26+
]
27+
28+
[project.optional-dependencies]
29+
dev = [
30+
"pytest==8.4.1",
31+
"pytest-asyncio==1.1.0",
32+
"pytest-mock==3.14.1",
33+
"pytest-mypy==1.0.1",
34+
"pytest-flakes==4.0.5",
35+
"types-certifi==2021.10.8.3",
36+
"setuptools==80.9.0",
37+
]
38+
39+
[tool.setuptools]
40+
package-dir = {"" = "src"}
41+
42+
[tool.setuptools.packages.find]
43+
where = ["src"]
44+
45+
[tool.pytest.ini_options]
46+
testpaths = ["tests"]
47+
python_files = ["test_*.py"]
48+
python_classes = ["Test*"]
49+
python_functions = ["test_*"]
50+
addopts = [
51+
"--strict-markers",
52+
"--strict-config",
53+
"--verbose",
54+
]
55+
56+
[tool.mypy]
57+
python_version = "3.13"
58+
warn_return_any = true
59+
warn_unused_configs = true
60+
disallow_untyped_defs = true
61+
disallow_incomplete_defs = true
62+
check_untyped_defs = true
63+
disallow_untyped_decorators = true
64+
no_implicit_optional = true
65+
warn_redundant_casts = true
66+
warn_unused_ignores = true
67+
warn_no_return = true
68+
warn_unreachable = true
69+
strict_equality = true

setup.py

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
1-
from setuptools import setup, find_packages
1+
from setuptools import setup
22

3-
setup(
4-
name="galaxy.plugin.api",
5-
version="0.70",
6-
description="GOG Galaxy Integrations Python API",
7-
author='Galaxy team',
8-
author_email='galaxy@gog.com',
9-
packages=find_packages("src"),
10-
package_dir={'': 'src'},
11-
python_requires="~=3.13.0", # This package working with Python 3.13.x embedded in GOG Galaxy 2.0
12-
install_requires=[
13-
"aiohttp>=3.12.15",
14-
"certifi>=2025.8.3",
15-
"psutil>=5.6.6; sys_platform == 'darwin'"
16-
]
17-
)
3+
setup()

0 commit comments

Comments
 (0)