Skip to content

Commit 690c73c

Browse files
Copilotfabaff
andauthored
Migrate build system to hatchling (#11)
* chore: migrate build system from setuptools to hatchling Agent-Logs-Url: https://github.com/home-assistant-ecosystem/python-opensensemap-api/sessions/fc030584-4304-4abe-9cab-e798e765afa1 Co-authored-by: fabaff <116184+fabaff@users.noreply.github.com> * chore: remove accidentally committed dist artifacts Agent-Logs-Url: https://github.com/home-assistant-ecosystem/python-opensensemap-api/sessions/fc030584-4304-4abe-9cab-e798e765afa1 Co-authored-by: fabaff <116184+fabaff@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: fabaff <116184+fabaff@users.noreply.github.com>
1 parent a36a601 commit 690c73c

3 files changed

Lines changed: 35 additions & 45 deletions

File tree

MANIFEST.in

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

pyproject.toml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
[build-system]
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
4+
5+
[project]
6+
name = "opensensemap-api"
7+
version = "0.3.2"
8+
description = "Python client for interacting with the openSenseMap API."
9+
readme = "README.rst"
10+
license = "MIT"
11+
requires-python = ">=3.9"
12+
authors = [
13+
{ name = "Fabian Affolter", email = "fabian@affolter-engineering.ch" },
14+
]
15+
classifiers = [
16+
"Development Status :: 3 - Alpha",
17+
"Environment :: Console",
18+
"Intended Audience :: Developers",
19+
"License :: OSI Approved :: MIT License",
20+
"Operating System :: MacOS :: MacOS X",
21+
"Operating System :: Microsoft :: Windows",
22+
"Operating System :: POSIX",
23+
"Programming Language :: Python :: 3.9",
24+
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
26+
"Topic :: Utilities",
27+
]
28+
dependencies = [
29+
"aiohttp>=3.8.5,<4",
30+
"async_timeout>=4,<5",
31+
]
32+
33+
[project.urls]
34+
Homepage = "https://github.com/home-assistant-ecosystem/python-opensensemap-api"
35+
Download = "https://github.com/home-assistant-ecosystem/python-opensensemap-api/releases"

setup.py

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

0 commit comments

Comments
 (0)