Skip to content

Commit

Permalink
update conda in general update (#399)
Browse files Browse the repository at this point in the history
  • Loading branch information
lkstrp authored Oct 30, 2024
1 parent c1d5b79 commit cd922c3
Show file tree
Hide file tree
Showing 11 changed files with 79 additions and 126 deletions.
6 changes: 3 additions & 3 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ Major contributions until now from:
| | | * KIT Karlsruhe |
| | | * RLI Berlin |
+---------------+----------------------+-------------------------+
| 2019 - 2023 | Fabian Hofmann | * FIAS Frankfurt |
| 2019 - 2024 | Fabian Hofmann | * FIAS Frankfurt |
| | | * TU Berlin |
+---------------+----------------------+-------------------------+
| 2020 - 2023 | Fabian Neumann | * KIT Karlsruhe |
| 2020 - 2024 | Fabian Neumann | * KIT Karlsruhe |
| | | * TU Berlin |
+---------------+----------------------+-------------------------+
| 2019 - 2023 | Johannes Hampp | University Giessen |
| 2019 - 2024 | Johannes Hampp | University Giessen |
+---------------+----------------------+-------------------------+
| 2022 | Lukas Franken | University of Edinburgh |
+---------------+----------------------+-------------------------+
Expand Down
40 changes: 0 additions & 40 deletions environment.yaml

This file was deleted.

72 changes: 70 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,78 @@
# SPDX-License-Identifier: MIT

[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm>=6.2"]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"

[project]
name = "atlite"
dynamic = ["version"]
description = "Library for fetching and converting weather data to power systems data"
readme = "README.rst"
authors=[{name = "The Atlite Authors", email = "jonas.hoersch@posteo.de"}]
license = { file = "LICENSE" }
classifiers=[
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",

]
requires-python = ">=3.9"
dependencies = [
"numpy",
"scipy",
"pandas>=0.25",
"bottleneck",
"numexpr",
"xarray>=0.20",
"netcdf4",
"dask>=2021.10.0",
"toolz",
"requests",
"pyyaml",
"rasterio",
"shapely",
"progressbar2",
"tqdm",
"pyproj>=2",
"geopandas",
"cdsapi>=0.7.4",
]

[project.urls]
Homepage = "https://github.com/PyPSA/atlite"
Source = "https://github.com/PyPSA/atlite"
Documentation = "https://atlite.readthedocs.io/en/latest/"

[project.optional-dependencies]

dev = ["pre-commit", "pytest", "pytest-cov", "matplotlib", "ruff"]

docs = [
"numpydoc==1.8.0",
"sphinx==8.0.2",
"sphinx-book-theme==1.1.3",
"nbsphinx==0.9.5",
"nbsphinx-link==1.3.0",
"docutils==0.20", # Just temporarily until sphinx-docutils is updated (see https://github.com/sphinx-doc/sphinx/issues/12340)
]

# Setuptools_scm settings

[tool.setuptools_scm]
write_to = "atlite/version.py"
version_scheme = "no-guess-dev"

[tool.setuptools.packages.find]
include = ["atlite"]

# Formatter and linter settings

[tool.ruff]
extend-include = ['*.ipynb']
Expand Down
8 changes: 0 additions & 8 deletions setup.cfg

This file was deleted.

67 changes: 0 additions & 67 deletions setup.py

This file was deleted.

2 changes: 1 addition & 1 deletion test/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2016 - 2023 The Atlite Authors
# SPDX-FileCopyrightText: 2016 - 2024 The Atlite Authors
#
# SPDX-License-Identifier: MIT

Expand Down
2 changes: 1 addition & 1 deletion test/test_creation.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3

# SPDX-FileCopyrightText: 2021 - 2023 The Atlite Authors
# SPDX-FileCopyrightText: 2021 - 2024 The Atlite Authors
#
# SPDX-License-Identifier: MIT
"""
Expand Down
2 changes: 1 addition & 1 deletion test/test_dynamic_line_rating.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/vsr/bin/env python3

# SPDX-FileCopyrightText: 2021 - 2023 The Atlite Authors
# SPDX-FileCopyrightText: 2021 - 2024 The Atlite Authors
#
# SPDX-License-Identifier: MIT
"""
Expand Down
2 changes: 1 addition & 1 deletion test/test_gis.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3

# SPDX-FileCopyrightText: 2021 - 2023 The Atlite Authors
# SPDX-FileCopyrightText: 2021 - 2024 The Atlite Authors
#
# SPDX-License-Identifier: MIT
"""
Expand Down
2 changes: 1 addition & 1 deletion test/test_preparation_and_conversion.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3

# SPDX-FileCopyrightText: 2021 - 2023 The Atlite Authors
# SPDX-FileCopyrightText: 2021 - 2024 The Atlite Authors
#
# SPDX-License-Identifier: MIT
"""
Expand Down
2 changes: 1 addition & 1 deletion test/test_resource.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3

# SPDX-FileCopyrightText: 2021 - 2023 The Atlite Authors
# SPDX-FileCopyrightText: 2021 - 2024 The Atlite Authors
#
# SPDX-License-Identifier: MIT
"""
Expand Down

0 comments on commit cd922c3

Please sign in to comment.