Skip to content

Commit cd922c3

Browse files
authored
update conda in general update (PyPSA#399)
1 parent c1d5b79 commit cd922c3

11 files changed

+79
-126
lines changed

AUTHORS.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ Major contributions until now from:
2222
| | | * KIT Karlsruhe |
2323
| | | * RLI Berlin |
2424
+---------------+----------------------+-------------------------+
25-
| 2019 - 2023 | Fabian Hofmann | * FIAS Frankfurt |
25+
| 2019 - 2024 | Fabian Hofmann | * FIAS Frankfurt |
2626
| | | * TU Berlin |
2727
+---------------+----------------------+-------------------------+
28-
| 2020 - 2023 | Fabian Neumann | * KIT Karlsruhe |
28+
| 2020 - 2024 | Fabian Neumann | * KIT Karlsruhe |
2929
| | | * TU Berlin |
3030
+---------------+----------------------+-------------------------+
31-
| 2019 - 2023 | Johannes Hampp | University Giessen |
31+
| 2019 - 2024 | Johannes Hampp | University Giessen |
3232
+---------------+----------------------+-------------------------+
3333
| 2022 | Lukas Franken | University of Edinburgh |
3434
+---------------+----------------------+-------------------------+

environment.yaml

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

pyproject.toml

Lines changed: 70 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,78 @@
33
# SPDX-License-Identifier: MIT
44

55
[build-system]
6-
requires = ["setuptools>=45", "wheel", "setuptools_scm>=6.2"]
6+
requires = ["setuptools>=64", "setuptools_scm>=8"]
7+
build-backend = "setuptools.build_meta"
8+
9+
[project]
10+
name = "atlite"
11+
dynamic = ["version"]
12+
description = "Library for fetching and converting weather data to power systems data"
13+
readme = "README.rst"
14+
authors=[{name = "The Atlite Authors", email = "[email protected]"}]
15+
license = { file = "LICENSE" }
16+
classifiers=[
17+
"Programming Language :: Python :: 3.9",
18+
"Programming Language :: Python :: 3.10",
19+
"Programming Language :: Python :: 3.11",
20+
"Programming Language :: Python :: 3.12",
21+
"Development Status :: 3 - Alpha",
22+
"Environment :: Console",
23+
"Intended Audience :: Science/Research",
24+
"License :: OSI Approved :: MIT License",
25+
"Natural Language :: English",
26+
"Operating System :: OS Independent",
27+
28+
]
29+
requires-python = ">=3.9"
30+
dependencies = [
31+
"numpy",
32+
"scipy",
33+
"pandas>=0.25",
34+
"bottleneck",
35+
"numexpr",
36+
"xarray>=0.20",
37+
"netcdf4",
38+
"dask>=2021.10.0",
39+
"toolz",
40+
"requests",
41+
"pyyaml",
42+
"rasterio",
43+
"shapely",
44+
"progressbar2",
45+
"tqdm",
46+
"pyproj>=2",
47+
"geopandas",
48+
"cdsapi>=0.7.4",
49+
]
50+
51+
[project.urls]
52+
Homepage = "https://github.com/PyPSA/atlite"
53+
Source = "https://github.com/PyPSA/atlite"
54+
Documentation = "https://atlite.readthedocs.io/en/latest/"
55+
56+
[project.optional-dependencies]
57+
58+
dev = ["pre-commit", "pytest", "pytest-cov", "matplotlib", "ruff"]
59+
60+
docs = [
61+
"numpydoc==1.8.0",
62+
"sphinx==8.0.2",
63+
"sphinx-book-theme==1.1.3",
64+
"nbsphinx==0.9.5",
65+
"nbsphinx-link==1.3.0",
66+
"docutils==0.20", # Just temporarily until sphinx-docutils is updated (see https://github.com/sphinx-doc/sphinx/issues/12340)
67+
]
68+
69+
# Setuptools_scm settings
770

871
[tool.setuptools_scm]
9-
write_to = "atlite/version.py"
72+
version_scheme = "no-guess-dev"
73+
74+
[tool.setuptools.packages.find]
75+
include = ["atlite"]
76+
77+
# Formatter and linter settings
1078

1179
[tool.ruff]
1280
extend-include = ['*.ipynb']

setup.cfg

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

setup.py

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

test/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: 2016 - 2023 The Atlite Authors
1+
# SPDX-FileCopyrightText: 2016 - 2024 The Atlite Authors
22
#
33
# SPDX-License-Identifier: MIT
44

test/test_creation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python3
22

3-
# SPDX-FileCopyrightText: 2021 - 2023 The Atlite Authors
3+
# SPDX-FileCopyrightText: 2021 - 2024 The Atlite Authors
44
#
55
# SPDX-License-Identifier: MIT
66
"""

test/test_dynamic_line_rating.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/vsr/bin/env python3
22

3-
# SPDX-FileCopyrightText: 2021 - 2023 The Atlite Authors
3+
# SPDX-FileCopyrightText: 2021 - 2024 The Atlite Authors
44
#
55
# SPDX-License-Identifier: MIT
66
"""

test/test_gis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python3
22

3-
# SPDX-FileCopyrightText: 2021 - 2023 The Atlite Authors
3+
# SPDX-FileCopyrightText: 2021 - 2024 The Atlite Authors
44
#
55
# SPDX-License-Identifier: MIT
66
"""

test/test_preparation_and_conversion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python3
22

3-
# SPDX-FileCopyrightText: 2021 - 2023 The Atlite Authors
3+
# SPDX-FileCopyrightText: 2021 - 2024 The Atlite Authors
44
#
55
# SPDX-License-Identifier: MIT
66
"""

0 commit comments

Comments
 (0)