mirror of
https://github.com/gogcom/galaxy-integrations-python-api.git
synced 2026-01-29 17:11:15 -05:00
Add missing pyproject.toml file
This commit is contained in:
69
pyproject.toml
Normal file
69
pyproject.toml
Normal file
@@ -0,0 +1,69 @@
|
||||
[build-system]
|
||||
requires = ["setuptools>=61.0", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "galaxy.plugin.api"
|
||||
version = "0.71"
|
||||
description = "GOG Galaxy Integrations Python API"
|
||||
authors = [
|
||||
{name = "Galaxy team", email = "galaxy@gog.com"}
|
||||
]
|
||||
readme = "README.md"
|
||||
license-files = ["LICENSE"]
|
||||
requires-python = "~=3.13.0"
|
||||
classifiers = [
|
||||
"Development Status :: 4 - Beta",
|
||||
"Intended Audience :: Developers",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.13",
|
||||
"Topic :: Software Development :: Libraries :: Python Modules",
|
||||
]
|
||||
dependencies = [
|
||||
"aiohttp>=3.12.15",
|
||||
"certifi>=2025.8.3",
|
||||
"psutil>=5.6.6; sys_platform == 'darwin'"
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"pytest==8.4.1",
|
||||
"pytest-asyncio==1.1.0",
|
||||
"pytest-mock==3.14.1",
|
||||
"pytest-mypy==1.0.1",
|
||||
"pytest-flakes==4.0.5",
|
||||
"types-certifi==2021.10.8.3",
|
||||
"setuptools==80.9.0",
|
||||
]
|
||||
|
||||
[tool.setuptools]
|
||||
package-dir = {"" = "src"}
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["src"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
python_files = ["test_*.py"]
|
||||
python_classes = ["Test*"]
|
||||
python_functions = ["test_*"]
|
||||
addopts = [
|
||||
"--strict-markers",
|
||||
"--strict-config",
|
||||
"--verbose",
|
||||
]
|
||||
|
||||
[tool.mypy]
|
||||
python_version = "3.13"
|
||||
warn_return_any = true
|
||||
warn_unused_configs = true
|
||||
disallow_untyped_defs = true
|
||||
disallow_incomplete_defs = true
|
||||
check_untyped_defs = true
|
||||
disallow_untyped_decorators = true
|
||||
no_implicit_optional = true
|
||||
warn_redundant_casts = true
|
||||
warn_unused_ignores = true
|
||||
warn_no_return = true
|
||||
warn_unreachable = true
|
||||
strict_equality = true
|
||||
18
setup.py
18
setup.py
@@ -1,17 +1,3 @@
|
||||
from setuptools import setup, find_packages
|
||||
from setuptools import setup
|
||||
|
||||
setup(
|
||||
name="galaxy.plugin.api",
|
||||
version="0.70",
|
||||
description="GOG Galaxy Integrations Python API",
|
||||
author='Galaxy team',
|
||||
author_email='galaxy@gog.com',
|
||||
packages=find_packages("src"),
|
||||
package_dir={'': 'src'},
|
||||
python_requires="~=3.13.0", # This package working with Python 3.13.x embedded in GOG Galaxy 2.0
|
||||
install_requires=[
|
||||
"aiohttp>=3.12.15",
|
||||
"certifi>=2025.8.3",
|
||||
"psutil>=5.6.6; sys_platform == 'darwin'"
|
||||
]
|
||||
)
|
||||
setup()
|
||||
|
||||
Reference in New Issue
Block a user