Skip to content

Commit

Permalink
removed versioning dependency
Browse files Browse the repository at this point in the history
Signed-off-by: Clemens Vasters <[email protected]>
  • Loading branch information
clemensv committed Sep 11, 2024
1 parent 7ae4604 commit 996e943
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 40 deletions.
3 changes: 1 addition & 2 deletions noaa/noaa/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from ._version import version as __version__, version_tuple as __version_tuple__
from .noaa import main

__all__ = ["__version__", "__version_tuple__", "main"]
__all__ = ["main"]

if __name__ == "__main__":
main()
56 changes: 19 additions & 37 deletions noaa/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,44 +1,26 @@
[build-system]
build-backend = "flit_scm:buildapi"
requires = ["flit_core>=3.2", "flit_scm", "wheel"]
requires = ["poetry-core>=1.1.0"]
build-backend = "poetry.core.masonry.api"

[project]
[tool.poetry]
name = "noaa"
dynamic = ["version"]
authors = [
{name = "Clemens Vasters", email = "[email protected]"}
]
version = "0.1.0"
description = "A project to fetch data from NOAA API"
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"requests>=2.32.3",
"confluent-kafka>=2.5.3",
"cloudevents>=1.11.0",
"dataclasses_json>=0.6.7",
"numpy>=2.1.1",
]
authors = ["Clemens Vasters <[email protected]>"]

[project.optional-dependencies]
test = [
"pytest>=8.3.2",
"pytest-cov>=5.0.0",
"testcontainers>=4.8.1",
"requests-mock>=1.12.1",
]
[tool.poetry.dependencies]
python = ">=3.8"
requests = ">=2.32.3"
confluent-kafka = ">=2.5.3"
cloudevents = ">=1.11.0"
dataclasses_json = ">=0.6.7"
numpy = ">=2.1.1"

[project.scripts]
noaa = "noaa:main"

[tool.setuptools_scm]
root = ".."
write_to = "noaa/noaa/_version.py"
[tool.poetry.dev-dependencies]
pytest = ">=8.3.2"
pytest-cov = ">=5.0.0"
testcontainers = ">=4.8.1"
requests-mock = ">=1.12.1"

[project.urls]
homepage = "https://github.com/clemensv/real-time-sources"
repository = "https://github.com/clemensv/real-time-sources"
[build-system.scripts]
noaa = "noaa:main"
1 change: 0 additions & 1 deletion pegelonline/pegelonline/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# __init.py__
from . import pegelonline
from ._version import __version__

if __name__ == "__main__":
pegelonline.main()

0 comments on commit 996e943

Please sign in to comment.