diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..fca3774 --- /dev/null +++ b/pyproject.toml @@ -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}"] + diff --git a/requirements.txt b/requirements.txt index c999cbe..c63c133 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 \ No newline at end of file +freezegun +bumpver \ No newline at end of file diff --git a/src/open_irceline/__init__.py b/src/open_irceline/__init__.py index eae1097..ab90e55 100644 --- a/src/open_irceline/__init__.py +++ b/src/open_irceline/__init__.py @@ -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