mirror of
https://github.com/jdejaegh/python-irceline.git
synced 2025-06-26 19:35:40 +02:00
Setup for PyPI
This commit is contained in:
parent
d747655abd
commit
81e65f8493
3 changed files with 52 additions and 2 deletions
47
pyproject.toml
Normal file
47
pyproject.toml
Normal file
|
@ -0,0 +1,47 @@
|
|||
[build-system]
|
||||
requires = ["setuptools>=61.0.0", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
|
||||
[project]
|
||||
name = "open_irceline"
|
||||
version = "0.0.3"
|
||||
description = "Get IRCEL - CELINE air quality data"
|
||||
readme = "README.md"
|
||||
authors = [{ name = "Jules Dejaeghere", email = "curable.grass491@mailer.me" }]
|
||||
license = { file = "LICENSE" }
|
||||
classifiers = [
|
||||
"License :: OSI Approved :: Apache Software License",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 3",
|
||||
]
|
||||
keywords = ["air-quality", "air", "ircel", "celine", "irceline", "open-data", "opendata", "belgium"]
|
||||
dependencies = [
|
||||
"aiohttp>=3.9.5",
|
||||
"pyproj>=3.6.1",
|
||||
"async-timeout>=4.0.3"
|
||||
]
|
||||
requires-python = ">=3.11"
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://github.com/jdejaegh/python-irceline"
|
||||
|
||||
[tool.bumpver]
|
||||
current_version = "0.0.3"
|
||||
version_pattern = "MAJOR.MINOR.PATCH"
|
||||
commit_message = "bump version {old_version} -> {new_version}"
|
||||
tag_message = "{new_version}"
|
||||
tag_scope = "default"
|
||||
pre_commit_hook = ""
|
||||
post_commit_hook = ""
|
||||
commit = true
|
||||
tag = false
|
||||
push = false
|
||||
|
||||
[tool.bumpver.file_patterns]
|
||||
"pyproject.toml" = [
|
||||
'current_version = "{version}"',
|
||||
'version = "{version}"'
|
||||
]
|
||||
"src/open_irceline/__init__.py" = ["{version}"]
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
aiohttp==.3.9.5
|
||||
aiohttp==3.9.5
|
||||
pyproj==3.6.1
|
||||
pytest
|
||||
async-timeout==4.0.3
|
||||
pytest-asyncio==0.23.7
|
||||
freezegun
|
||||
freezegun
|
||||
bumpver
|
|
@ -1,5 +1,7 @@
|
|||
from pyproj import Transformer
|
||||
|
||||
__version__ = '0.0.3'
|
||||
|
||||
project_transform = Transformer.from_crs('EPSG:4326', 'EPSG:31370', always_xy=False)
|
||||
rio_wfs_base_url = 'https://geo.irceline.be/wfs'
|
||||
# noinspection HttpUrlsUsage
|
||||
|
|
Loading…
Add table
Reference in a new issue